6/22/1
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user