Skip to content

Commit e0a437e

Browse files
Update README.md
1 parent 93e5004 commit e0a437e

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

react-smartsdk/README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,9 @@ $(PROJECT_DIR)/../node_modules/react-smartsdk/ios/Frameworks
172172
'DATA_EXTRACTION_REQUIREMENT': 'MRZ_FOUND',
173173
'EXTRA_PARAMETERS': {'AXT_ADJUST_CROP': 'true'}};
174174
```
175-
- For **iOS**:
176-
```javascript
175+
176+
- For **iOS** :
177+
```javascript
177178
export var params = {'EXTRACT_DATA': 'YES',
178179
'USE_HD': 'NO',
179180
'DISPLAY_CAPTURE': 'YES',
@@ -183,8 +184,10 @@ $(PROJECT_DIR)/../node_modules/react-smartsdk/ios/Frameworks
183184
'DATA_EXTRACTION_REQUIREMENT': 'MRZ_FOUND',
184185
'EXTRA_PARAMETERS': {'AXT_ADJUST_CROP': 'YES'}};
185186
```
186-
6. ⚠️  **ANDROID ONLY** : Before initializing the sdk, you have to ask for permissions (`CAMERA` and `READ_PHONE_STATE`).To do so, you can use the following method :
187-
```javascript
187+
188+
6. ⚠️   **ANDROID ONLY** Before initializing the sdk, you have to ask for permissions (`CAMERA` and `READ_PHONE_STATE`).
189+
To do so, you can use the following method :
190+
```javascript
188191
async requestPermissions(){
189192
try{
190193
const granted = await PermissionsAndroid.requestMultiple(
@@ -200,4 +203,4 @@ $(PROJECT_DIR)/../node_modules/react-smartsdk/ios/Frameworks
200203
console.warn(err);
201204
}
202205
}
203-
```
206+
```

0 commit comments

Comments
 (0)