We provide android kiosks enrolled in hexnode to our food delivery guys for managing customer orders. Whenever an issue occurs on their device, what we currently do is we get the IMEI number or the SN of the particular device using our own custom application which is installed on the devices, to check if we can resolve the issue from the hexnode portal. Apparently android has restricted this ability in the latest android versions and we’re not able to fetch this info anymore. I was wondering if we can grant permissions from the portal for our custom app to fetch the IMEI and SN number?
Hey @fleur,
Thanks for reaching out to us.
I’m a little confused about the issue here. Is it to retrieve the IMEI number or the serial number of a particular device?
If it is, you can easily view the serial number/IMEI number of all your enrolled devices by clicking on the Manage tab in the Hexnode portal. If you’re not able to find the IMEI Number or the Serial Number column in the table, click on the edit icon on the top-right corner of the table and check the required options from the window that pops up. Please note that devices starting from Android 10 should be enrolled in the Android Enterprise program in order to view the IMEI/serial number from the portal.
To answer your question regarding app permissions: No, it is not possible because, like you pointed out, Android has added restrictions for third-party applications accessing device identifiers like IMEI numbers and serial numbers starting from Android 10.
However, you could use Hexnode’s Retrieve Device Details API to fetch the required device info from the Hexnode portal and display it on your web app or custom app. Please keep in mind that only a maximum of 10 API calls can be made a day for a particular device. Refer Hexnode API documentation to get a complete list of Hexnode APIs.
Cheers!
Chris Wheeler
Hexnode UEM
6 April 2020