|
@@ -370,7 +370,7 @@ class _HomePageState extends State<HomePage> with WidgetsBindingObserver, Ticker |
|
|
/// 3、活动弹窗 |
|
|
/// 3、活动弹窗 |
|
|
/// |
|
|
/// |
|
|
Future _showPolicy() async { |
|
|
Future _showPolicy() async { |
|
|
await Future.delayed(Duration(milliseconds: 1000), () async { |
|
|
|
|
|
|
|
|
Future.delayed(Duration(milliseconds: 1000), () async { |
|
|
// 通知弹窗 |
|
|
// 通知弹窗 |
|
|
///每打开5次检查一次权限 |
|
|
///每打开5次检查一次权限 |
|
|
String showNotiPermissionTime = await SharedPreferencesUtil.getStringValue(Constants.showNotiPermissionTime, defaultVal: "5"); |
|
|
String showNotiPermissionTime = await SharedPreferencesUtil.getStringValue(Constants.showNotiPermissionTime, defaultVal: "5"); |
|
@@ -418,7 +418,7 @@ class _HomePageState extends State<HomePage> with WidgetsBindingObserver, Ticker |
|
|
IntellectCreate.checkAndCreateFirst(context); |
|
|
IntellectCreate.checkAndCreateFirst(context); |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
await Future.delayed(Duration(seconds: 3), () async { |
|
|
|
|
|
|
|
|
Future.delayed(Duration(seconds: 3), () async { |
|
|
//debug app不更新 app更新插件 |
|
|
//debug app不更新 app更新插件 |
|
|
await AppUpdateUtil.initXUpdate(); |
|
|
await AppUpdateUtil.initXUpdate(); |
|
|
// 检查app更新 |
|
|
// 检查app更新 |
|
|