From 3a23d2e26c108dcf2a270b91f67e94e7e99c0b06 Mon Sep 17 00:00:00 2001 From: lijia Date: Fri, 13 Dec 2024 09:48:41 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=90=E8=90=A5=E7=AB=AF=E6=89=93=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/build.gradle | 15 ++++++++++++ app/src/main/AndroidManifest.xml | 4 ++-- .../service/TrackService.java | 24 +++++++++---------- 3 files changed, 29 insertions(+), 14 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 7183214..51c35b0 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -127,6 +127,21 @@ android { //APP名称,可以在androidMainfest中引用 resValue "string", "appName", "大河好运司机" } + productbc { + applicationId "com.arpa.hndahesudintocctmsdriver.bc" + manifestPlaceholders = [CHANNEL_VALUE: "大河好运司机", + app_icon : "@drawable/diver_logo", + GAODEKEY : "f960bc6d14788238918bd014fa08a870", + JPUSH_PKGNAME: applicationId, + JPUSH_APPKEY : "fba6f55621c670d8c1fe9191", //JPush 上注册的包名对应的 Appkey. + JPUSH_CHANNEL: "developer-default"//暂时填写默认值即可. + ] + buildConfigField("String", "OPEN_AL_URL", "\"https://oapi.alct56.com\"") + buildConfigField("String", "BASE_URL", "\"http://app.dahehuoyun.com/api/\"") + buildConfigField "boolean", "isTest", "false" + //APP名称,可以在androidMainfest中引用 + resValue "string", "appName", "大河好运司机" + } } // productFlavors.all { flavor -> diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index fa5ba56..3ed8c57 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -51,11 +51,11 @@ android:required="true" />