1.0.0 • Published 11 months ago

react-native-esim-validate v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
11 months ago

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';

1.0.0

11 months ago