chore: 更新配置以切换至生产环境并调整应用版本
- 将 BASE_URL 从开发服务器切换到生产域名
- 应用版本号从 1.0.5 升级至 1.0.6
- 移除 Android 和 iOS 的 schemes 配置
- 为 openinstall 插件分离 Android 和 iOS 的 APP_KEY 配置
| | |
| | | export default { |
| | | BASE_URL: 'http://192.168.110.188:48080', |
| | | // BASE_URL: 'https://haizhentong.com', |
| | | // BASE_URL: 'http://192.168.110.188:48080', |
| | | BASE_URL: 'https://haizhentong.com', |
| | | uploadUrl: "https://haizhentong.com/api/open/file/upload", |
| | | imageUrl: 'http://221.182.45.100:11224/images/' |
| | | }; |
| | |
| | | "name" : "海诊康道", |
| | | "appid" : "__UNI__1A90541", |
| | | "description" : "", |
| | | "versionName" : "1.0.5", |
| | | "versionCode" : 105, |
| | | "versionName" : "1.0.6", |
| | | "versionCode" : 106, |
| | | "transformPx" : false, |
| | | /* 5+App特有相关 */ |
| | | "app-plus" : { |
| | |
| | | "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>" |
| | | ], |
| | | "minSdkVersion" : 28, |
| | | "targetSdkVersion" : 30, |
| | | "schemes" : [ "ag8spw" ] |
| | | "targetSdkVersion" : 30 |
| | | }, |
| | | /* ios打包配置 */ |
| | | "ios" : { |
| | | "dSYMs" : false, |
| | | "schemes" : [ "ag8spw" ], |
| | | "capabilities" : { |
| | | "entitlements" : { |
| | | "com.apple.developer.associated-domains" : [ |
| | |
| | | } |
| | | }, |
| | | "openinstall-plugin" : { |
| | | "APP_KEY" : "ag8spw", |
| | | "APP_KEY_ANDROID" : "ag8spw", |
| | | "APP_KEY_IOS" : "ag8spw", |
| | | "__plugin_info__" : { |
| | | "name" : "openinstall", |
| | | "description" : "openinstall 一键拉起与免填邀请码插件", |
| | |
| | | "bought" : 1, |
| | | "pid" : "692", |
| | | "parameters" : { |
| | | "APP_KEY" : { |
| | | "des" : "openinstall 控制台分配的 AppKey", |
| | | "APP_KEY_ANDROID" : { |
| | | "des" : "[Android]openinstall 控制台分配的 AppKey", |
| | | "key" : "com.openinstall.APP_KEY", |
| | | "value" : "" |
| | | }, |
| | | "APP_KEY_IOS" : { |
| | | "des" : "[iOS]openinstall 控制台分配的 AppKey", |
| | | "key" : "com.openinstall.APP_KEY", |
| | | "value" : "" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "APP_KEY" : "ag8spw" |
| | | } |
| | | } |
| | | }, |