Commit 7fee0f44 by Baoxy

fix: 修改升级弹窗

parent 12e91010
...@@ -117,14 +117,16 @@ dependencies { ...@@ -117,14 +117,16 @@ dependencies {
implementation 'com.secspace:provider_mdm_engine:1.1.0.60' implementation 'com.secspace:provider_mdm_engine:1.1.0.60'
implementation files('libs/jxl.jar') implementation files('libs/jxl.jar')
implementation files('libs/activation.aar') implementation files('libs/activation.aar')
implementation files('libs/update.aar')
implementation files('libs/downloader.aar')
// Room // Room
implementation 'com.tk.lib:room:1.0.2' implementation 'com.tk.lib:room:1.0.2'
// Downloader // Downloader
implementation 'com.tk.lib:downloader:1.0.9' // implementation 'com.tk.lib:downloader:1.0.9'
implementation 'com.tk.lib:dialog:1.0.2' implementation 'com.tk.lib:dialog:1.0.2'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.1.1' implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.1.1'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.1.1' implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.1.1'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.61" implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.61"
implementation "com.qmuiteam:qmui:1.3.0" implementation "com.qmuiteam:qmui:1.3.0"
implementation 'com.tk.lib:update-excludePush:1.1.0' // implementation 'com.tk.lib:update-excludePush:1.1.0'
} }
\ No newline at end of file
...@@ -147,7 +147,7 @@ public class CheckUpdateCore { ...@@ -147,7 +147,7 @@ public class CheckUpdateCore {
.server(BuildConfig.UPDATE_SERVER) .server(BuildConfig.UPDATE_SERVER)
.name(BuildConfig.UPDATE_FLAG) .name(BuildConfig.UPDATE_FLAG)
.companyId(BuildConfig.COMPANY_ID) .companyId(BuildConfig.COMPANY_ID)
.showDownloadDialog(true) .showDownloadDialog(false)
.showDownloadNotification(false) .showDownloadNotification(false)
.appInstallPolicy(AppInstallPolicy.SILENT_INSTALL) .appInstallPolicy(AppInstallPolicy.SILENT_INSTALL)
.build(); .build();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment