Commit 3cd2ae305534b7080311e3918ea5b73398042791

Authored by wdn127929
1 parent f228e841

vivo

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