D darabon Active Member Jan 5, 2021 #1 I need to use a unique id for each user and save it in server The device id is not good for my app because it will change if the user uninstalls it. The best option is the mac address Can I use it for my app without limitation Android?
I need to use a unique id for each user and save it in server The device id is not good for my app because it will change if the user uninstalls it. The best option is the mac address Can I use it for my app without limitation Android?
Erel B4X founder Staff member Licensed User Longtime User Jan 5, 2021 #2 No. It is inaccessible on newer devices. There isn't any ideal id. The android_id does meet your requirements: https://www.b4x.com/android/forum/threads/get-unique-id-for-user.124396/post-776882 However it isn't very reliable and will not work on all devices. Upvote 0
No. It is inaccessible on newer devices. There isn't any ideal id. The android_id does meet your requirements: https://www.b4x.com/android/forum/threads/get-unique-id-for-user.124396/post-776882 However it isn't very reliable and will not work on all devices.
D darabon Active Member Jan 5, 2021 #3 Erel said: No. It is inaccessible on newer devices. There isn't any ideal id. The android_id does meet your requirements: https://www.b4x.com/android/forum/threads/get-unique-id-for-user.124396/post-776882 However it isn't very reliable and will not work on all devices. Click to expand... Seem that I have to get mobile number from user to authentication Thank you Upvote 0
Erel said: No. It is inaccessible on newer devices. There isn't any ideal id. The android_id does meet your requirements: https://www.b4x.com/android/forum/threads/get-unique-id-for-user.124396/post-776882 However it isn't very reliable and will not work on all devices. Click to expand... Seem that I have to get mobile number from user to authentication Thank you
Erel B4X founder Staff member Licensed User Longtime User Jan 5, 2021 #4 FirebaseAuth might be a better solution. Upvote 0
D darabon Active Member Jan 5, 2021 #5 Erel said: FirebaseAuth might be a better solution. Click to expand... Yes, It is a good solution but I think all users don't have Google account and make a problem Upvote 0
Erel said: FirebaseAuth might be a better solution. Click to expand... Yes, It is a good solution but I think all users don't have Google account and make a problem