提交 e3d6da86 编写于 作者: DCloud_JSON's avatar DCloud_JSON

为迎合苹果App Store的规则,登陆与分享功能项显示之前自动检测是否安装了对应客户端。比如:设备未安装微信则不显示微信快捷登陆和微信分享选项。

上级 6a0dd700
...@@ -13,7 +13,7 @@ module.exports = function(){ ...@@ -13,7 +13,7 @@ module.exports = function(){
shell.echo('Error: Git add failed'); shell.echo('Error: Git add failed');
shell.exit(1); shell.exit(1);
} }
if (exec(`git commit -am "${changelog}"`).code !== 0) { if (exec(`git commit -a -m "${changelog}"`).code !== 0) {
shell.echo('Error: Git commit failed'); shell.echo('Error: Git commit failed');
shell.exit(1); shell.exit(1);
} }
......
{ {
"name" : "uni-starter", "name": "uni-starter",
"appid" : "__UNI__03B096E", "appid": "",
"description" : "云端一体应用快速开发模版", "description": "云端一体应用快速开发模版",
"versionName" : "1.0.0", "versionName": "1.0.0",
"versionCode" : "100", "versionCode": "100",
"transformPx" : false, "transformPx": false,
"app-plus" : { "app-plus": {
"privacy" : { "privacy": {
"prompt" : "template", "prompt": "template",
"template" : { "template": {
"title" : "服务协议和隐私政策", "title": "服务协议和隐私政策",
"message" : "  请你务必审慎阅读、充分理解“服务协议”和“隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。<br/>  你可阅读<a href=\"https://ask.dcloud.net.cn/protocol.html\">《服务协议》</a>和<a href=\"https://ask.dcloud.net.cn/protocol.html\">《隐私政策》</a>了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。", "message": "  请你务必审慎阅读、充分理解“服务协议”和“隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。<br/>  你可阅读<a href=\"https://ask.dcloud.net.cn/protocol.html\">《服务协议》</a>和<a href=\"https://ask.dcloud.net.cn/protocol.html\">《隐私政策》</a>了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。",
"buttonAccept" : "同意", "buttonAccept": "同意",
"buttonRefuse" : "暂不同意" "buttonRefuse": "暂不同意"
} }
}, },
"compatible" : { "compatible": {
"ignoreVersion" : true "ignoreVersion": true
}, },
"usingComponents" : true, "usingComponents": true,
"nvueStyleCompiler" : "uni-app", "nvueStyleCompiler": "uni-app",
"compilerVersion" : 3, "compilerVersion": 3,
"splashscreen" : { "splashscreen": {
"alwaysShowBeforeRender" : true, "alwaysShowBeforeRender": true,
"waiting" : true, "waiting": true,
"autoclose" : true, "autoclose": true,
"delay" : 0 "delay": 0
}, },
"modules" : { "modules": {
"Fingerprint" : {}, "Fingerprint": {
"Share" : {}, },
"Push" : {}, "Share": {
"OAuth" : {}, },
"FaceID" : {} "Push": {
}, },
"distribute" : { "OAuth": {
"android" : { },
"permissions" : [ "FaceID": {
}
},
"distribute": {
"android": {
"permissions": [
"<uses-feature android:name=\"android.hardware.camera\"/>", "<uses-feature android:name=\"android.hardware.camera\"/>",
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>", "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>", "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
...@@ -55,58 +60,70 @@ ...@@ -55,58 +60,70 @@
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>", "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>" "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
], ],
"abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ] "abiFilters": [
}, "armeabi-v7a",
"ios" : {}, "arm64-v8a",
"sdkConfigs" : { "x86"
"oauth" : { ]
"univerify" : {}, },
"apple" : {}, "ios": {
"weixin" : { },
"appid" : "wxffdd8fa6ec4ef2a0", "sdkConfigs": {
"appsecret" : "", "oauth": {
"UniversalLinks" : "" "univerify": {
},
"apple": {
},
"weixin": {
"appid": "wxffdd8fa6ec4ef2a0",
"appsecret": "",
"UniversalLinks": ""
} }
}, },
"ad" : {}, "ad": {
"share" : { },
"weixin" : { "share": {
"appid" : "wxffdd8fa6ec4ef2a0", "weixin": {
"UniversalLinks" : "" "appid": "wxffdd8fa6ec4ef2a0",
"UniversalLinks": ""
} }
}, },
"geolocation" : {}, "geolocation": {
"push" : {
"unipush" : {}
}, },
"payment" : {} "push": {
"unipush": {
} }
}, },
"nvueLaunchMode" : "" "payment": {
}
}
},
"nvueLaunchMode": ""
},
"quickapp": {
}, },
"quickapp" : {}, "mp-weixin": {
"mp-weixin" : { "appid": "",
"appid" : "", "setting": {
"setting" : { "urlCheck": false,
"urlCheck" : false, "es6": false
"es6" : false
}, },
"usingComponents" : true, "usingComponents": true,
"betterScopedSlots" : true "betterScopedSlots": true
}, },
"mp-alipay" : { "mp-alipay": {
"usingComponents" : true "usingComponents": true
}, },
"mp-baidu" : { "mp-baidu": {
"usingComponents" : true "usingComponents": true
}, },
"mp-toutiao" : { "mp-toutiao": {
"usingComponents" : true "usingComponents": true
}, },
"uniStatistics" : { "uniStatistics": {
"enable" : false "enable": false
}, },
"h5" : { "h5": {
"template" : "" "template": ""
} }
} }
\ No newline at end of file
...@@ -12,41 +12,41 @@ ...@@ -12,41 +12,41 @@
"tokenExpiresIn": 2592000, "tokenExpiresIn": 2592000,
"oauth": { "oauth": {
"weixin": { "weixin": {
"appid": "wxffdd8fa6ec4ef2a0", "appid": "",
"appsecret": "6c9119430d7be0a147bcbbb73ef33acf" "appsecret": ""
}, },
"apple": { "apple": {
"bundleId": "io.dcloud.hellouniapp" "bundleId": ""
} }
} }
}, },
"mp-weixin": { "mp-weixin": {
"oauth": { "oauth": {
"weixin": { "weixin": {
"appid": "wx81dbb061d2258234", "appid": "",
"appsecret": "73be6e8b8b31b7b0783fe448cc1fe820" "appsecret": ""
} }
} }
}, },
"mp-alipay": { "mp-alipay": {
"oauth": { "oauth": {
"alipay": { "alipay": {
"appid": "alipay appid", "appid": "",
"privateKey": "alipay privateKey" "privateKey": ""
} }
} }
}, },
"service": { "service": {
"sms": { "sms": {
"name": "DCloud", "name": "",
"codeExpiresIn": 300, "codeExpiresIn": 300,
"smsKey": "71a19f38c954f7d768d68a050486bf15", "smsKey": "",
"smsSecret": "d6c424b702d73baa3b6e1a1452469213" "smsSecret": ""
}, },
"univerify": { "univerify": {
"appid": "__UNI__03B096E", "appid": "",
"apiKey": "3fc28519d90d74173bcecf2daf4ffcc4", "apiKey": "",
"apiSecret": "dd793e5bc4b372ce932f35bbb4c5d61b" "apiSecret": ""
} }
} }
} }
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册