implement functional draft version

This commit is contained in:
SoLongAndThanksForAllThePizza
2022-05-29 04:39:12 +08:00
parent f56dcc9e6c
commit e836b7fcfb
6 changed files with 385 additions and 5 deletions

View File

@@ -102,7 +102,7 @@ class PlatformFFI {
name = '${androidInfo.brand}-${androidInfo.model}';
id = androidInfo.id.hashCode.toString();
androidVersion = androidInfo.version.sdkInt;
} else {
} else if (Platform.isIOS) {
IosDeviceInfo iosInfo = await deviceInfo.iosInfo;
name = iosInfo.utsname.machine;
id = iosInfo.identifierForVendor.hashCode.toString();