@regulaforensics/react-native-document-reader-api 6.7.4 → 6.8.0
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.
- package/RNDocumentReaderApi.podspec +1 -1
- package/android/build.gradle +1 -1
- package/android/src/main/java/com/regula/documentreader/JSONConstructor.java +2 -0
- package/android/src/main/java/com/regula/documentreader/RNRegulaDocumentReaderModule.java +30 -0
- package/android/src/main/java/com/regula/documentreader/RegulaConfig.java +26 -0
- package/example/App.js +1 -0
- package/example/ios/DocumentReader.xcodeproj/project.pbxproj +2 -2
- package/example/package.json +2 -2
- package/index.d.ts +45 -4
- package/index.js +51 -4
- package/ios/RGLWJSONConstructor.h +1 -0
- package/ios/RGLWJSONConstructor.m +7 -0
- package/ios/{RegulaConfig.h → RGLWRegulaConfig.h} +3 -3
- package/ios/{RegulaConfig.m → RGLWRegulaConfig.m} +26 -4
- package/ios/RNRegulaDocumentReader.h +9 -3
- package/ios/RNRegulaDocumentReader.m +186 -158
- package/package.json +1 -1
|
@@ -2,13 +2,19 @@
|
|
|
2
2
|
#import <React/RCTEventEmitter.h>
|
|
3
3
|
#import <DocumentReader/DocumentReader.h>
|
|
4
4
|
#import "RGLWJSONConstructor.h"
|
|
5
|
-
#import "
|
|
5
|
+
#import "RGLWRegulaConfig.h"
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
typedef void (^RGLWCallback)(NSString* _Nullable response);
|
|
8
|
+
typedef void (^RGLWRFIDSignatureCallback)(NSData * _Nonnull signature);
|
|
9
|
+
|
|
10
|
+
@interface RNRegulaDocumentReader : RCTEventEmitter <RCTBridgeModule,
|
|
11
|
+
RGLRecordScanningProcessDelegate,
|
|
12
|
+
RGLDocReaderRFIDDelegate,
|
|
13
|
+
RGLCustomizationActionDelegate>
|
|
8
14
|
|
|
9
15
|
@property (class) NSNumber* _Nullable databasePercentageDownloaded;
|
|
10
16
|
|
|
11
17
|
@end
|
|
12
18
|
|
|
13
|
-
@interface
|
|
19
|
+
@interface RGLWRFIDDelegateNoPA : NSObject<RGLDocReaderRFIDDelegate>
|
|
14
20
|
@end
|