更新安卓通知栏提示
This commit is contained in:
96
android/agconnect-services.json
Normal file
96
android/agconnect-services.json
Normal file
@@ -0,0 +1,96 @@
|
||||
{
|
||||
"agcgw": {
|
||||
"url": "connect-drcn.dbankcloud.cn",
|
||||
"backurl": "connect-drcn.hispace.hicloud.com",
|
||||
"websocketurl": "connect-ws-drcn.hispace.dbankcloud.cn",
|
||||
"websocketbackurl": "connect-ws-drcn.hispace.dbankcloud.com"
|
||||
},
|
||||
"agcgw_all": {
|
||||
"SG": "connect-dra.dbankcloud.cn",
|
||||
"SG_back": "connect-dra.hispace.hicloud.com",
|
||||
"CN": "connect-drcn.dbankcloud.cn",
|
||||
"CN_back": "connect-drcn.hispace.hicloud.com",
|
||||
"RU": "connect-drru.hispace.dbankcloud.ru",
|
||||
"RU_back": "connect-drru.hispace.dbankcloud.cn",
|
||||
"DE": "connect-dre.dbankcloud.cn",
|
||||
"DE_back": "connect-dre.hispace.hicloud.com"
|
||||
},
|
||||
"websocketgw_all": {
|
||||
"SG": "connect-ws-dra.hispace.dbankcloud.cn",
|
||||
"SG_back": "connect-ws-dra.hispace.dbankcloud.com",
|
||||
"CN": "connect-ws-drcn.hispace.dbankcloud.cn",
|
||||
"CN_back": "connect-ws-drcn.hispace.dbankcloud.com",
|
||||
"RU": "connect-ws-drru.hispace.dbankcloud.ru",
|
||||
"RU_back": "connect-ws-drru.hispace.dbankcloud.cn",
|
||||
"DE": "connect-ws-dre.hispace.dbankcloud.cn",
|
||||
"DE_back": "connect-ws-dre.hispace.dbankcloud.com"
|
||||
},
|
||||
"client": {
|
||||
"cp_id": "30086000818558366",
|
||||
"product_id": "461323198430218911",
|
||||
"client_id": "1752291009686950144",
|
||||
"client_secret": "2D92A4B951C2B074A5234F598A0E44013881695DBA64641CE8DC3C634D34F9A0",
|
||||
"project_id": "461323198430218911",
|
||||
"app_id": "112547949",
|
||||
"api_key": "DgEDACTa5j3V2cs2rlYwcsYwsuVj29t4cw4JDcBeRG1H3YurPML3W8D5iS6whNQPnwpZTrvPZiGoRF9bDVvi/hDJSJZp+/D+T71/lw==",
|
||||
"package_name": "com.taihe.mianhuatang"
|
||||
},
|
||||
"oauth_client": {
|
||||
"client_id": "112547949",
|
||||
"client_type": 1
|
||||
},
|
||||
"app_info": {
|
||||
"app_id": "112547949",
|
||||
"package_name": "com.taihe.mianhuatang"
|
||||
},
|
||||
"service": {
|
||||
"analytics": {
|
||||
"collector_url": "datacollector-drcn.dt.hicloud.com,datacollector-drcn.dt.dbankcloud.cn",
|
||||
"collector_url_cn": "datacollector-drcn.dt.hicloud.com,datacollector-drcn.dt.dbankcloud.cn",
|
||||
"collector_url_de": "datacollector-dre.dt.hicloud.com,datacollector-dre.dt.dbankcloud.cn",
|
||||
"collector_url_ru": "datacollector-drru.dt.dbankcloud.ru,datacollector-drru.dt.hicloud.com",
|
||||
"collector_url_sg": "datacollector-dra.dt.hicloud.com,datacollector-dra.dt.dbankcloud.cn",
|
||||
"resource_id": "p1",
|
||||
"channel_id": ""
|
||||
},
|
||||
"ml": {
|
||||
"mlservice_url": "ml-api-drcn.ai.dbankcloud.com,ml-api-drcn.ai.dbankcloud.cn"
|
||||
},
|
||||
"cloudstorage": {
|
||||
"storage_url": "https://agc-storage-drcn.platform.dbankcloud.cn",
|
||||
"storage_url_ru": "https://agc-storage-drru.cloud.huawei.ru",
|
||||
"storage_url_sg": "https://ops-dra.agcstorage.link",
|
||||
"storage_url_de": "https://ops-dre.agcstorage.link",
|
||||
"storage_url_cn": "https://agc-storage-drcn.platform.dbankcloud.cn",
|
||||
"storage_url_ru_back": "https://agc-storage-drru.cloud.huawei.ru",
|
||||
"storage_url_sg_back": "https://agc-storage-dra.cloud.huawei.asia",
|
||||
"storage_url_de_back": "https://agc-storage-dre.cloud.huawei.eu",
|
||||
"storage_url_cn_back": "https://agc-storage-drcn.cloud.huawei.com.cn"
|
||||
},
|
||||
"search": {
|
||||
"url": "https://search-drcn.cloud.huawei.com"
|
||||
},
|
||||
"edukit": {
|
||||
"edu_url": "edukit.cloud.huawei.com.cn",
|
||||
"dh_url": "edukit.cloud.huawei.com.cn"
|
||||
}
|
||||
},
|
||||
"region": "CN",
|
||||
"configuration_version": "3.0",
|
||||
"appInfos": [
|
||||
{
|
||||
"package_name": "com.taihe.mianhuatang",
|
||||
"client": {
|
||||
"app_id": "112547949"
|
||||
},
|
||||
"app_info": {
|
||||
"package_name": "com.taihe.mianhuatang",
|
||||
"app_id": "112547949"
|
||||
},
|
||||
"oauth_client": {
|
||||
"client_type": 1,
|
||||
"client_id": "112547949"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
96
android/app/agconnect-services.json
Normal file
96
android/app/agconnect-services.json
Normal file
@@ -0,0 +1,96 @@
|
||||
{
|
||||
"agcgw": {
|
||||
"url": "connect-drcn.dbankcloud.cn",
|
||||
"backurl": "connect-drcn.hispace.hicloud.com",
|
||||
"websocketurl": "connect-ws-drcn.hispace.dbankcloud.cn",
|
||||
"websocketbackurl": "connect-ws-drcn.hispace.dbankcloud.com"
|
||||
},
|
||||
"agcgw_all": {
|
||||
"SG": "connect-dra.dbankcloud.cn",
|
||||
"SG_back": "connect-dra.hispace.hicloud.com",
|
||||
"CN": "connect-drcn.dbankcloud.cn",
|
||||
"CN_back": "connect-drcn.hispace.hicloud.com",
|
||||
"RU": "connect-drru.hispace.dbankcloud.ru",
|
||||
"RU_back": "connect-drru.hispace.dbankcloud.cn",
|
||||
"DE": "connect-dre.dbankcloud.cn",
|
||||
"DE_back": "connect-dre.hispace.hicloud.com"
|
||||
},
|
||||
"websocketgw_all": {
|
||||
"SG": "connect-ws-dra.hispace.dbankcloud.cn",
|
||||
"SG_back": "connect-ws-dra.hispace.dbankcloud.com",
|
||||
"CN": "connect-ws-drcn.hispace.dbankcloud.cn",
|
||||
"CN_back": "connect-ws-drcn.hispace.dbankcloud.com",
|
||||
"RU": "connect-ws-drru.hispace.dbankcloud.ru",
|
||||
"RU_back": "connect-ws-drru.hispace.dbankcloud.cn",
|
||||
"DE": "connect-ws-dre.hispace.dbankcloud.cn",
|
||||
"DE_back": "connect-ws-dre.hispace.dbankcloud.com"
|
||||
},
|
||||
"client": {
|
||||
"cp_id": "30086000818558366",
|
||||
"product_id": "461323198430218911",
|
||||
"client_id": "1752291009686950144",
|
||||
"client_secret": "2D92A4B951C2B074A5234F598A0E44013881695DBA64641CE8DC3C634D34F9A0",
|
||||
"project_id": "461323198430218911",
|
||||
"app_id": "112547949",
|
||||
"api_key": "DgEDACTa5j3V2cs2rlYwcsYwsuVj29t4cw4JDcBeRG1H3YurPML3W8D5iS6whNQPnwpZTrvPZiGoRF9bDVvi/hDJSJZp+/D+T71/lw==",
|
||||
"package_name": "com.taihe.mianhuatang"
|
||||
},
|
||||
"oauth_client": {
|
||||
"client_id": "112547949",
|
||||
"client_type": 1
|
||||
},
|
||||
"app_info": {
|
||||
"app_id": "112547949",
|
||||
"package_name": "com.taihe.mianhuatang"
|
||||
},
|
||||
"service": {
|
||||
"analytics": {
|
||||
"collector_url": "datacollector-drcn.dt.hicloud.com,datacollector-drcn.dt.dbankcloud.cn",
|
||||
"collector_url_cn": "datacollector-drcn.dt.hicloud.com,datacollector-drcn.dt.dbankcloud.cn",
|
||||
"collector_url_de": "datacollector-dre.dt.hicloud.com,datacollector-dre.dt.dbankcloud.cn",
|
||||
"collector_url_ru": "datacollector-drru.dt.dbankcloud.ru,datacollector-drru.dt.hicloud.com",
|
||||
"collector_url_sg": "datacollector-dra.dt.hicloud.com,datacollector-dra.dt.dbankcloud.cn",
|
||||
"resource_id": "p1",
|
||||
"channel_id": ""
|
||||
},
|
||||
"ml": {
|
||||
"mlservice_url": "ml-api-drcn.ai.dbankcloud.com,ml-api-drcn.ai.dbankcloud.cn"
|
||||
},
|
||||
"cloudstorage": {
|
||||
"storage_url": "https://agc-storage-drcn.platform.dbankcloud.cn",
|
||||
"storage_url_ru": "https://agc-storage-drru.cloud.huawei.ru",
|
||||
"storage_url_sg": "https://ops-dra.agcstorage.link",
|
||||
"storage_url_de": "https://ops-dre.agcstorage.link",
|
||||
"storage_url_cn": "https://agc-storage-drcn.platform.dbankcloud.cn",
|
||||
"storage_url_ru_back": "https://agc-storage-drru.cloud.huawei.ru",
|
||||
"storage_url_sg_back": "https://agc-storage-dra.cloud.huawei.asia",
|
||||
"storage_url_de_back": "https://agc-storage-dre.cloud.huawei.eu",
|
||||
"storage_url_cn_back": "https://agc-storage-drcn.cloud.huawei.com.cn"
|
||||
},
|
||||
"search": {
|
||||
"url": "https://search-drcn.cloud.huawei.com"
|
||||
},
|
||||
"edukit": {
|
||||
"edu_url": "edukit.cloud.huawei.com.cn",
|
||||
"dh_url": "edukit.cloud.huawei.com.cn"
|
||||
}
|
||||
},
|
||||
"region": "CN",
|
||||
"configuration_version": "3.0",
|
||||
"appInfos": [
|
||||
{
|
||||
"package_name": "com.taihe.mianhuatang",
|
||||
"client": {
|
||||
"app_id": "112547949"
|
||||
},
|
||||
"app_info": {
|
||||
"package_name": "com.taihe.mianhuatang",
|
||||
"app_id": "112547949"
|
||||
},
|
||||
"oauth_client": {
|
||||
"client_type": 1,
|
||||
"client_id": "112547949"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -4,6 +4,8 @@ plugins {
|
||||
// The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
|
||||
id "dev.flutter.flutter-gradle-plugin"
|
||||
}
|
||||
//打包太和e护需要屏蔽这个插件
|
||||
apply plugin: 'com.huawei.agconnect'
|
||||
|
||||
def localProperties = new Properties()
|
||||
def localPropertiesFile = rootProject.file("local.properties")
|
||||
@@ -36,8 +38,8 @@ if (flutterVersionName == null) {
|
||||
}
|
||||
|
||||
android {
|
||||
namespace = "com.taihe.vbvs_app"
|
||||
// namespace = "com.taihe.mianhuatang"
|
||||
// namespace = "com.taihe.vbvs_app"
|
||||
namespace = "com.taihe.mianhuatang"
|
||||
// compileSdk = flutter.compileSdkVersion
|
||||
compileSdk = localProperties.getProperty('flutter.compileSdkVersion').toInteger()
|
||||
|
||||
@@ -56,8 +58,8 @@ android {
|
||||
|
||||
defaultConfig {
|
||||
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
|
||||
applicationId "com.taihe.vbvs_app"
|
||||
// applicationId "com.taihe.mianhuatang"
|
||||
// applicationId "com.taihe.vbvs_app"
|
||||
applicationId "com.taihe.mianhuatang"
|
||||
// You can update the following values to match your application needs.
|
||||
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
|
||||
// minSdk = flutter.minSdkVersion
|
||||
@@ -66,6 +68,27 @@ android {
|
||||
targetSdk = localProperties.getProperty('flutter.targetSdkVersion').toInteger()
|
||||
versionCode = flutterVersionCode.toInteger()
|
||||
versionName = flutterVersionName
|
||||
|
||||
ndk {
|
||||
//选择要添加的对应 cpu 类型的 .so 库。
|
||||
abiFilters 'armeabi', 'armeabi-v7a', 'x86', 'x86_64', 'mips', 'mips64', 'arm64-v8a'
|
||||
}
|
||||
|
||||
manifestPlaceholders = [
|
||||
JPUSH_PKGNAME : "com.taihe.mianhuatang",
|
||||
JPUSH_APPKEY : "ef31d487137311ed3d63ea7d", // NOTE: JPush 上注册的包名对应的 Appkey.
|
||||
JPUSH_CHANNEL : "developer-default", //暂时填写默认值即可.
|
||||
XIAOMI_APPKEY : "MI-5152036593702", // 小米平台注册的appkey,注意不要将前缀去掉 MI-appkey
|
||||
XIAOMI_APPID : "MI-2882303761520365702", // 小米平台注册的appid,注意不要将前缀去掉 MI-appid
|
||||
VIVO_APPKEY : "a296a05be8eca520e4d44b0c6495353f",
|
||||
VIVO_APPID : "105824696",
|
||||
HONOR_APPID : "900905976",
|
||||
OPPO_APPKEY : "OP-5233131f213a440dbdb74eb1552b9dee", // OPPO平台注册的appkey
|
||||
OPPO_APPID : "OP-32509325", // OPPO平台注册的appid
|
||||
OPPO_APPSECRET: "OP-ba89d834fa4248318074dd19d2f1ac92"//OPPO平台注册的appsecret
|
||||
]
|
||||
|
||||
resValue "string", "applicationName", "com.taihe.mianhuatang.MyApplication"
|
||||
}
|
||||
|
||||
signingConfigs {
|
||||
@@ -107,3 +130,40 @@ static def releaseTime() {
|
||||
flutter {
|
||||
source = "../.."
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// implementation fileTree(dir: "libs", include: ["*.jar", "*.aar"])
|
||||
// 此处以JPush 5.6.0 版本为例,注意:从 5.0.0 版本开始可以自动拉取 JCore 包,无需另外配置
|
||||
implementation 'cn.jiguang.sdk:jpush:5.6.0'
|
||||
|
||||
//若不集成厂商通道,可直接跳过以下依赖
|
||||
// 极光厂商插件版本与接入 JPush 版本保持一致,下同
|
||||
// 接入华为厂商
|
||||
implementation 'com.huawei.hms:push:6.13.0.300'
|
||||
implementation 'cn.jiguang.sdk.plugin:huawei:5.6.0'
|
||||
|
||||
// 接入 FCM 厂商
|
||||
implementation 'com.google.firebase:firebase-messaging:24.1.0'
|
||||
implementation 'cn.jiguang.sdk.plugin:fcm:5.6.0'
|
||||
|
||||
// 接入 VIVO 厂商
|
||||
implementation 'cn.jiguang.sdk.plugin:vivo:5.6.0'
|
||||
|
||||
|
||||
// 接入小米厂商
|
||||
implementation 'cn.jiguang.sdk.plugin:xiaomi:5.6.0'
|
||||
|
||||
// // 接入 OPPO 厂商
|
||||
implementation 'cn.jiguang.sdk.plugin:oppo:5.6.0'
|
||||
// // JPush Android SDK v4.6.0 开始,需要单独引入 oppo 厂商 aar ,请下载官网 SDK 包并把 jpush-android-xxx-release/third-push/oppo/libs 下的 aar 文件单独拷贝一份到应用 module/libs 下
|
||||
implementation(name: 'com.heytap.msp_3.5.3', ext: 'aar')
|
||||
// //以下为 OPPO 3.1.0 aar需要依赖
|
||||
implementation 'com.google.code.gson:gson:2.10.1'
|
||||
implementation 'commons-codec:commons-codec:1.6'
|
||||
implementation 'androidx.annotation:annotation:1.1.0'
|
||||
|
||||
// 接入荣耀厂商
|
||||
implementation 'cn.jiguang.sdk.plugin:honor:5.6.0'
|
||||
// //需要单独引入荣耀厂商 aar ,请下载官网 SDK 包并把 jpush-android-xxx-release/third-push/honor/libs 下的 aar 文件单独拷贝一份到应用 module/libs 下
|
||||
implementation(name: 'HiPushSDK-8.0.12.307', ext: 'aar')
|
||||
}
|
||||
@@ -6,7 +6,7 @@ plugins {
|
||||
}
|
||||
|
||||
android {
|
||||
namespace = "com.taihe.vbvs_app"
|
||||
namespace = "com.taihe.mianhuatang"
|
||||
compileSdk = flutter.compileSdkVersion
|
||||
ndkVersion = flutter.ndkVersion
|
||||
|
||||
@@ -21,7 +21,7 @@ android {
|
||||
|
||||
defaultConfig {
|
||||
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
|
||||
applicationId = "com.taihe.vbvs_app"
|
||||
applicationId = "com.taihe.mianhuatang"
|
||||
// You can update the following values to match your application needs.
|
||||
// For more information, see: https://flutter.dev/to/review-gradle-config.
|
||||
minSdk = flutter.minSdkVersion
|
||||
|
||||
BIN
android/app/libs/HiPushSDK-8.0.12.307.aar
Normal file
BIN
android/app/libs/HiPushSDK-8.0.12.307.aar
Normal file
Binary file not shown.
BIN
android/app/libs/com.heytap.msp_3.5.3.aar
Normal file
BIN
android/app/libs/com.heytap.msp_3.5.3.aar
Normal file
Binary file not shown.
1
android/app/src/agconnect-services.json
Normal file
1
android/app/src/agconnect-services.json
Normal file
@@ -0,0 +1 @@
|
||||
{"agcgw":{"url":"connect-drcn.dbankcloud.cn","backurl":"connect-drcn.hispace.hicloud.com","websocketurl":"connect-ws-drcn.hispace.dbankcloud.cn","websocketbackurl":"connect-ws-drcn.hispace.dbankcloud.com"},"agcgw_all":{"SG":"connect-dra.dbankcloud.cn","SG_back":"connect-dra.hispace.hicloud.com","CN":"connect-drcn.dbankcloud.cn","CN_back":"connect-drcn.hispace.hicloud.com","RU":"connect-drru.hispace.dbankcloud.ru","RU_back":"connect-drru.hispace.dbankcloud.cn","DE":"connect-dre.dbankcloud.cn","DE_back":"connect-dre.hispace.hicloud.com"},"websocketgw_all":{"SG":"connect-ws-dra.hispace.dbankcloud.cn","SG_back":"connect-ws-dra.hispace.dbankcloud.com","CN":"connect-ws-drcn.hispace.dbankcloud.cn","CN_back":"connect-ws-drcn.hispace.dbankcloud.com","RU":"connect-ws-drru.hispace.dbankcloud.ru","RU_back":"connect-ws-drru.hispace.dbankcloud.cn","DE":"connect-ws-dre.hispace.dbankcloud.cn","DE_back":"connect-ws-dre.hispace.dbankcloud.com"},"client":{"cp_id":"30086000818558366","product_id":"461323198430218911","client_id":"1752291009686950144","client_secret":"2D92A4B951C2B074A5234F598A0E44013881695DBA64641CE8DC3C634D34F9A0","project_id":"461323198430218911","app_id":"112547949","api_key":"DgEDACTa5j3V2cs2rlYwcsYwsuVj29t4cw4JDcBeRG1H3YurPML3W8D5iS6whNQPnwpZTrvPZiGoRF9bDVvi/hDJSJZp+/D+T71/lw==","package_name":"com.taihe.mianhuatang"},"oauth_client":{"client_id":"112547949","client_type":1},"app_info":{"app_id":"112547949","package_name":"com.taihe.mianhuatang"},"service":{"analytics":{"collector_url":"datacollector-drcn.dt.hicloud.com,datacollector-drcn.dt.dbankcloud.cn","collector_url_cn":"datacollector-drcn.dt.hicloud.com,datacollector-drcn.dt.dbankcloud.cn","collector_url_de":"datacollector-dre.dt.hicloud.com,datacollector-dre.dt.dbankcloud.cn","collector_url_ru":"datacollector-drru.dt.dbankcloud.ru,datacollector-drru.dt.hicloud.com","collector_url_sg":"datacollector-dra.dt.hicloud.com,datacollector-dra.dt.dbankcloud.cn","resource_id":"p1","channel_id":""},"ml":{"mlservice_url":"ml-api-drcn.ai.dbankcloud.com,ml-api-drcn.ai.dbankcloud.cn"},"cloudstorage":{"storage_url":"https://agc-storage-drcn.platform.dbankcloud.cn","storage_url_ru":"https://agc-storage-drru.cloud.huawei.ru","storage_url_sg":"https://ops-dra.agcstorage.link","storage_url_de":"https://ops-dre.agcstorage.link","storage_url_cn":"https://agc-storage-drcn.platform.dbankcloud.cn","storage_url_ru_back":"https://agc-storage-drru.cloud.huawei.ru","storage_url_sg_back":"https://agc-storage-dra.cloud.huawei.asia","storage_url_de_back":"https://agc-storage-dre.cloud.huawei.eu","storage_url_cn_back":"https://agc-storage-drcn.cloud.huawei.com.cn"},"search":{"url":"https://search-drcn.cloud.huawei.com"},"edukit":{"edu_url":"edukit.cloud.huawei.com.cn","dh_url":"edukit.cloud.huawei.com.cn"}},"region":"CN","configuration_version":"3.0","appInfos":[{"package_name":"com.taihe.mianhuatang","client":{"app_id":"112547949"},"app_info":{"package_name":"com.taihe.mianhuatang","app_id":"112547949"},"oauth_client":{"client_type":1,"client_id":"112547949"}}]}
|
||||
@@ -40,15 +40,18 @@
|
||||
<uses-permission android:name="android.permission.CAMERA"/>
|
||||
<uses-feature android:name="android.hardware.camera" android:required="false" />
|
||||
|
||||
<!-- oppo推送通知权限 -->
|
||||
<uses-permission android:name="com.coloros.mcs.permission.RECIEVE_MCS_MESSAGE"/>
|
||||
<uses-permission android:name="com.heytap.mcs.permission.RECIEVE_MCS_MESSAGE"/>
|
||||
|
||||
<application
|
||||
android:usesCleartextTraffic="true"
|
||||
android:name="${applicationName}"
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
android:label="太和e护"
|
||||
android:icon="@mipmap/ic_launchermh"
|
||||
android:label="智慧眠花糖"
|
||||
android:enableOnBackInvokedCallback="true"
|
||||
>
|
||||
<activity
|
||||
android:name="com.taihe.vbvs_app.MainActivity"
|
||||
android:name="com.taihe.mianhuatang.MainActivity"
|
||||
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
|
||||
android:screenOrientation="portrait"
|
||||
android:exported="true"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.taihe.vbvs_app
|
||||
package com.taihe.mianhuatang
|
||||
|
||||
import io.flutter.embedding.android.FlutterActivity
|
||||
|
||||
|
||||
6
android/app/src/mcs-services.json
Normal file
6
android/app/src/mcs-services.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"developer_id": "110000095215",
|
||||
"app_id": "900905976",
|
||||
"package_name": "com.taihe.mianhuatang",
|
||||
"version": "1.0"
|
||||
}
|
||||
@@ -8,8 +8,12 @@ allprojects {
|
||||
maven { url 'https://maven.aliyun.com/repository/center' }
|
||||
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
|
||||
maven { url 'https://jitpack.io' }
|
||||
maven { url 'https://developer.huawei.com/repo/'}
|
||||
google()
|
||||
mavenCentral()
|
||||
flatDir {
|
||||
dirs 'libs'
|
||||
}
|
||||
}
|
||||
|
||||
// 修复由于高版本导致namespace检测为空的问题,没遇到可不添加
|
||||
@@ -56,4 +60,18 @@ subprojects {
|
||||
|
||||
tasks.register("clean", Delete) {
|
||||
delete rootProject.buildDir
|
||||
}
|
||||
|
||||
buildscript {
|
||||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
maven {url 'https://developer.huawei.com/repo/'}
|
||||
}
|
||||
}
|
||||
buildscript {
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:8.2.1'
|
||||
classpath 'com.huawei.agconnect:agcp:1.9.1.301'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
# 太和e护
|
||||
storePassword=taihe601
|
||||
keyPassword=taihe601
|
||||
keyAlias=testalias
|
||||
storeFile=test.keystore
|
||||
# storePassword=taihe601
|
||||
# keyPassword=taihe601
|
||||
# keyAlias=testalias
|
||||
# storeFile=test.keystore
|
||||
|
||||
# 眠花糖
|
||||
# storePassword=mht@123456
|
||||
# keyPassword=mht@123456
|
||||
# keyAlias=mianhuatang
|
||||
# storeFile=AppKeys.jks
|
||||
storePassword=mht@123456
|
||||
keyPassword=mht@123456
|
||||
keyAlias=mianhuatang
|
||||
storeFile=AppKeys.jks
|
||||
@@ -1,6 +1,6 @@
|
||||
sdk.dir=C:\\Users\\wyf\\AppData\\Local\\Android\\sdk
|
||||
flutter.sdk=D:\\flutter_res\\flutter
|
||||
flutter.buildMode=debug
|
||||
flutter.buildMode=release
|
||||
flutter.versionName=1.0.0
|
||||
flutter.versionCode=1
|
||||
flutter.minSdkVersion=22
|
||||
|
||||
6
android/mcs-services.json
Normal file
6
android/mcs-services.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"developer_id": "110000095215",
|
||||
"app_id": "900905976",
|
||||
"package_name": "com.taihe.mianhuatang",
|
||||
"version": "1.0"
|
||||
}
|
||||
@@ -1,2 +1,2 @@
|
||||
flutter.android.versionName=2.0.3
|
||||
flutter.android.versionCode=8
|
||||
flutter.android.versionName=2.0.5
|
||||
flutter.android.versionCode=10
|
||||
Reference in New Issue
Block a user