Skip to content
This repository has been archived by the owner on Sep 3, 2022. It is now read-only.

Returns NULL in Android 10 #20

Open
gitnasr opened this issue Sep 4, 2020 · 6 comments
Open

Returns NULL in Android 10 #20

gitnasr opened this issue Sep 4, 2020 · 6 comments

Comments

@gitnasr
Copy link

gitnasr commented Sep 4, 2020

Device: Honor 10 Lite
SIM: 2 sim card
Permission: Granted
Result: Returns Null

@pocesar
Copy link
Owner

pocesar commented Sep 4, 2020

does it work after restarting? lot of people are having problems with this lately #13 #1

@gitnasr
Copy link
Author

gitnasr commented Sep 7, 2020

nope. not working even after clean the cache and reinstall Node Modules.

@xhbisme
Copy link

xhbisme commented Dec 8, 2020

I met the same problem,phoneNumber0 is null, but phoneNumber1 is ok,
I change the sim's position, and result is the same.
Checked, it should be related to sim card

@orhangazi
Copy link

It's return null with expo. Can i get sim info using expo?

@Chasty
Copy link

Chasty commented Apr 7, 2021

any updates I'm receving null too

@zishon89us
Copy link

Using android 10, getting null on both RNSimData.getSimInfo().phoneNumber1 and RNSimData.getSimInfo().phoneNumber0, error looks like this:

TypeError: null is not an object (evaluating '_reactNativeSimData.default.getSimInfo().phoneNumber1')

any suggestions or hints how to make this work?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants