Hello,
We have Hexnode installed on the device. We also have our company app installed there as well.
We need a way to somehow retrieve the device Serial number programmatically ( From the app itself)
Android restricts this retrieval only to the admin owner app which is Hexnode so we cant make our app the owner.
As i understand you do not support DELEGATION_CERT_INSTALL.
The only way left(?) is to call the API
curl -H “Authorization: <your API key>” .hexnodemdm.com/api/v1/devices/%7BDEVICE_ID%7D/” target=”_blank” rel=”noreferrer noopener”>https://<portal>.hexnodemdm.com/api/v1/devices/{DEVICE_ID}/
Only that the app does not know its Device id.
Another way is getting it by the IMEI key. But for that, we need #USE_ICC_AUTH_WITH_DEVICE_IDENTIFIER
permission. Does Hexnode support this ?
Bottom line, how can the app get the device’s Serial number?
Thanks
<h1> </h1>