We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
应该是与 Android Q 的隐私权有关: https://developer.android.com/preview/privacy/data-identifiers#device-ids
The text was updated successfully, but these errors were encountered:
当 android 项目的 目标改为 29 时,会发生.
Sorry, something went wrong.
mTelephonyManager.getDeviceId() 时发生异常
另一个问题是 在 Android 6.0(API 级别 23)及更高版本中,本地设备 MAC 地址(例如 WLAN 和蓝牙)无法通过第三方 API 获取。WifiInfo.getMacAddress() 方法和 BluetoothAdapter.getDefaultAdapter().getAddress() 方法都会返回 02:00:00:00:00:00。
所以 android 上的 getOpenUDID() 现有的两种方案(获取手机识别码和mac地址), 想要获取持久化的UDID比较难了
可以考虑使用阿里的UTDID库,安卓和IOS都支持
No branches or pull requests
应该是与 Android Q 的隐私权有关: https://developer.android.com/preview/privacy/data-identifiers#device-ids
The text was updated successfully, but these errors were encountered: