@regulaforensics/react-native-document-reader-api 6.1.1 → 6.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,6 +14,6 @@ Pod::Spec.new do |s|
14
14
  s.source = { :http => 'file:' + __dir__ }
15
15
  s.ios.deployment_target = '11.0'
16
16
  s.source_files = "ios/*.{h,m}"
17
- s.dependency 'DocumentReader', '6.1.2374'
17
+ s.dependency 'DocumentReader', '6.2.2441'
18
18
  s.dependency 'React'
19
19
  end
@@ -49,7 +49,7 @@ dependencies {
49
49
  //noinspection GradleDynamicVersion
50
50
  implementation 'com.facebook.react:react-native:+'
51
51
  //noinspection GradleDependency
52
- implementation('com.regula.documentreader:api:6.1.6564') {
52
+ implementation('com.regula.documentreader:api:6.2.6717') {
53
53
  transitive = true
54
54
  }
55
55
  }
@@ -42,6 +42,7 @@ import com.regula.documentreader.api.results.VDSNCData;
42
42
  import com.regula.documentreader.api.results.authenticity.DocumentReaderAuthenticityCheck;
43
43
  import com.regula.documentreader.api.results.authenticity.DocumentReaderAuthenticityElement;
44
44
  import com.regula.documentreader.api.results.authenticity.DocumentReaderAuthenticityResult;
45
+ import com.regula.documentreader.api.results.authenticity.DocumentReaderUvFiberElement;
45
46
  import com.regula.documentreader.api.results.rfid.AccessControlProcedureType;
46
47
  import com.regula.documentreader.api.results.rfid.Application;
47
48
  import com.regula.documentreader.api.results.rfid.Attribute;
@@ -606,9 +607,9 @@ class JSONConstructor {
606
607
  JSONObject result = new JSONObject();
607
608
  if (input == null) return result;
608
609
  try {
609
- result.put("code", input.code & 0xFFFF0000);
610
- result.put("number", input.code & 0x0000FFFF);
611
- result.put("value", input.value);
610
+ result.put("code", input.getNotificationCode());
611
+ result.put("attachment", input.getDataFileType());
612
+ result.put("value", input.getProgress());
612
613
  } catch (JSONException e) {
613
614
  e.printStackTrace();
614
615
  }
@@ -1141,6 +1142,28 @@ class JSONConstructor {
1141
1142
  return result;
1142
1143
  }
1143
1144
 
1145
+ static JSONObject generateDocumentReaderUvFiberElement(DocumentReaderUvFiberElement input, Context context) {
1146
+ JSONObject result = new JSONObject();
1147
+ if (input == null) return result;
1148
+ try {
1149
+ result.put("rectArray", generateList(input.rectArray, JSONConstructor::generateDocReaderFieldRect));
1150
+ result.put("rectCount", input.rectCount);
1151
+ result.put("expectedCount", input.expectedCount);
1152
+ result.put("width", generateIntArray(input.width));
1153
+ result.put("length", generateIntArray(input.length));
1154
+ result.put("area", generateIntArray(input.area));
1155
+ result.put("colorValues", generateIntArray(input.colorValues));
1156
+ result.put("status", input.status);
1157
+ result.put("elementType", input.elementType);
1158
+ result.put("elementDiagnose", input.elementDiagnose);
1159
+ result.put("elementTypeName", input.getElementTypeName(context));
1160
+ result.put("elementDiagnoseName", input.getElementDiagnoseName(context));
1161
+ } catch (JSONException e) {
1162
+ e.printStackTrace();
1163
+ }
1164
+ return result;
1165
+ }
1166
+
1144
1167
  static JSONObject generateDocumentReaderResults(DocumentReaderResults input, Context context) {
1145
1168
  JSONObject result = new JSONObject();
1146
1169
  if (input == null) return result;
@@ -2172,6 +2195,61 @@ class JSONConstructor {
2172
2195
  return null;
2173
2196
  }
2174
2197
 
2198
+ static DocumentReaderUvFiberElement DocumentReaderUvFiberElementFromJSON(JSONObject input) {
2199
+ try {
2200
+ DocumentReaderUvFiberElement result = new DocumentReaderUvFiberElement();
2201
+ if (input.has("rectArray")){
2202
+ JSONArray jsonArray_rectArray = input.getJSONArray("rectArray");
2203
+ List<DocReaderFieldRect> rectArray = new ArrayList<>();
2204
+ for (int i = 0; i < jsonArray_rectArray.length(); i++)
2205
+ rectArray.add(DocReaderFieldRectFromJSON(jsonArray_rectArray.getJSONObject(i)));
2206
+ result.rectArray = rectArray;
2207
+ }
2208
+ if (input.has("rectCount"))
2209
+ result.rectCount = input.getInt("rectCount");
2210
+ if (input.has("expectedCount"))
2211
+ result.expectedCount = input.getInt("expectedCount");
2212
+ if (input.has("width")){
2213
+ JSONArray jsonArray_width = input.getJSONArray("width");
2214
+ int[] width = new int[jsonArray_width.length()];
2215
+ for (int i = 0; i < jsonArray_width.length(); i++)
2216
+ width[i] = jsonArray_width.getInt(i);
2217
+ result.width = width;
2218
+ }
2219
+ if (input.has("length")){
2220
+ JSONArray jsonArray_length = input.getJSONArray("length");
2221
+ int[] length = new int[jsonArray_length.length()];
2222
+ for (int i = 0; i < jsonArray_length.length(); i++)
2223
+ length[i] = jsonArray_length.getInt(i);
2224
+ result.length = length;
2225
+ }
2226
+ if (input.has("area")){
2227
+ JSONArray jsonArray_area = input.getJSONArray("area");
2228
+ int[] area = new int[jsonArray_area.length()];
2229
+ for (int i = 0; i < jsonArray_area.length(); i++)
2230
+ area[i] = jsonArray_area.getInt(i);
2231
+ result.area = area;
2232
+ }
2233
+ if (input.has("colorValues")){
2234
+ JSONArray jsonArray_colorValues = input.getJSONArray("colorValues");
2235
+ int[] colorValues = new int[jsonArray_colorValues.length()];
2236
+ for (int i = 0; i < jsonArray_colorValues.length(); i++)
2237
+ colorValues[i] = jsonArray_colorValues.getInt(i);
2238
+ result.colorValues = colorValues;
2239
+ }
2240
+ if (input.has("status"))
2241
+ result.status = input.getInt("status");
2242
+ if (input.has("elementType"))
2243
+ result.elementType = input.getInt("elementType");
2244
+ if (input.has("elementDiagnose"))
2245
+ result.elementDiagnose = input.getInt("elementDiagnose");
2246
+ return result;
2247
+ } catch (JSONException e) {
2248
+ e.printStackTrace();
2249
+ }
2250
+ return null;
2251
+ }
2252
+
2175
2253
  static DocumentReaderResults DocumentReaderResultsFromJSON(JSONObject input) {
2176
2254
  try {
2177
2255
  DocumentReaderResults result = new DocumentReaderResults();
package/example/App.js CHANGED
@@ -17,182 +17,191 @@ var readDir = Platform.OS === 'ios' ? RNFS.readDir : RNFS.readDirAssets
17
17
  var readFile = Platform.OS === 'ios' ? RNFS.readFile : RNFS.readFileAssets
18
18
 
19
19
  async function addCertificates() {
20
- var certificates = []
21
- var items = await readDir(certDir, 'base64')
20
+ var certificates = []
21
+ var items = await readDir(certDir, 'base64')
22
22
 
23
- for (var i in items) {
24
- var item = items[i]
25
- if (item.isFile()) {
26
- var findExt = item.name.split('.')
27
- var pkdResourceType = 0
28
- if (findExt.length > 0)
29
- pkdResourceType = Enum.PKDResourceType.getType(findExt[findExt.length - 1].toLowerCase())
23
+ for (var i in items) {
24
+ var item = items[i]
25
+ if (item.isFile()) {
26
+ var findExt = item.name.split('.')
27
+ var pkdResourceType = 0
28
+ if (findExt.length > 0)
29
+ pkdResourceType = Enum.PKDResourceType.getType(findExt[findExt.length - 1].toLowerCase())
30
30
 
31
- var file = await readFile(item.path, 'base64')
32
- certificates.push({
33
- 'binaryData': file,
34
- 'resourceType': pkdResourceType
35
- })
31
+ var file = await readFile(item.path, 'base64')
32
+ certificates.push({
33
+ 'binaryData': file,
34
+ 'resourceType': pkdResourceType
35
+ })
36
+ }
36
37
  }
37
- }
38
- DocumentReader.addPKDCertificates(certificates, s => {
39
- console.log("certificates added")
40
- }, e => console.log(e))
38
+ DocumentReader.addPKDCertificates(certificates, s => {
39
+ console.log("certificates added")
40
+ }, e => console.log(e))
41
41
  }
42
42
 
43
43
  export default class App extends Component {
44
- constructor(props) {
45
- super(props)
46
- eventManager.addListener('prepareDatabaseProgressChangeEvent', e => this.setState({ fullName: "Downloading database: " + e["msg"] + "%" }))
47
- eventManager.addListener('completionEvent', e => this.handleCompletion(DocumentReaderCompletion.fromJson(JSON.parse(e["msg"]))))
48
- eventManager.addListener('rfidNotificationCompletionEvent', e => console.log("rfidNotificationCompletionEvent: " + e["msg"]))
49
- eventManager.addListener('paCertificateCompletionEvent', e => console.log("paCertificateCompletionEvent: " + e["msg"]))
50
- DocumentReader.prepareDatabase("Full", (respond) => {
51
- console.log(respond)
52
- readFile(licPath, 'base64').then((res) => {
53
- this.setState({ fullName: "Initializing..." })
54
- DocumentReader.initializeReader(res, (respond) => {
55
- console.log(respond)
56
- DocumentReader.isRFIDAvailableForUse((canRfid) => {
57
- if (canRfid) {
58
- this.setState({ canRfid: true, rfidUIHeader: "Reading RFID", rfidDescription: "Place your phone on top of the NFC tag", rfidUIHeaderColor: "black" })
59
- this.setState({ canRfidTitle: '' })
60
- }
61
- }, error => console.log(error))
62
- DocumentReader.getAvailableScenarios((jstring) => {
63
- var scenariosTemp = JSON.parse(jstring)
64
- var scenariosL = []
65
- for (var i in scenariosTemp) {
66
- scenariosL.push({
67
- label: DocumentReaderScenario.fromJson(typeof scenariosTemp[i] === "string" ? JSON.parse(scenariosTemp[i]) : scenariosTemp[i]).name,
68
- id: i
69
- })
70
- }
71
- this.setState({ scenarios: scenariosL })
72
- this.setState({ selectedScenario: this.state.scenarios[0]['label'] })
73
- this.setState({ radio: null })
74
- this.setState({
75
- radio: <RadioGroup containerStyle={styles.radio} radioButtons={this.state.scenarios} onPress={(data) => {
76
- var selectedItem
77
- for (var index in data)
78
- if (data[index]['selected'])
79
- selectedItem = data[index]['label']
80
- this.setState({ selectedScenario: selectedItem })
81
- }} />
44
+ constructor(props) {
45
+ super(props)
46
+ eventManager.addListener('prepareDatabaseProgressChangeEvent', e => this.setState({ fullName: "Downloading database: " + e["msg"] + "%" }))
47
+ eventManager.addListener('completionEvent', e => this.handleCompletion(DocumentReaderCompletion.fromJson(JSON.parse(e["msg"]))))
48
+ eventManager.addListener('rfidNotificationCompletionEvent', e => console.log("rfidNotificationCompletionEvent: " + e["msg"]))
49
+ eventManager.addListener('paCertificateCompletionEvent', e => console.log("paCertificateCompletionEvent: " + e["msg"]))
50
+ DocumentReader.prepareDatabase("Full", (respond) => {
51
+ console.log(respond)
52
+ readFile(licPath, 'base64').then((res) => {
53
+ this.setState({ fullName: "Initializing..." })
54
+ DocumentReader.initializeReader(res, (respond) => {
55
+ console.log(respond)
56
+ DocumentReader.isRFIDAvailableForUse((canRfid) => {
57
+ if (canRfid) {
58
+ this.setState({ canRfid: true, rfidUIHeader: "Reading RFID", rfidDescription: "Place your phone on top of the NFC tag", rfidUIHeaderColor: "black" })
59
+ this.setState({ canRfidTitle: '' })
60
+ }
61
+ }, error => console.log(error))
62
+ DocumentReader.getAvailableScenarios((jstring) => {
63
+ var scenariosTemp = JSON.parse(jstring)
64
+ var scenariosL = []
65
+ for (var i in scenariosTemp) {
66
+ scenariosL.push({
67
+ label: DocumentReaderScenario.fromJson(typeof scenariosTemp[i] === "string" ? JSON.parse(scenariosTemp[i]) : scenariosTemp[i]).name,
68
+ id: i
69
+ })
70
+ }
71
+ this.setState({ scenarios: scenariosL })
72
+ this.setState({ selectedScenario: this.state.scenarios[0]['label'] })
73
+ this.setState({ radio: null })
74
+ this.setState({
75
+ radio: < RadioGroup containerStyle = { styles.radio }
76
+ radioButtons = { this.state.scenarios }
77
+ onPress = {
78
+ (data) => {
79
+ var selectedItem
80
+ for (var index in data)
81
+ if (data[index]['selected'])
82
+ selectedItem = data[index]['label']
83
+ this.setState({ selectedScenario: selectedItem })
84
+ }
85
+ }
86
+ />
87
+ })
88
+ DocumentReader.getDocumentReaderIsReady((isReady) => {
89
+ if (isReady) {
90
+ this.setState({ fullName: "Ready" })
91
+ DocumentReader.setRfidDelegate(Enum.RFIDDelegate.NO_PA, (r) => {}, error => console.log(error))
92
+ // addCertificates()
93
+ } else
94
+ this.setState({ fullName: "Failed" })
95
+ }, error => console.log(error))
96
+ }, error => console.log(error))
97
+ }, error => console.log(error))
82
98
  })
83
- DocumentReader.getDocumentReaderIsReady((isReady) => {
84
- if (isReady) {
85
- this.setState({ fullName: "Ready" })
86
- DocumentReader.setRfidDelegate(Enum.RFIDDelegate.NO_PA, (r) => { }, error => console.log(error))
87
- // addCertificates()
88
- } else
89
- this.setState({ fullName: "Failed" })
90
- }, error => console.log(error))
91
- }, error => console.log(error))
92
99
  }, error => console.log(error))
93
- })
94
- }, error => console.log(error))
95
100
 
96
- this.state = {
97
- fullName: "Please wait...",
98
- doRfid: false,
99
- canRfid: false,
100
- canRfidTitle: '(unavailable)',
101
- scenarios: [],
102
- selectedScenario: "",
103
- portrait: require('./images/portrait.png'),
104
- docFront: require('./images/id.png'),
105
- radio: <RadioGroup containerStyle={styles.radio} radioButtons={[{ label: 'Loading', id: 0 }]} onPress={null} />
101
+ this.state = {
102
+ fullName: "Please wait...",
103
+ doRfid: false,
104
+ canRfid: false,
105
+ canRfidTitle: '(unavailable)',
106
+ scenarios: [],
107
+ selectedScenario: "",
108
+ portrait: require('./images/portrait.png'),
109
+ docFront: require('./images/id.png'),
110
+ radio: < RadioGroup containerStyle = { styles.radio }
111
+ radioButtons = {
112
+ [{ label: 'Loading', id: 0 }] }
113
+ onPress = { null }
114
+ />
115
+ }
106
116
  }
107
- }
108
117
 
109
- handleCompletion(completion) {
110
- if (this.state.isReadingRfid && (completion.action === Enum.DocReaderAction.CANCEL || completion.action === Enum.DocReaderAction.ERROR))
111
- this.hideRfidUI()
112
- if (this.state.isReadingRfid && completion.action === Enum.DocReaderAction.NOTIFICATION)
113
- this.updateRfidUI(completion.results.documentReaderNotification)
114
- if (completion.action === Enum.DocReaderAction.COMPLETE)
115
- if (this.state.isReadingRfid)
116
- if (completion.results.rfidResult !== 1)
117
- this.restartRfidUI()
118
- else {
119
- this.hideRfidUI()
120
- this.displayResults(completion.results)
121
- }
122
- else
123
- this.handleResults(completion.results)
124
- }
118
+ handleCompletion(completion) {
119
+ if (this.state.isReadingRfid && (completion.action === Enum.DocReaderAction.CANCEL || completion.action === Enum.DocReaderAction.ERROR))
120
+ this.hideRfidUI()
121
+ if (this.state.isReadingRfid && completion.action === Enum.DocReaderAction.NOTIFICATION)
122
+ this.updateRfidUI(completion.results.documentReaderNotification)
123
+ if (completion.action === Enum.DocReaderAction.COMPLETE)
124
+ if (this.state.isReadingRfid)
125
+ if (completion.results.rfidResult !== 1)
126
+ this.restartRfidUI()
127
+ else {
128
+ this.hideRfidUI()
129
+ this.displayResults(completion.results)
130
+ }
131
+ else
132
+ this.handleResults(completion.results)
133
+ }
125
134
 
126
- showRfidUI() {
127
- // show animation
128
- this.setState({ isReadingRfid: true })
129
- }
135
+ showRfidUI() {
136
+ // show animation
137
+ this.setState({ isReadingRfid: true })
138
+ }
130
139
 
131
- hideRfidUI() {
132
- // show animation
133
- this.restartRfidUI()
134
- this.setState({ isReadingRfid: false, rfidUIHeader: "Reading RFID", rfidUIHeaderColor: "black" })
135
- }
140
+ hideRfidUI() {
141
+ // show animation
142
+ this.restartRfidUI()
143
+ this.setState({ isReadingRfid: false, rfidUIHeader: "Reading RFID", rfidUIHeaderColor: "black" })
144
+ }
136
145
 
137
- restartRfidUI() {
138
- this.setState({ rfidUIHeaderColor: "red", rfidUIHeader: "Failed!", rfidDescription: "Place your phone on top of the NFC tag", rfidProgress: -1 })
139
- }
146
+ restartRfidUI() {
147
+ this.setState({ rfidUIHeaderColor: "red", rfidUIHeader: "Failed!", rfidDescription: "Place your phone on top of the NFC tag", rfidProgress: -1 })
148
+ }
140
149
 
141
- updateRfidUI(results) {
142
- if (results.code === Enum.eRFID_NotificationAndErrorCodes.RFID_NOTIFICATION_PCSC_READING_DATAGROUP)
143
- this.setState({ rfidDescription: Enum.eRFID_DataFile_Type.getTranslation(results.number) })
144
- this.setState({ rfidUIHeader: "Reading RFID", rfidUIHeaderColor: "black", rfidProgress: results.value / 100 })
145
- if (Platform.OS === 'ios')
146
- DocumentReader.setRfidSessionStatus(this.state.rfidDescription + "\n" + results.value + "%", e => { }, e => { })
147
- }
150
+ updateRfidUI(results) {
151
+ if (results.code === Enum.eRFID_NotificationCodes.RFID_NOTIFICATION_PCSC_READING_DATAGROUP)
152
+ this.setState({ rfidDescription: Enum.eRFID_DataFile_Type.getTranslation(results.number) })
153
+ this.setState({ rfidUIHeader: "Reading RFID", rfidUIHeaderColor: "black", rfidProgress: results.value / 100 })
154
+ if (Platform.OS === 'ios')
155
+ DocumentReader.setRfidSessionStatus(this.state.rfidDescription + "\n" + results.value + "%", e => {}, e => {})
156
+ }
148
157
 
149
- clearResults() {
150
- this.setState({ fullName: "Ready", docFront: require('./images/id.png'), portrait: require('./images/portrait.png') })
151
- }
158
+ clearResults() {
159
+ this.setState({ fullName: "Ready", docFront: require('./images/id.png'), portrait: require('./images/portrait.png') })
160
+ }
152
161
 
153
- displayResults(results) {
154
- this.setState({ fullName: results.getTextFieldValueByType({ fieldType: Enum.eVisualFieldType.FT_SURNAME_AND_GIVEN_NAMES }) })
155
- if (results.getGraphicFieldImageByType({ fieldType: Enum.eGraphicFieldType.GF_DOCUMENT_IMAGE }) != null)
156
- this.setState({ docFront: { uri: "data:image/png;base64," + results.getGraphicFieldImageByType({ fieldType: Enum.eGraphicFieldType.GF_DOCUMENT_IMAGE }) } })
157
- if (results.getGraphicFieldImageByType({ fieldType: Enum.eGraphicFieldType.GF_PORTRAIT }) != null)
158
- this.setState({ portrait: { uri: "data:image/png;base64," + results.getGraphicFieldImageByType({ fieldType: Enum.eGraphicFieldType.GF_PORTRAIT }) } })
159
- }
162
+ displayResults(results) {
163
+ this.setState({ fullName: results.getTextFieldValueByType({ fieldType: Enum.eVisualFieldType.FT_SURNAME_AND_GIVEN_NAMES }) })
164
+ if (results.getGraphicFieldImageByType({ fieldType: Enum.eGraphicFieldType.GF_DOCUMENT_IMAGE }) != null)
165
+ this.setState({ docFront: { uri: "data:image/png;base64," + results.getGraphicFieldImageByType({ fieldType: Enum.eGraphicFieldType.GF_DOCUMENT_IMAGE }) } })
166
+ if (results.getGraphicFieldImageByType({ fieldType: Enum.eGraphicFieldType.GF_PORTRAIT }) != null)
167
+ this.setState({ portrait: { uri: "data:image/png;base64," + results.getGraphicFieldImageByType({ fieldType: Enum.eGraphicFieldType.GF_PORTRAIT }) } })
168
+ }
160
169
 
161
- customRFID() {
162
- this.showRfidUI()
163
- DocumentReader.readRFID(e => { }, e => { })
164
- }
170
+ customRFID() {
171
+ this.showRfidUI()
172
+ DocumentReader.readRFID(e => {}, e => {})
173
+ }
165
174
 
166
- usualRFID() {
167
- this.setState({ doRfid: false })
168
- DocumentReader.startRFIDReader(e => { }, e => { })
169
- }
175
+ usualRFID() {
176
+ this.setState({ doRfid: false })
177
+ DocumentReader.startRFIDReader(e => {}, e => {})
178
+ }
170
179
 
171
- handleResults(results) {
172
- if (this.state.doRfid && results != null && results.chipPage != 0) {
173
- accessKey = null
174
- accessKey = results.getTextFieldValueByType(Enum.eVisualFieldType.FT_MRZ_STRINGS)
175
- if (accessKey != null && accessKey != "") {
176
- accessKey = accessKey.replace(/^/g, '').replace(/\n/g, '')
177
- DocumentReader.setRfidScenario({
178
- mrz: accessKey,
179
- pacePasswordType: Enum.eRFID_Password_Type.PPT_MRZ,
180
- }, e => { }, error => console.log(error))
181
- } else {
182
- accessKey = null
183
- accessKey = results.getTextFieldValueByType(159)
184
- if (accessKey != null && accessKey != "") {
185
- DocumentReader.setRfidScenario({
186
- password: accessKey,
187
- pacePasswordType: Enum.eRFID_Password_Type.PPT_CAN,
188
- }, e => { }, error => console.log(error))
189
- }
190
- }
191
- // this.customRFID()
192
- this.usualRFID()
193
- } else
194
- this.displayResults(results)
195
- }
180
+ handleResults(results) {
181
+ if (this.state.doRfid && results != null && results.chipPage != 0) {
182
+ accessKey = null
183
+ accessKey = results.getTextFieldValueByType(Enum.eVisualFieldType.FT_MRZ_STRINGS)
184
+ if (accessKey != null && accessKey != "") {
185
+ accessKey = accessKey.replace(/^/g, '').replace(/\n/g, '')
186
+ DocumentReader.setRfidScenario({
187
+ mrz: accessKey,
188
+ pacePasswordType: Enum.eRFID_Password_Type.PPT_MRZ,
189
+ }, e => {}, error => console.log(error))
190
+ } else {
191
+ accessKey = null
192
+ accessKey = results.getTextFieldValueByType(159)
193
+ if (accessKey != null && accessKey != "") {
194
+ DocumentReader.setRfidScenario({
195
+ password: accessKey,
196
+ pacePasswordType: Enum.eRFID_Password_Type.PPT_CAN,
197
+ }, e => {}, error => console.log(error))
198
+ }
199
+ }
200
+ // this.customRFID()
201
+ this.usualRFID()
202
+ } else
203
+ this.displayResults(results)
204
+ }
196
205
 
197
206
  render() {
198
207
  return (
@@ -374,4 +383,4 @@ const styles = StyleSheet.create({
374
383
  bottom: 0,
375
384
  right: 20
376
385
  }
377
- })
386
+ })
@@ -10,8 +10,8 @@
10
10
  "lint": "eslint ."
11
11
  },
12
12
  "dependencies": {
13
- "@regulaforensics/react-native-document-reader-api": "^6.1.1",
14
- "@regulaforensics/react-native-document-reader-core-fullrfid": "^6.1.0",
13
+ "@regulaforensics/react-native-document-reader-api": "^6.2.1",
14
+ "@regulaforensics/react-native-document-reader-core-fullrfid": "^6.2.1",
15
15
  "react": "17.0.2",
16
16
  "react-native": "^0.67.0",
17
17
  "react-native-check-box": "^2.1.7",