Skip to content

Commit 13b582d

Browse files
docs: add mrz response to readme (#13)
Co-authored-by: Connor Tumbleson <iBotPeaches@users.noreply.github.com>
1 parent 1450d98 commit 13b582d

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,32 @@ const onScanID = () => {
114114
}
115115
```
116116

117+
### MRZ Response
118+
119+
```
120+
{
121+
Dob: string;
122+
DocumentNumber: string;
123+
DocumentType: string;
124+
Exp: string;
125+
FirstName: string;
126+
FullName: string;
127+
Gender: string;
128+
IssuingState: string;
129+
LastName: string;
130+
Line1: string;
131+
Line2: string;
132+
Line3: string;
133+
Nationality: string;
134+
}
135+
```
136+
137+
- You must ask for camera permission. Insert this to your project's `AndroidManifest.xml`
138+
139+
```
140+
<uses-permission android:name="android.permission.CAMERA" />
141+
```
142+
117143
## Contributing
118144

119145
See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

0 commit comments

Comments
 (0)