@regulaforensics/document-reader 9.9.1123-beta → 9.9.1134-rc
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/RNDocumentReader.podspec +21 -0
- package/android/build.gradle +2 -2
- package/android/cordova.gradle +2 -2
- package/app.plugin.js +2 -3
- package/examples/capacitor/package.json +1 -1
- package/examples/ionic/config.xml +1 -1
- package/examples/ionic/index.tsx +3 -8
- package/examples/{ionic-cocoapods → ionic}/package-lock.json +2335 -2277
- package/examples/ionic/package.json +31 -22
- package/examples/ionic/tsconfig.json +1 -0
- package/examples/react_native/app.config.ts +2 -1
- package/examples/react_native/package-lock.json +9185 -0
- package/examples/react_native/package.json +17 -12
- package/examples/react_native/vendor/image-size-metro-compat/index.cjs +16 -0
- package/examples/react_native/vendor/image-size-metro-compat/package.json +8 -0
- package/package.json +1 -1
- package/plugin.xml +11 -11
- package/test/package-lock.json +1 -1
- package/Package.swift +0 -27
- package/examples/ionic-cocoapods/README.md +0 -22
- package/examples/ionic-cocoapods/angular.json +0 -39
- package/examples/ionic-cocoapods/assets/.gitkeep +0 -0
- package/examples/ionic-cocoapods/config.xml +0 -63
- package/examples/ionic-cocoapods/images/document.png +0 -0
- package/examples/ionic-cocoapods/images/icon.png +0 -0
- package/examples/ionic-cocoapods/images/portrait.png +0 -0
- package/examples/ionic-cocoapods/index.html +0 -19
- package/examples/ionic-cocoapods/index.tsx +0 -58
- package/examples/ionic-cocoapods/ionic.config.json +0 -7
- package/examples/ionic-cocoapods/package.json +0 -58
- package/examples/ionic-cocoapods/scripts/android.sh +0 -8
- package/examples/ionic-cocoapods/scripts/ios.sh +0 -8
- package/examples/ionic-cocoapods/scripts/setup.sh +0 -8
- package/examples/ionic-cocoapods/src/extra/bt_device.tsx +0 -33
- package/examples/ionic-cocoapods/src/extra/custom_rfid.tsx +0 -61
- package/examples/ionic-cocoapods/src/main.css +0 -148
- package/examples/ionic-cocoapods/src/main.html +0 -38
- package/examples/ionic-cocoapods/src/main.tsx +0 -172
- package/examples/ionic-cocoapods/tsconfig.json +0 -14
- package/react-native-document-reader.podspec +0 -14
- /package/{Sources/document-reader/include/document-reader → ios}/CVDDocumentReader.h +0 -0
- /package/{Sources/document-reader → ios}/CVDDocumentReader.m +0 -0
- /package/{Sources/document-reader/include/document-reader → ios}/RGLWConfig.h +0 -0
- /package/{Sources/document-reader → ios}/RGLWConfig.m +0 -0
- /package/{Sources/document-reader/include/document-reader → ios}/RGLWJSONConstructor.h +0 -0
- /package/{Sources/document-reader → ios}/RGLWJSONConstructor.m +0 -0
- /package/{Sources/document-reader/include/document-reader → ios}/RGLWMain.h +0 -0
- /package/{Sources/document-reader → ios}/RGLWMain.m +0 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
require 'json'
|
|
2
|
+
|
|
3
|
+
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
|
|
4
|
+
source = File.join(__dir__, 'ios')
|
|
5
|
+
|
|
6
|
+
Pod::Spec.new do |s|
|
|
7
|
+
s.name = 'RNDocumentReader'
|
|
8
|
+
s.version = '9.9.1134-rc'
|
|
9
|
+
s.summary = package['description']
|
|
10
|
+
s.license = package['license']
|
|
11
|
+
|
|
12
|
+
s.authors = { 'RegulaForensics' => 'support@regulaforensics.com' }
|
|
13
|
+
s.homepage = 'https://regulaforensics.com'
|
|
14
|
+
|
|
15
|
+
s.source = { http: "file:#{source}" }
|
|
16
|
+
s.ios.deployment_target = '13.0'
|
|
17
|
+
s.source_files = 'ios/**/*.{h,m}'
|
|
18
|
+
s.exclude_files = [ 'ios/CVDDocumentReader.h', 'ios/CVDDocumentReader.m' ]
|
|
19
|
+
s.dependency 'DocumentReaderStage', '9.9.7005'
|
|
20
|
+
s.dependency 'React'
|
|
21
|
+
end
|
package/android/build.gradle
CHANGED
|
@@ -20,7 +20,7 @@ android {
|
|
|
20
20
|
rootProject.allprojects {
|
|
21
21
|
repositories {
|
|
22
22
|
maven {
|
|
23
|
-
url "https://maven.regulaforensics.com/RegulaDocumentReader"
|
|
23
|
+
url "https://maven.regulaforensics.com/RegulaDocumentReader/Stage"
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
}
|
|
@@ -29,7 +29,7 @@ dependencies {
|
|
|
29
29
|
//noinspection GradleDynamicVersion
|
|
30
30
|
implementation 'com.facebook.react:react-native:+'
|
|
31
31
|
//noinspection GradleDependency
|
|
32
|
-
implementation('com.regula.documentreader:api:9.
|
|
32
|
+
implementation('com.regula.documentreader:api:9.9.13392'){
|
|
33
33
|
transitive = true
|
|
34
34
|
}
|
|
35
35
|
}
|
package/android/cordova.gradle
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
repositories {
|
|
2
2
|
maven {
|
|
3
|
-
url "https://maven.regulaforensics.com/RegulaDocumentReader"
|
|
3
|
+
url "https://maven.regulaforensics.com/RegulaDocumentReader/Stage"
|
|
4
4
|
}
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
dependencies {
|
|
8
8
|
//noinspection GradleDependency
|
|
9
|
-
implementation('com.regula.documentreader:api:9.
|
|
9
|
+
implementation('com.regula.documentreader:api:9.9.13392'){
|
|
10
10
|
transitive = true
|
|
11
11
|
}
|
|
12
12
|
}
|
package/app.plugin.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
const { createRequire } = require('module');
|
|
2
|
-
const
|
|
3
|
-
const { withPodfile } = appRequire('expo/config-plugins');
|
|
1
|
+
const { createRequire } = require('module'); // passing vulnerability checks
|
|
2
|
+
const { withPodfile } = createRequire(process.cwd() + '/package.json')('@expo/config-plugins');
|
|
4
3
|
|
|
5
4
|
const SOURCES = [
|
|
6
5
|
'https://github.com/CocoaPods/Specs.git',
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"android": "scripts/android.sh"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@regulaforensics/document-reader": "9.9.
|
|
9
|
+
"@regulaforensics/document-reader": "9.9.1134-rc",
|
|
10
10
|
"@regulaforensics/document-reader-core-fullauthrfid": "9.8.2974",
|
|
11
11
|
"@regulaforensics/document-reader-btdevice": "9.8.68",
|
|
12
12
|
"@awesome-cordova-plugins/file": "^8.1.0",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
</platform>
|
|
19
19
|
<platform name="ios">
|
|
20
20
|
<resource-file src="assets/db.dat" />
|
|
21
|
-
<preference name="deployment-target" value="
|
|
21
|
+
<preference name="deployment-target" value="14.0" />
|
|
22
22
|
<preference name="orientation" value="portrait" />
|
|
23
23
|
<allow-intent href="itms:*" />
|
|
24
24
|
<allow-intent href="itms-apps:*" />
|
package/examples/ionic/index.tsx
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import 'zone.js';
|
|
2
2
|
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'
|
|
3
3
|
import { BrowserModule } from '@angular/platform-browser'
|
|
4
|
-
import { IonicModule } from '@ionic/angular
|
|
5
|
-
import {
|
|
6
|
-
import { NgModule, provideZoneChangeDetection } from '@angular/core'
|
|
4
|
+
import { IonicModule, Platform } from '@ionic/angular'
|
|
5
|
+
import { NgModule } from '@angular/core'
|
|
7
6
|
|
|
8
7
|
import { Component } from '@angular/core'
|
|
9
8
|
import { File } from '@awesome-cordova-plugins/file'
|
|
@@ -35,7 +34,6 @@ export async function pickImage(): Promise<string | null> {
|
|
|
35
34
|
var cameraInstance: Camera
|
|
36
35
|
@Component({
|
|
37
36
|
selector: 'app-root',
|
|
38
|
-
standalone: false,
|
|
39
37
|
templateUrl: 'src/main.html',
|
|
40
38
|
styleUrl: 'src/main.css'
|
|
41
39
|
})
|
|
@@ -52,12 +50,9 @@ class Main {
|
|
|
52
50
|
|
|
53
51
|
@NgModule({
|
|
54
52
|
bootstrap: [Main],
|
|
55
|
-
declarations: [Main],
|
|
56
53
|
providers: [Platform, Camera],
|
|
57
54
|
imports: [BrowserModule, IonicModule.forRoot()]
|
|
58
55
|
})
|
|
59
56
|
class MainModule { }
|
|
60
57
|
|
|
61
|
-
platformBrowserDynamic().bootstrapModule(MainModule
|
|
62
|
-
applicationProviders: [provideZoneChangeDetection()]
|
|
63
|
-
})
|
|
58
|
+
platformBrowserDynamic().bootstrapModule(MainModule)
|