5/2/driver3
This commit is contained in:
@@ -57,7 +57,7 @@ void main() async {
|
|||||||
|
|
||||||
print(Get.deviceLocale!.countryCode);
|
print(Get.deviceLocale!.countryCode);
|
||||||
Stripe.publishableKey = AK.publishableKey;
|
Stripe.publishableKey = AK.publishableKey;
|
||||||
// if (box.read(BoxName.driverID) != null) {
|
if (box.read(BoxName.driverID) != null) {
|
||||||
Get.defaultDialog(
|
Get.defaultDialog(
|
||||||
title: 'Gps required',
|
title: 'Gps required',
|
||||||
middleText: '',
|
middleText: '',
|
||||||
@@ -66,8 +66,7 @@ void main() async {
|
|||||||
onPressed: () {
|
onPressed: () {
|
||||||
Get.put(LocationBackgroundController());
|
Get.put(LocationBackgroundController());
|
||||||
}));
|
}));
|
||||||
|
}
|
||||||
// }
|
|
||||||
if (Platform.isAndroid || Platform.isIOS) {
|
if (Platform.isAndroid || Platform.isIOS) {
|
||||||
await Firebase.initializeApp(
|
await Firebase.initializeApp(
|
||||||
options: DefaultFirebaseOptions.currentPlatform,
|
options: DefaultFirebaseOptions.currentPlatform,
|
||||||
|
|||||||
Reference in New Issue
Block a user