Commit 3cd2ae305534b7080311e3918ea5b73398042791

Authored by wdn127929
1 parent f228e841

vivo

@@ -11,14 +11,14 @@ if (flutterRoot == null) { @@ -11,14 +11,14 @@ if (flutterRoot == null) {
11 throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") 11 throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
12 } 12 }
13 13
14 -def flutterVersionCode = "285" 14 +def flutterVersionCode = "286"
15 if (flutterVersionCode == null) { 15 if (flutterVersionCode == null) {
16 - flutterVersionCode = '285' 16 + flutterVersionCode = '286'
17 } 17 }
18 18
19 -def flutterVersionName = "2.8.5" 19 +def flutterVersionName = "2.8.6"
20 if (flutterVersionName == null) { 20 if (flutterVersionName == null) {
21 - flutterVersionName = '2.8.5' 21 + flutterVersionName = '2.8.6'
22 } 22 }
23 23
24 apply plugin: 'com.android.application' 24 apply plugin: 'com.android.application'
@@ -65,7 +65,7 @@ Future<void> main() async { @@ -65,7 +65,7 @@ Future<void> main() async {
65 LogUtil.init(isDebug: true, tag: 'ONE_KEY'); 65 LogUtil.init(isDebug: true, tag: 'ONE_KEY');
66 Provider.debugCheckInvalidValueType = null; 66 Provider.debugCheckInvalidValueType = null;
67 await initializeDateFormatting(); 67 await initializeDateFormatting();
68 - _requestPermissions(); 68 + // _requestPermissions();
69 Utils.changeStatusColor(); 69 Utils.changeStatusColor();
70 SystemChrome.setPreferredOrientations( 70 SystemChrome.setPreferredOrientations(
71 [DeviceOrientation.portraitUp, DeviceOrientation.portraitDown]) 71 [DeviceOrientation.portraitUp, DeviceOrientation.portraitDown])
@@ -97,7 +97,7 @@ class HomePageState extends State<HomePage> with WidgetsBindingObserver { @@ -97,7 +97,7 @@ class HomePageState extends State<HomePage> with WidgetsBindingObserver {
97 initPlatformState(); 97 initPlatformState();
98 if (widget.initialIndex == 0) return; 98 if (widget.initialIndex == 0) return;
99 _getIntent(); 99 _getIntent();
100 - Future.delayed(Duration(milliseconds: 30000), () { 100 + Future.delayed(Duration(milliseconds: 80000), () {
101 ContactModel.getInstance().uploadLocalContact(context); 101 ContactModel.getInstance().uploadLocalContact(context);
102 UpdateModel updateModel = new UpdateModel(); 102 UpdateModel updateModel = new UpdateModel();
103 updateModel.checkUpdate(context, showToast: false); 103 updateModel.checkUpdate(context, showToast: false);