5/29/1
This commit is contained in:
@@ -15,7 +15,6 @@ import 'constant/credential.dart';
|
||||
import 'constant/info.dart';
|
||||
import 'controller/firebase/firbase_messge.dart';
|
||||
import 'controller/firebase/local_notification.dart';
|
||||
import 'controller/functions/device_info.dart';
|
||||
import 'controller/local/local_controller.dart';
|
||||
import 'controller/local/translations.dart';
|
||||
import 'controller/payment/paymob/paymob_wallet.dart';
|
||||
@@ -52,7 +51,7 @@ void main() async {
|
||||
print(
|
||||
'local is ${WidgetsBinding.instance.platformDispatcher.locale.countryCode}');
|
||||
|
||||
print(Get.deviceLocale!.countryCode);
|
||||
// print(Get.deviceLocale!.countryCode);
|
||||
Stripe.publishableKey = AK.publishableKey;
|
||||
// if (box.read(BoxName.driverID) != null) {}
|
||||
if (Platform.isAndroid || Platform.isIOS) {
|
||||
@@ -89,11 +88,11 @@ void main() async {
|
||||
iFrameID: 837992,
|
||||
);
|
||||
// Get device information
|
||||
List<Map<String, dynamic>> deviceDataList =
|
||||
await DeviceInfoPlus.getDeviceInfo();
|
||||
|
||||
// Print all device data
|
||||
DeviceInfoPlus.printDeviceInfo();
|
||||
// List<Map<String, dynamic>> deviceDataList =
|
||||
// await DeviceInfoPlus.getDeviceInfo();
|
||||
//
|
||||
// // Print all device data
|
||||
// DeviceInfoPlus.printDeviceInfo();
|
||||
|
||||
runApp(const MyApp());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user