Replies: 1 comment
-
You are correct that getting the real device SN is practically impossible by an app. Therefore, I use the ANDROID_ID provided by the Android API to set the deviceSerialNumber. Back when I first wrote the app I was able to get the IMEI, but that has changed as you mentioned. The documentation on the ANDROID_ID can be found here: https://developer.android.com/reference/android/provider/Settings.Secure#ANDROID_ID |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Christian, on the mqtt backend in the msg payload there is a key-val for deviceSerialNumber. Since getting the device's serial number is basically impossible after android 10, some Qs:
Is the val generated by the app?
How persistent is it?
Thanks,
Peter
Beta Was this translation helpful? Give feedback.
All reactions