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

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

@PoojaPanc

Description

@PoojaPanc

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" />

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions