9/20/1
This commit is contained in:
@@ -107,6 +107,8 @@ void main() async {
|
||||
WidgetsFlutterBinding.ensureInitialized();
|
||||
await WakelockPlus.enable();
|
||||
|
||||
await GetStorage.init();
|
||||
Stripe.publishableKey = AK.publishableKeyStripe;
|
||||
// Request location permission
|
||||
// PermissionStatus status = await Permission.location.request();
|
||||
// if (status.isDenied) {
|
||||
@@ -120,9 +122,6 @@ void main() async {
|
||||
await LocationController().startLocationUpdates();
|
||||
}
|
||||
|
||||
await GetStorage.init();
|
||||
Stripe.publishableKey = AK.publishableKeyStripe;
|
||||
|
||||
if (Platform.isAndroid || Platform.isIOS) {
|
||||
await Firebase.initializeApp(
|
||||
options: DefaultFirebaseOptions.currentPlatform,
|
||||
|
||||
Reference in New Issue
Block a user