parent
8250f0b1a8
commit
6dc7d55f0a
|
|
@ -31,7 +31,7 @@
|
|||
"products": [
|
||||
{
|
||||
"name": "default",
|
||||
"signingConfig": "release",
|
||||
"signingConfig": "debug",
|
||||
"targetSdkVersion": "6.0.2(22)",
|
||||
"compatibleSdkVersion": "5.0.3(15)",
|
||||
"runtimeOS": "HarmonyOS",
|
||||
|
|
@ -43,12 +43,12 @@
|
|||
"arkOptions": {
|
||||
"buildProfileFields": {
|
||||
"CHANNEL": "harmony",
|
||||
"BUILD_TIME": "2605081054"
|
||||
"BUILD_TIME": "2605110927"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"artifactName": "rabbit_harmony_release_v1.0.0_2605081054"
|
||||
"artifactName": "rabbit_harmony_debug_v1.0.0_2605110927"
|
||||
}
|
||||
}
|
||||
],
|
||||
|
|
|
|||
|
|
@ -2,11 +2,11 @@
|
|||
* Use these variables when you tailor your ArkTS code. They must be of the const type.
|
||||
*/
|
||||
export const HAR_VERSION = '0.0.1';
|
||||
export const BUILD_MODE_NAME = 'release';
|
||||
export const DEBUG = false;
|
||||
export const BUILD_MODE_NAME = 'debug';
|
||||
export const DEBUG = true;
|
||||
export const TARGET_NAME = 'default';
|
||||
export const CHANNEL = 'harmony';
|
||||
export const BUILD_TIME = '2605081036';
|
||||
export const BUILD_TIME = '2605110926';
|
||||
|
||||
/**
|
||||
* BuildProfile Class is used only for compatibility purposes.
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ export async function openAppStore(context: common.UIAbilityContext) {
|
|||
// 1. 尝试直接拉起应用市场客户端
|
||||
const marketWant: Want = {
|
||||
action: 'ohos.want.action.appdetail',
|
||||
uri: `store://appgallery.huawei.com/app/detail?id=${bundleName}` // 替换为实际包名
|
||||
uri: `store://appgallery.huawei.com/app/detail?id=${bundleName}`
|
||||
};
|
||||
await context.startAbility(marketWant);
|
||||
} catch (err) {
|
||||
|
|
|
|||
|
|
@ -2,11 +2,11 @@
|
|||
* Use these variables when you tailor your ArkTS code. They must be of the const type.
|
||||
*/
|
||||
export const HAR_VERSION = '1.0.0';
|
||||
export const BUILD_MODE_NAME = 'release';
|
||||
export const DEBUG = false;
|
||||
export const BUILD_MODE_NAME = 'debug';
|
||||
export const DEBUG = true;
|
||||
export const TARGET_NAME = 'default';
|
||||
export const CHANNEL = 'harmony';
|
||||
export const BUILD_TIME = '2605081036';
|
||||
export const BUILD_TIME = '2605110926';
|
||||
|
||||
/**
|
||||
* BuildProfile Class is used only for compatibility purposes.
|
||||
|
|
|
|||
|
|
@ -2,11 +2,11 @@
|
|||
* Use these variables when you tailor your ArkTS code. They must be of the const type.
|
||||
*/
|
||||
export const HAR_VERSION = '0.0.1';
|
||||
export const BUILD_MODE_NAME = 'release';
|
||||
export const DEBUG = false;
|
||||
export const BUILD_MODE_NAME = 'debug';
|
||||
export const DEBUG = true;
|
||||
export const TARGET_NAME = 'default';
|
||||
export const CHANNEL = 'harmony';
|
||||
export const BUILD_TIME = '2605081036';
|
||||
export const BUILD_TIME = '2605110926';
|
||||
|
||||
/**
|
||||
* BuildProfile Class is used only for compatibility purposes.
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
{
|
||||
"name": "default",
|
||||
"output": {
|
||||
"artifactName": "rabbit_harmony_v1.0.0_26581054"
|
||||
"artifactName": "rabbit_harmony_v1.0.0_26511927"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ struct SplashScreenPage {
|
|||
Logger.info('Rabbit_SplashScreenPage', val === 'true'?'已同意协议,计时开始...':'未同意协议,需要弹窗展示协议');
|
||||
|
||||
if (val === 'true') {
|
||||
// --- 场景2:已同意过,直接进入 ---
|
||||
// ---已同意过,直接进入 ---
|
||||
this.agreeRun()
|
||||
} else {
|
||||
// 未同意,显示弹窗
|
||||
|
|
|
|||
Loading…
Reference in New Issue