Hello, I can’t get the imei number on my phone please can someone help
Welcome to the community, you can always use search
but do not forget that from Android 10 and higher this is not working
Android has added restrictions on who can access the non-resettable device identifiers such as the IMEI number starting from Android 10 and limited the apps that can use it to the apps that have the READ_PRIVILEGED_PHONE_STATE permission which isn’t available for non-platform apps
If try to access any of these identifiers a security exception occurs. On Android 10 and hiegher, so unfortunately, there is no way to get the IMEI on Android 10 and hiegher unless your app is a platform app…
Thank you for helping.
My goal is to create a user login and registration form and enter it with the imie number when logging in, not to enter when the imie number in firebase is different when logging in from another phone.
I’m doing this with the device ID for now