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