运营端打包
This commit is contained in:
parent
5d08b77cc5
commit
3a23d2e26c
@ -127,6 +127,21 @@ android {
|
|||||||
//APP名称,可以在androidMainfest中引用
|
//APP名称,可以在androidMainfest中引用
|
||||||
resValue "string", "appName", "大河好运司机"
|
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 ->
|
// productFlavors.all { flavor ->
|
||||||
|
@ -51,11 +51,11 @@
|
|||||||
android:required="true" />
|
android:required="true" />
|
||||||
<uses-permission android:name="android.permission.NFC" />
|
<uses-permission android:name="android.permission.NFC" />
|
||||||
<application
|
<application
|
||||||
android:name="com.arpa.hndahesudintocctmsdriver.App"
|
android:name=".App"
|
||||||
android:allowBackup="true"
|
android:allowBackup="true"
|
||||||
android:excludeFromRecents="true"
|
android:excludeFromRecents="true"
|
||||||
android:icon="@mipmap/diver_logo"
|
android:icon="@mipmap/diver_logo"
|
||||||
android:label="@string/appName"
|
android:label="运营端"
|
||||||
android:largeHeap="true"
|
android:largeHeap="true"
|
||||||
android:requestLegacyExternalStorage="true"
|
android:requestLegacyExternalStorage="true"
|
||||||
android:supportsRtl="true"
|
android:supportsRtl="true"
|
||||||
|
@ -69,18 +69,18 @@ public class TrackService extends Service {
|
|||||||
con = this;
|
con = this;
|
||||||
hyr = new HuoYuanRequset(con, hd);
|
hyr = new HuoYuanRequset(con, hd);
|
||||||
Log.e("开始循环上传,等待100ms", "-----");
|
Log.e("开始循环上传,等待100ms", "-----");
|
||||||
new Timer().schedule(new TimerTask() {
|
// new Timer().schedule(new TimerTask() {
|
||||||
@Override
|
// @Override
|
||||||
public void run() {
|
// public void run() {
|
||||||
snn = SPUtil.getSP(con, "order", "ShippingNoteNumber");
|
// snn = SPUtil.getSP(con, "order", "ShippingNoteNumber");
|
||||||
if (!snn.equals("")) {
|
// if (!snn.equals("")) {
|
||||||
l = new LocationGDUtil(con, hd);
|
// l = new LocationGDUtil(con, hd);
|
||||||
l.onCreate();
|
// l.onCreate();
|
||||||
} else {
|
// } else {
|
||||||
onDestroy();
|
// onDestroy();
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}, 100, timeSum);
|
// }, 100, timeSum);
|
||||||
}
|
}
|
||||||
|
|
||||||
//开始
|
//开始
|
||||||
|
Loading…
Reference in New Issue
Block a user