This commit is contained in:
Hamza-Ayed
2024-06-22 13:30:02 +03:00
parent 976e5dfa4d
commit 2bd242b28c
6 changed files with 21 additions and 175 deletions

View File

@@ -32,7 +32,6 @@ DbSql sql = DbSql.instance;
@pragma('vm:entry-point')
Future<void> backgroundMessageHandler(RemoteMessage message) async {
await Firebase.initializeApp();
print('===========back===${message.notification?.title}');
FirebaseMessagesController().fireBaseTitles(message);
}
@@ -48,10 +47,8 @@ void main() async {
await GetStorage.init();
// Get.put(DriverCallController());
await AC().gAK();
print(
'local is ${WidgetsBinding.instance.platformDispatcher.locale.countryCode}');
'local is ${WidgetsBinding.instance.platformDispatcher.locale.countryCode}';
// print(Get.deviceLocale!.countryCode);
Stripe.publishableKey = AK.publishableKey;
// if (box.read(BoxName.driverID) != null) {}
if (Platform.isAndroid || Platform.isIOS) {