|
|
@@ -62,10 +62,6 @@ class _LaunchPageState extends State<LaunchPage> with TickerProviderStateMixin { |
|
|
|
print('ConnectivityResult.wifi'); |
|
|
|
Application.init().then((_) async { |
|
|
|
|
|
|
|
Timer(Duration(milliseconds: 300), (){ |
|
|
|
NativeUtil.notifyInitSuccess(); |
|
|
|
}); |
|
|
|
|
|
|
|
PackageInfo packageInfo = await PackageInfo.fromPlatform(); |
|
|
|
String versionNumber = await SharedPreferencesUtil.getStringValue(Constants.versionNumber); |
|
|
|
String currentVersionCode = packageInfo.buildNumber?.toString() ?? ''; |
|
|
@@ -131,8 +127,10 @@ class _LaunchPageState extends State<LaunchPage> with TickerProviderStateMixin { |
|
|
|
guideImages.add(data); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
NativeUtil.notifyInitSuccess(); |
|
|
|
await Navigator.of(context).push(CupertinoPageRoute(builder: (context) => GuidePage(guide, guideImages))); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} catch (e) { |
|
|
|
throw "引导图加载失败"; |
|
|
|