@regulaforensics/cordova-plugin-document-reader-api 6.9.0 → 7.1.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/README.md +10 -40
- package/example/README.md +32 -0
- package/example/config.xml +5 -1
- package/example/package.json +7 -10
- package/example/www/js/index.js +85 -160
- package/package.json +1 -1
- package/plugin.xml +8 -8
- package/src/android/BluetoothUtil.kt +78 -74
- package/src/android/Config.kt +690 -0
- package/src/android/DocumentReader.kt +525 -0
- package/src/android/JSONConstructor.kt +2187 -0
- package/src/android/Utils.kt +256 -0
- package/src/android/build.gradle +3 -3
- package/src/ios/RGLWConfig.h +48 -0
- package/src/ios/RGLWConfig.m +1325 -0
- package/src/ios/RGLWDocumentReader.h +11 -8
- package/src/ios/RGLWDocumentReader.m +388 -576
- package/src/ios/RGLWJSONConstructor.h +173 -69
- package/src/ios/RGLWJSONConstructor.m +1817 -762
- package/www/DocumentReader.js +241 -116
- package/src/android/DocumentReader.java +0 -1118
- package/src/android/Helpers.java +0 -259
- package/src/android/JSONConstructor.java +0 -1119
- package/src/android/RegulaConfig.java +0 -830
- package/src/ios/RGLWRegulaConfig.h +0 -26
- package/src/ios/RGLWRegulaConfig.m +0 -1152
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
#import <Cordova/CDVPlugin.h>
|
|
2
2
|
#import <Foundation/Foundation.h>
|
|
3
3
|
#import "RGLWJSONConstructor.h"
|
|
4
|
-
#import "
|
|
4
|
+
#import "RGLWConfig.h"
|
|
5
5
|
#import <DocumentReader/DocumentReader.h>
|
|
6
6
|
|
|
7
7
|
@class DocReader;
|
|
8
8
|
|
|
9
|
-
typedef void (^RGLWCallback)(
|
|
9
|
+
typedef void (^RGLWCallback)(id _Nullable response);
|
|
10
|
+
typedef void (^RGLWEventSender)(NSString* _Nonnull event, id _Nullable data);
|
|
11
|
+
typedef void (^RGLWRFIDSignatureCallback)(NSData * _Nonnull signature);
|
|
10
12
|
|
|
11
13
|
@interface RGLWDocumentReader : CDVPlugin<RGLRecordScanningProcessDelegate,
|
|
12
14
|
RGLDocReaderRFIDDelegate,
|
|
@@ -14,12 +16,13 @@ typedef void (^RGLWCallback)(NSString* _Nullable response);
|
|
|
14
16
|
|
|
15
17
|
@property (class) CDVInvokedUrlCommand* _Nullable command;
|
|
16
18
|
@property (class) NSNumber* _Nullable databasePercentageDownloaded;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
+
@property NSNumber* _Nonnull doRequestPACertificates;
|
|
20
|
+
@property NSNumber* _Nonnull doRequestTACertificates;
|
|
21
|
+
@property NSNumber* _Nonnull doRequestTASignature;
|
|
19
22
|
|
|
20
23
|
@end
|
|
21
24
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
25
|
+
NSString* _Nonnull RGLWCompletionEvent;
|
|
26
|
+
NSString* _Nonnull RGLWDatabaseProgressEvent;
|
|
27
|
+
NSString* _Nonnull RGLWVideoEncoderCompletionEvent;
|
|
28
|
+
NSString* _Nonnull RGLWOnCustomButtonTappedEvent;
|