getDeviceId returns wrong id
See original GitHub issueSummary
Version | 10.0.2 |
Affected OS | iOS |
OS Version | iOS16.0 |
Current behavior
I’m getting iPhone14,5
on my iPhone 13 device from getDeviceId()
Expected behavior
I should be getting iPhone13
since my phone is iPhone 13
Issue Analytics
- State:
- Created a year ago
- Comments:5
Top Results From Across the Web
TelephonyManager.getDeviceId(0) returns different results
As you said IMEI/Device Id is tagged to sim slot. For dual SIM phones there are three IMEI values(one for each slot) and...
Read more >Advanced Topics - Amplitude Developer Center
getDeviceId (). This method can return null if a Device ID has not been generated yet. Note: This is not recommended unless you...
Read more >Braze Web SDK
Reasons for returning false include a missing API key/base URL, user opt out, and ignored crawler bot activity. isDisabled. isDisabled(): boolean.
Read more >Troubleshooting Invalid Device ID Errors - Developer Help
Here is a list of common reasons for getting the "Invalid Device ID" or "Failed to get device ID" error: Bad connection between...
Read more >The device ID <deviceID> is not connected. Connect the ...
Error code: 0x80016002L Problem This issue occurs because the currently connected mobile device has different device ID than the one specified in the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is not a bug, it’s just how Apple names their products (see the GSMArena product page for iPhone 13, in the Misc section they indicate that the model name is
iphone14,5
).What you’re after is probably
DeviceInfo.getModel()
@SeongwoonHong I performed a basic web search for you and found information https://www.theiphonewiki.com/wiki/Models#iPhone