2/18/1
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import 'dart:io';
|
||||
|
||||
import 'package:SEFER/views/home/Captin/home_captain/call_controller.dart';
|
||||
import 'package:firebase_core/firebase_core.dart';
|
||||
import 'package:firebase_messaging/firebase_messaging.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
@@ -38,24 +39,13 @@ void main() async {
|
||||
}
|
||||
|
||||
await GetStorage.init();
|
||||
// Get.put(DriverCallController());
|
||||
await AC().gAK();
|
||||
print(
|
||||
'local is t ${WidgetsBinding.instance.platformDispatcher.locale.countryCode}');
|
||||
print(Get.deviceLocale!.countryCode);
|
||||
Stripe.publishableKey = AK.publishableKey;
|
||||
// final navigatorKey = GlobalKey<NavigatorState>();
|
||||
|
||||
/// 2/5: set navigator key to ZegoUIKitPrebuiltCallInvitationService
|
||||
// ZegoUIKitPrebuiltCallInvitationService().setNavigatorKey(navigatorKey);
|
||||
|
||||
// ZegoUIKit().initLog().then((value) {
|
||||
// ZegoUIKitPrebuiltCallInvitationService().useSystemCallingUI(
|
||||
// [ZegoUIKitSignalingPlugin()],
|
||||
// );
|
||||
|
||||
// runApp(MyApp(navigatorKey: navigatorKey));
|
||||
// });
|
||||
// StripeKey.publishableKey;
|
||||
if (Platform.isAndroid || Platform.isIOS) {
|
||||
await Firebase.initializeApp(
|
||||
options: DefaultFirebaseOptions.currentPlatform,
|
||||
|
||||
Reference in New Issue
Block a user