I'm currently using this code:
deviceType: kIsWeb
? (PlatformWeb.getPlatformInWeb() == 'Android'
? "Android Web"
: ((PlatformWeb.getPlatformInWeb() == 'iOS'
? "IOS web"
: "Desktop Web")))
: Platform.isAndroid
? (await deviceInfo.androidInfo).model
: (await deviceInfo.iosInfo).utsname.machine, //
The thing is, it would return "Android Web" and "iOS Web.". Is it possible to get the physical device model on the web? Like if I'm using iPhone 11 to return "iPhone 11." or "Samsunsg s 22 Ultra"?
Greetings.