2/15/2
This commit is contained in:
@@ -33,14 +33,17 @@ Future<void> backgroundMessageHandler(RemoteMessage message) async {
|
||||
|
||||
void main() async {
|
||||
WidgetsFlutterBinding.ensureInitialized();
|
||||
if (Platform.isAndroid) {
|
||||
await NotificationController().initNotifications();
|
||||
}
|
||||
|
||||
await GetStorage.init();
|
||||
await AC().gAK();
|
||||
print(
|
||||
'local is t ${WidgetsBinding.instance.platformDispatcher.locale.countryCode}');
|
||||
print(Get.deviceLocale!.countryCode);
|
||||
Stripe.publishableKey = AK.publishableKey;
|
||||
final navigatorKey = GlobalKey<NavigatorState>();
|
||||
// final navigatorKey = GlobalKey<NavigatorState>();
|
||||
|
||||
/// 2/5: set navigator key to ZegoUIKitPrebuiltCallInvitationService
|
||||
// ZegoUIKitPrebuiltCallInvitationService().setNavigatorKey(navigatorKey);
|
||||
|
||||
Reference in New Issue
Block a user