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

.getSimInfo() method is giving null object error. #31

Open
PoojaPanc opened this issue Oct 11, 2021 · 2 comments
Open

.getSimInfo() method is giving null object error. #31

PoojaPanc opened this issue Oct 11, 2021 · 2 comments

Comments

@PoojaPanc
Copy link

After creating an object of the
const simData = RNSimData.getSimInfo();
while accessing the method, the method returns
[TypeError: null is not an object (evaluating 'simData.simSerialNumber0')] error.
Permission has been given in AndroidManifest file

<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE" />
@RutujTailor28
Copy link

@PoojaPanc Did you find any solution related to siminfo()?

@Abhishek25031991
Copy link

I am facing the same issue. Does anyone has solve the issue.

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

3 participants