[Question]: iOS model number (data.ustname.machine) resulting "iPhone12,8" but the device is "iPhone SE" #2225
Closed
8 tasks done
Labels
question
Further information is requested
What is your question?
I am working on a project where I need to parse the device model. I have providing below code portion
else if (Platform.isIOS) { IosDeviceInfo iosInfo = await deviceInfo.iosInfo; deviceInfoModel = deviceInfoModel.copyWith( deviceModel: iosInfo.utsname.machine, );}
Checklist before submitting a question
flutter pub upgrade
flutter clean
The text was updated successfully, but these errors were encountered: