1.0.2 • Published 5 years ago

react-native-finance-incorp-eid-reader v1.0.2

Weekly downloads
18
License
MIT
Repository
github
Last release
5 years ago

react-native-finance-incorp-eid-reader

Getting started

npm i --save react-native-finance-incorp-eid-reader

ANDROID

  • edit AndroidManifest.xml

    in Permission Block

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

Add the following Intent in the block

<intent-filter>
    <action android:name="android.nfc.action.NDEF_DISCOVERED"/>
    <category android:name="android.intent.category.DEFAULT"/>
</intent-filter>

Usage

async scanId(){
    const data = await EIDReader.scan({
      documentNumber: 'Get from MRZ',
      dateOfBirth: 'yymmdd',
      dateOfExpiry: 'yymmdd'
    })
    console.log(data)
}
1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago