Does anyone know a way to query the device type?
E.g. to find out whether is a Samsung, Panasonic, iPhone etc and/or a model number. Of help also would be some sort of unique device id.
There are methods to look up the OS version such as
console.log(AppFramework.osVersion)
console.log(AppFramework.kernelVersion)
but nothing obvious jumps out with regard to the hardware side of things.
Cheers,
-Paul
Hi Paul,
The functionality that you describe is not available in AppStudio.
If this is an essential requirement for your project, please contact Technical Support to lodge an enhancement request.
Thanks,
Hannah
Just giving this old post a bump, as I think the original question is still valid. I still don't know of any way to query the device details from AppStudio - does anyone know if anything has changed in the past couple of years to make this possible?
Regarding the device id, I know the AppFramework has a method
AppFramework.createId()
which creates a unique id. But this id is not actually derived from the device,
meaning that if you uninstall the app and reinstall it, you end up with a different id.
It would be great if there was some way to obtain an identifier derived from the actual
device that would always remain the same.
cheers,
Paul
ArcGIS Ideas would be a good place to float the idea. It seems to be the vehicle for hearing client requests and implementing them.
Yeah if no one can point out anything that can be done at present then I intend to raise it.