Browse Source

1、不支持后台更新

tags/0.0.17+4^0
PH2 3 years ago
parent
commit
39d2303046
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/util/update/app_update_util.dart

+ 1
- 1
lib/util/update/app_update_util.dart View File

@@ -78,7 +78,7 @@ class AppUpdateUtil {
if (Platform.isAndroid) { if (Platform.isAndroid) {
FlutterXUpdate.updateByInfo( FlutterXUpdate.updateByInfo(
updateEntity: updateEntity, updateEntity: updateEntity,
supportBackgroundUpdate: true, supportBackgroundUpdate: false,
enableIgnore: mustShowDialog || updateEntity.isForce, enableIgnore: mustShowDialog || updateEntity.isForce,
retryContent: '更新下载速度太慢了,是否考虑切换下载方式?', retryContent: '更新下载速度太慢了,是否考虑切换下载方式?',
enableRetry: updateEntity.thirdParty, enableRetry: updateEntity.thirdParty,


||||||
x
 
000:0
Loading…
Cancel
Save