|
|
@@ -94,9 +94,9 @@ class _HomePageState extends State<HomePage> with WidgetsBindingObserver, Ticker |
|
|
|
///初始化各种监听 |
|
|
|
initAsync() async { |
|
|
|
try { |
|
|
|
Future.delayed(Duration(milliseconds: 10), () async { |
|
|
|
await AdvertisingUtils.openSplashAd(); |
|
|
|
}); |
|
|
|
// Future.delayed(Duration(milliseconds: 10), () async { |
|
|
|
// await AdvertisingUtils.openSplashAd(); |
|
|
|
// }); |
|
|
|
|
|
|
|
WidgetsBinding.instance.addObserver(this); |
|
|
|
|
|
|
|