react-native-esim-validate

1.0.0 • Public • Published

React native eSim eligibility is a button which returns eligible or not eligible subject to eSim capablity of device.

For iOS, This API won't work without eSIM entitlement. You can read more about it here

Minimum API Level is 12 for eSIM methods

Note: At the moment (iOS 14.2) there might a bug in iOS SDK which returns uknown result before eSIM setup completion.

For Android, Add in your Android Manifest:

<uses-permission android:name="android.permission.READ_PHONE_STATE" />

Usage-

import ESimEligiblity from 'react-native-esim-validate'

const App=()=>{
  return <ESimEligiblity name="Press" textColor="red" />;
}

Troubleshoot

If error occured showing "try npm i --save-dev @types/react-native-esim-validate" then in src folder create a file and name it "global.d.ts" and add declare module 'react-native-esim-validate';

Readme

Keywords

none

Package Sidebar

Install

npm i react-native-esim-validate

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

3.29 kB

Total Files

3

Last publish

Collaborators

  • kanopatra20