diff --git a/App.vue b/App.vue index 18625df..43f07fc 100644 --- a/App.vue +++ b/App.vue @@ -18,6 +18,8 @@ }, }, onLaunch: function() { + const clientInfo = plus.push.getClientInfo() + console.log(clientInfo,'APP的CID') // #ifdef APP-PLUS this.appVersion() this.getIp(); diff --git a/manifest.json b/manifest.json index cc19238..a89a17a 100644 --- a/manifest.json +++ b/manifest.json @@ -26,7 +26,8 @@ /* 模块配置 */ "modules" : { "FaceID" : {}, - "Fingerprint" : {} + "Fingerprint" : {}, + "Push" : {} }, /* 应用发布信息 */ "distribute" : { @@ -52,10 +53,19 @@ ] }, /* ios打包配置 */ - "ios" : {}, + "ios" : { + "privacyDescription" : { + "NSCameraUsageDescription" : "BitCooo requires camera permission", + "NSPhotoLibraryUsageDescription" : "BitCooo needs to use album permissions", + "NSPhotoLibraryAddUsageDescription" : "BitCooo needs to use album permissions" + } + }, /* SDK配置 */ "sdkConfigs" : { - "ad" : {} + "ad" : {}, + "push" : { + "unipush" : {} + } }, "icons" : { "android" : { @@ -100,6 +110,28 @@ } } }, + "locales":{ + "en": { // 英文 + "name": "BitCooo", // 应用名称 + "android": { + "strings": { //Android平台自定义字符串 + "CustomKey": "CustomValue" + //... + } + }, + "ios": { + "privacyDescription" : { + "NSCameraUsageDescription" : "BitCooo requires camera permission", + "NSPhotoLibraryUsageDescription" : "BitCooo needs to use album permissions", + "NSPhotoLibraryAddUsageDescription" : "BitCooo needs to use album permissions" + }, + "infoPlist": { //iOS平台自定义InfoPlist.strings + "CustomKey": "CustomValue" + //... + } + } + } + }, /* 快应用特有相关 */ "quickapp" : {}, /* 小程序特有相关 */