some logs
This commit is contained in:
parent
b1e49c6bb4
commit
d4de378212
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
{"flutter":{"platforms":{"android":{"default":{"projectId":"accessmoblie-da839","appId":"1:187064172787:android:61a667c543bf7c5a763786","fileOutput":"android/app/google-services.json"}},"dart":{"lib/firebase_options.dart":{"projectId":"accessmoblie-da839","configurations":{"android":"1:187064172787:android:61a667c543bf7c5a763786","ios":"1:187064172787:ios:4549dabf48c69ddc763786","web":"1:187064172787:web:0a990f85eca1f18c763786"}}}}}}
|
||||
{"flutter":{"platforms":{"android":{"default":{"projectId":"accessmoblie-da839","appId":"1:187064172787:android:61a667c543bf7c5a763786","fileOutput":"android/app/google-services.json"}},"dart":{"lib/firebase_options.dart":{"projectId":"accessmoblie-da839","configurations":{"android":"1:187064172787:android:61a667c543bf7c5a763786","ios":"1:187064172787:ios:f88d62e0c73cf535763786","web":"1:187064172787:web:0a990f85eca1f18c763786"}}}}}}
|
|
@ -19,10 +19,22 @@ Future<String?> getDevUUID() async {
|
|||
if (Platform.isIOS) {
|
||||
// import 'dart:io'
|
||||
var iosDeviceInfo = await deviceInfo.iosInfo;
|
||||
debugPrint('DeviceInfoPlugin => iosDeviceInfo.utsname.machine: ${iosDeviceInfo.utsname.machine}'); // e.g. "iPod7,1"
|
||||
debugPrint('DeviceInfoPlugin => iosDeviceInfo.systemName: ${iosDeviceInfo.systemName}'); // e.g. "iOS"
|
||||
debugPrint('DeviceInfoPlugin => iosDeviceInfo.systemVersion: ${iosDeviceInfo.systemVersion}'); // e.g. "13.3"
|
||||
debugPrint('DeviceInfoPlugin => iosDeviceInfo.model: ${iosDeviceInfo.model}'); // e.g. "iPhone"
|
||||
debugPrint('DeviceInfoPlugin => iosDeviceInfo.localizedModel: ${iosDeviceInfo.localizedModel}'); // e.g. "iPhone"
|
||||
debugPrint('DeviceInfoPlugin => iosDeviceInfo.identifierForVendor: ${iosDeviceInfo.identifierForVendor}'); // e.g. "A8E9F7C8-4D1F-4D97-9C3B-3A3D0F0F3E9E"
|
||||
return iosDeviceInfo.identifierForVendor; // unique ID on iOS
|
||||
} else if (Platform.isAndroid) {
|
||||
var androidDeviceInfo = await deviceInfo.androidInfo;
|
||||
print(AndroidDeviceInfo);
|
||||
// debugPrint('Running on ${androidDeviceInfo.androidId}'); // e.g. "A8E9F7C8-4D1F-4D97-9C3B-3A3D0F0F3E9E"
|
||||
debugPrint('DeviceInfoPLugin => androidDeviceInfo.model: ${androidDeviceInfo.model}'); // e.g. "iPhone"
|
||||
debugPrint('DeviceInfoPLugin => androidDeviceInfo.manufacturer: ${androidDeviceInfo.manufacturer}'); // e.g. "iPhone"
|
||||
debugPrint('DeviceInfoPLugin => androidDeviceInfo.product: ${androidDeviceInfo.product}'); // e.g. "iPhone"
|
||||
debugPrint('DeviceInfoPLugin => androidDeviceInfo.device: ${androidDeviceInfo.device}'); // e.g. "iPhone"
|
||||
debugPrint('DeviceInfoPLugin => androidDeviceInfo.id: ${androidDeviceInfo.id}'); // e.g. "iPhone"
|
||||
return androidDeviceInfo.id; // unique ID on Android
|
||||
}
|
||||
}
|
||||
|
|
|
@ -68,13 +68,14 @@ class DefaultFirebaseOptions {
|
|||
|
||||
static const FirebaseOptions ios = FirebaseOptions(
|
||||
apiKey: 'AIzaSyCQIy2S4mK1YHmiYBpx-c393IPzVya11h4',
|
||||
appId: '1:187064172787:ios:4549dabf48c69ddc763786',
|
||||
appId: '1:187064172787:ios:f88d62e0c73cf535763786',
|
||||
messagingSenderId: '187064172787',
|
||||
projectId: 'accessmoblie-da839',
|
||||
databaseURL: 'https://accessmoblie-da839.firebaseio.com',
|
||||
storageBucket: 'accessmoblie-da839.appspot.com',
|
||||
androidClientId: '187064172787-7et0qu5p2qtmisvqgndn3kfi1b7u9ifl.apps.googleusercontent.com',
|
||||
iosClientId: '187064172787-a5bnujphtc5dfh4vo5butlm1fhfkj7hn.apps.googleusercontent.com',
|
||||
iosBundleId: 'com.freaccess.hub',
|
||||
iosClientId: '187064172787-c5gs7fvp78om9r7dofkjn2qmpumkuvig.apps.googleusercontent.com',
|
||||
iosBundleId: 'br.com.freaccess.hub',
|
||||
);
|
||||
|
||||
}
|
Loading…
Reference in New Issue