5/2/driver3

This commit is contained in:
Hamza-Ayed
2024-05-02 12:29:42 +03:00
parent b144d1707a
commit a6d93a935c

View File

@@ -57,7 +57,7 @@ void main() async {
print(Get.deviceLocale!.countryCode);
Stripe.publishableKey = AK.publishableKey;
// if (box.read(BoxName.driverID) != null) {
if (box.read(BoxName.driverID) != null) {
Get.defaultDialog(
title: 'Gps required',
middleText: '',
@@ -66,8 +66,7 @@ void main() async {
onPressed: () {
Get.put(LocationBackgroundController());
}));
// }
}
if (Platform.isAndroid || Platform.isIOS) {
await Firebase.initializeApp(
options: DefaultFirebaseOptions.currentPlatform,