File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1+ import 'dart:async' ;
2+
13import 'package:firebase_core/firebase_core.dart' ;
24import 'package:firebase_crashlytics/firebase_crashlytics.dart' ;
35import 'package:flutter/foundation.dart' ;
@@ -28,7 +30,7 @@ Future<void> main() async {
2830 );
2931
3032 await AppRemoteConfig .initConfig ();
31- await AdHelper .initAds ();
33+ unawaited ( AdHelper .initAds () );
3234
3335 // turn off the # in the URLs on the web
3436 usePathUrlStrategy ();
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ import 'package:vs_live/src/utils/remote_config/remote_config.dart';
1010
1111class AdHelper {
1212 // for initializing ads sdk
13- static Future < void > initAds () async {
14- await MobileAds .instance.initialize ();
13+ static Future initAds () async {
14+ return MobileAds .instance.initialize ();
1515 }
1616
1717 static InterstitialAd ? _interstitialAd;
You can’t perform that action at this time.
0 commit comments