Browse Source

1213

master
Dread 5 years ago
parent
commit
4705e8740c
  1. 2
      App.vue
  2. 38
      manifest.json

2
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();

38
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" : {},
/* 小程序特有相关 */

Loading…
Cancel
Save