@regulaforensics/document-reader 9.9.1155-beta → 9.9.1162-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/README.md +1 -3
- package/RNDocumentReader.podspec +21 -0
- package/android/CVDDocumentReader.kt +3 -4
- package/android/build.gradle +36 -0
- package/android/cordova.gradle +12 -0
- package/android/src/main/kotlin/com/regula/plugin/{document/reader → documentreader}/BluetoothUtil.kt +1 -1
- package/android/src/main/kotlin/com/regula/plugin/{document/reader → documentreader}/Config.kt +3 -3
- package/android/src/main/kotlin/com/regula/plugin/{document/reader → documentreader}/JSONConstructor.kt +4 -4
- package/android/src/main/kotlin/com/regula/plugin/{document/reader → documentreader}/Main.kt +3 -3
- package/android/src/main/kotlin/com/regula/plugin/{document/reader → documentreader}/RNDocumentReaderModule.kt +3 -4
- package/android/src/main/kotlin/com/regula/plugin/{document/reader → documentreader}/Utils.kt +1 -1
- package/app.plugin.js +7 -10
- package/examples/capacitor/README.md +0 -2
- package/examples/capacitor/android/app/build.gradle +10 -1
- package/examples/capacitor/android/app/src/main/AndroidManifest.xml +0 -9
- package/examples/capacitor/android/build.gradle +3 -12
- package/examples/capacitor/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/examples/capacitor/android/gradle/wrapper/gradle-wrapper.properties +1 -1
- package/examples/capacitor/android/gradle.properties +0 -4
- package/examples/capacitor/android/gradlew +7 -4
- package/examples/capacitor/android/gradlew.bat +24 -12
- package/examples/capacitor/android/variables.gradle +9 -13
- package/examples/capacitor/index.tsx +23 -15
- package/examples/capacitor/ios/App/App/AppDelegate.swift +40 -5
- package/examples/capacitor/ios/App/App/Info.plist +2 -19
- package/examples/capacitor/ios/App/App.xcodeproj/project.pbxproj +86 -30
- package/examples/capacitor/package.json +18 -13
- package/examples/capacitor/scripts/android.sh +8 -5
- package/examples/capacitor/scripts/ios.sh +7 -5
- package/examples/capacitor/scripts/setup.sh +7 -2
- package/examples/capacitor/src/main.css +0 -5
- package/examples/capacitor/vite.config.ts +12 -0
- package/examples/ionic/README.md +0 -2
- package/examples/ionic/config.xml +1 -1
- package/examples/ionic/index.tsx +3 -8
- package/examples/ionic/package-lock.json +7536 -6029
- package/examples/ionic/package.json +33 -24
- package/examples/ionic/scripts/android.sh +2 -0
- package/examples/ionic/scripts/ios.sh +2 -0
- package/examples/ionic/scripts/setup.sh +2 -0
- package/examples/ionic/tsconfig.json +1 -0
- package/examples/react_native/README.md +0 -2
- package/examples/react_native/app.config.ts +2 -1
- package/examples/react_native/package-lock.json +4015 -2002
- package/examples/react_native/package.json +19 -14
- package/examples/react_native/scripts/android.sh +3 -3
- package/examples/react_native/scripts/ios.sh +3 -3
- package/examples/react_native/scripts/setup.sh +3 -4
- 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 +12 -12
- package/test/package-lock.json +1 -1
- package/Package.swift +0 -28
- package/android/build.gradle.kts +0 -37
- package/android/cordova.gradle.kts +0 -13
- package/examples/capacitor/android/app/src/main/res/xml/file_paths.xml +0 -5
- package/examples/capacitor/capacitor.config.json +0 -15
- package/examples/capacitor/ios/App/App/SceneDelegate.swift +0 -23
- package/examples/capacitor/ios/App/CapApp-SPM/Sources/CapApp-SPM/CapApp-SPM.swift +0 -1
- package/examples/capacitor-cocoapods/README.md +0 -22
- package/examples/capacitor-cocoapods/android/app/build.gradle +0 -50
- package/examples/capacitor-cocoapods/android/app/proguard-rules.pro +0 -21
- package/examples/capacitor-cocoapods/android/app/src/main/AndroidManifest.xml +0 -27
- package/examples/capacitor-cocoapods/android/app/src/main/assets/Regula/.gitkeep +0 -0
- package/examples/capacitor-cocoapods/android/app/src/main/java/com/regula/example/dr/capacitor/MainActivity.java +0 -5
- package/examples/capacitor-cocoapods/android/app/src/main/res/drawable/ic_launcher.png +0 -0
- package/examples/capacitor-cocoapods/android/app/src/main/res/drawable/ic_launcher_foreground.png +0 -0
- package/examples/capacitor-cocoapods/android/app/src/main/res/drawable/ic_launcher_round.png +0 -0
- package/examples/capacitor-cocoapods/android/app/src/main/res/drawable/launcher.xml +0 -4
- package/examples/capacitor-cocoapods/android/app/src/main/res/drawable/launcher_round.xml +0 -4
- package/examples/capacitor-cocoapods/android/app/src/main/res/drawable/splash.png +0 -0
- package/examples/capacitor-cocoapods/android/app/src/main/res/layout/activity_main.xml +0 -12
- package/examples/capacitor-cocoapods/android/app/src/main/res/values/styles.xml +0 -22
- package/examples/capacitor-cocoapods/android/build.gradle +0 -30
- package/examples/capacitor-cocoapods/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/examples/capacitor-cocoapods/android/gradle/wrapper/gradle-wrapper.properties +0 -7
- package/examples/capacitor-cocoapods/android/gradle.properties +0 -22
- package/examples/capacitor-cocoapods/android/gradlew +0 -251
- package/examples/capacitor-cocoapods/android/gradlew.bat +0 -94
- package/examples/capacitor-cocoapods/android/settings.gradle +0 -5
- package/examples/capacitor-cocoapods/android/variables.gradle +0 -16
- package/examples/capacitor-cocoapods/index.html +0 -5
- package/examples/capacitor-cocoapods/index.tsx +0 -39
- package/examples/capacitor-cocoapods/ios/App/App/App.entitlements +0 -10
- package/examples/capacitor-cocoapods/ios/App/App/AppDelegate.swift +0 -49
- package/examples/capacitor-cocoapods/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-512@2x.png +0 -0
- package/examples/capacitor-cocoapods/ios/App/App/Assets.xcassets/AppIcon.appiconset/Contents.json +0 -14
- package/examples/capacitor-cocoapods/ios/App/App/Assets.xcassets/Contents.json +0 -6
- package/examples/capacitor-cocoapods/ios/App/App/Assets.xcassets/Splash.imageset/Contents.json +0 -23
- package/examples/capacitor-cocoapods/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-1.png +0 -0
- package/examples/capacitor-cocoapods/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-2.png +0 -0
- package/examples/capacitor-cocoapods/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732.png +0 -0
- package/examples/capacitor-cocoapods/ios/App/App/Base.lproj/LaunchScreen.storyboard +0 -32
- package/examples/capacitor-cocoapods/ios/App/App/Info.plist +0 -69
- package/examples/capacitor-cocoapods/ios/App/App.xcodeproj/project.pbxproj +0 -430
- package/examples/capacitor-cocoapods/ios/App/App.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -7
- package/examples/capacitor-cocoapods/package.json +0 -30
- package/examples/capacitor-cocoapods/public/assets/.gitkeep +0 -0
- package/examples/capacitor-cocoapods/public/images/document.png +0 -0
- package/examples/capacitor-cocoapods/public/images/portrait.png +0 -0
- package/examples/capacitor-cocoapods/scripts/android.sh +0 -11
- package/examples/capacitor-cocoapods/scripts/ios.sh +0 -10
- package/examples/capacitor-cocoapods/scripts/setup.sh +0 -14
- package/examples/capacitor-cocoapods/src/extra/bt_device.tsx +0 -33
- package/examples/capacitor-cocoapods/src/extra/custom_rfid.tsx +0 -61
- package/examples/capacitor-cocoapods/src/main.css +0 -148
- package/examples/capacitor-cocoapods/src/main.html +0 -38
- package/examples/capacitor-cocoapods/src/main.tsx +0 -172
- package/examples/capacitor-cocoapods/tsconfig.json +0 -5
- package/examples/capacitor-cocoapods/vite.config.ts +0 -17
- 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-lock.json +0 -16579
- 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/ios/module.modulemap +0 -7
- package/react-native-document-reader.podspec +0 -14
- /package/examples/{capacitor-cocoapods → capacitor}/android/app/capacitor.build.gradle +0 -0
- /package/examples/{capacitor-cocoapods → capacitor}/android/capacitor.settings.gradle +0 -0
- /package/examples/{capacitor-cocoapods → capacitor}/ionic.config.json +0 -0
- /package/examples/{capacitor-cocoapods → capacitor}/ios/App/App/Base.lproj/Main.storyboard +0 -0
- /package/examples/{capacitor-cocoapods → capacitor}/ios/App/App.xcworkspace/contents.xcworkspacedata +0 -0
- /package/examples/{capacitor-cocoapods → capacitor}/ios/App/App.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -0
- /package/examples/{capacitor-cocoapods → capacitor}/ios/App/Podfile +0 -0
- /package/examples/{capacitor-cocoapods → capacitor}/ios/App/Podfile.lock +0 -0
- /package/examples/{capacitor-cocoapods → capacitor}/package-lock.json +0 -0
|
@@ -3,33 +3,36 @@
|
|
|
3
3
|
archiveVersion = 1;
|
|
4
4
|
classes = {
|
|
5
5
|
};
|
|
6
|
-
objectVersion =
|
|
6
|
+
objectVersion = 48;
|
|
7
7
|
objects = {
|
|
8
8
|
|
|
9
9
|
/* Begin PBXBuildFile section */
|
|
10
|
-
9582B6832FE993A70072D4E8 /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9582B6822FE993A50072D4E8 /* SceneDelegate.swift */; };
|
|
11
|
-
4D22ABE92AF431CB00220026 /* CapApp-SPM in Frameworks */ = {isa = PBXBuildFile; productRef = 4D22ABE82AF431CB00220026 /* CapApp-SPM */; };
|
|
12
10
|
2FAD9763203C412B000D30F8 /* config.xml in Resources */ = {isa = PBXBuildFile; fileRef = 2FAD9762203C412B000D30F8 /* config.xml */; };
|
|
13
11
|
50379B232058CBB4000EE86E /* capacitor.config.json in Resources */ = {isa = PBXBuildFile; fileRef = 50379B222058CBB4000EE86E /* capacitor.config.json */; };
|
|
14
12
|
504EC3081FED79650016851F /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 504EC3071FED79650016851F /* AppDelegate.swift */; };
|
|
13
|
+
504EC30D1FED79650016851F /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 504EC30B1FED79650016851F /* Main.storyboard */; };
|
|
15
14
|
504EC30F1FED79650016851F /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 504EC30E1FED79650016851F /* Assets.xcassets */; };
|
|
16
15
|
504EC3121FED79650016851F /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 504EC3101FED79650016851F /* LaunchScreen.storyboard */; };
|
|
17
16
|
50B271D11FEDC1A000F3C39B /* public in Resources */ = {isa = PBXBuildFile; fileRef = 50B271D01FEDC1A000F3C39B /* public */; };
|
|
17
|
+
A084ECDBA7D38E1E42DFC39D /* Pods_App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AF277DCFFFF123FFC6DF26C7 /* Pods_App.framework */; };
|
|
18
18
|
C3C12F0D2DEDD3AA0068B75D /* db.dat in Resources */ = {isa = PBXBuildFile; fileRef = C3C12F0C2DEDD3AA0068B75D /* db.dat */; };
|
|
19
19
|
/* End PBXBuildFile section */
|
|
20
20
|
|
|
21
21
|
/* Begin PBXFileReference section */
|
|
22
|
-
9582B6822FE993A50072D4E8 /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = "<group>"; };
|
|
23
22
|
2FAD9762203C412B000D30F8 /* config.xml */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = config.xml; sourceTree = "<group>"; };
|
|
24
23
|
34ADEF8A2B6C25C900B38C44 /* App.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = App.entitlements; sourceTree = "<group>"; };
|
|
25
24
|
50379B222058CBB4000EE86E /* capacitor.config.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = capacitor.config.json; sourceTree = "<group>"; };
|
|
26
25
|
504EC3041FED79650016851F /* App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = App.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
27
26
|
504EC3071FED79650016851F /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
|
|
27
|
+
504EC30C1FED79650016851F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
|
|
28
28
|
504EC30E1FED79650016851F /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
|
|
29
29
|
504EC3111FED79650016851F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
|
|
30
30
|
504EC3131FED79650016851F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
|
31
31
|
50B271D01FEDC1A000F3C39B /* public */ = {isa = PBXFileReference; lastKnownFileType = folder; path = public; sourceTree = "<group>"; };
|
|
32
|
+
AF277DCFFFF123FFC6DF26C7 /* Pods_App.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_App.framework; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
33
|
+
AF51FD2D460BCFE21FA515B2 /* Pods-App.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-App.release.xcconfig"; path = "Pods/Target Support Files/Pods-App/Pods-App.release.xcconfig"; sourceTree = "<group>"; };
|
|
32
34
|
C3C12F0C2DEDD3AA0068B75D /* db.dat */ = {isa = PBXFileReference; lastKnownFileType = file; path = db.dat; sourceTree = "<group>"; };
|
|
35
|
+
FC68EB0AF532CFC21C3344DD /* Pods-App.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-App.debug.xcconfig"; path = "Pods/Target Support Files/Pods-App/Pods-App.debug.xcconfig"; sourceTree = "<group>"; };
|
|
33
36
|
/* End PBXFileReference section */
|
|
34
37
|
|
|
35
38
|
/* Begin PBXFrameworksBuildPhase section */
|
|
@@ -37,7 +40,7 @@
|
|
|
37
40
|
isa = PBXFrameworksBuildPhase;
|
|
38
41
|
buildActionMask = 2147483647;
|
|
39
42
|
files = (
|
|
40
|
-
|
|
43
|
+
A084ECDBA7D38E1E42DFC39D /* Pods_App.framework in Frameworks */,
|
|
41
44
|
);
|
|
42
45
|
runOnlyForDeploymentPostprocessing = 0;
|
|
43
46
|
};
|
|
@@ -47,6 +50,7 @@
|
|
|
47
50
|
27E2DDA53C4D2A4D1A88CE4A /* Frameworks */ = {
|
|
48
51
|
isa = PBXGroup;
|
|
49
52
|
children = (
|
|
53
|
+
AF277DCFFFF123FFC6DF26C7 /* Pods_App.framework */,
|
|
50
54
|
);
|
|
51
55
|
name = Frameworks;
|
|
52
56
|
sourceTree = "<group>";
|
|
@@ -56,6 +60,7 @@
|
|
|
56
60
|
children = (
|
|
57
61
|
504EC3061FED79650016851F /* App */,
|
|
58
62
|
504EC3051FED79650016851F /* Products */,
|
|
63
|
+
7F8756D8B27F46E3366F6CEA /* Pods */,
|
|
59
64
|
27E2DDA53C4D2A4D1A88CE4A /* Frameworks */,
|
|
60
65
|
);
|
|
61
66
|
sourceTree = "<group>";
|
|
@@ -74,7 +79,7 @@
|
|
|
74
79
|
34ADEF8A2B6C25C900B38C44 /* App.entitlements */,
|
|
75
80
|
50379B222058CBB4000EE86E /* capacitor.config.json */,
|
|
76
81
|
504EC3071FED79650016851F /* AppDelegate.swift */,
|
|
77
|
-
|
|
82
|
+
504EC30B1FED79650016851F /* Main.storyboard */,
|
|
78
83
|
504EC30E1FED79650016851F /* Assets.xcassets */,
|
|
79
84
|
504EC3101FED79650016851F /* LaunchScreen.storyboard */,
|
|
80
85
|
504EC3131FED79650016851F /* Info.plist */,
|
|
@@ -85,6 +90,15 @@
|
|
|
85
90
|
path = App;
|
|
86
91
|
sourceTree = "<group>";
|
|
87
92
|
};
|
|
93
|
+
7F8756D8B27F46E3366F6CEA /* Pods */ = {
|
|
94
|
+
isa = PBXGroup;
|
|
95
|
+
children = (
|
|
96
|
+
FC68EB0AF532CFC21C3344DD /* Pods-App.debug.xcconfig */,
|
|
97
|
+
AF51FD2D460BCFE21FA515B2 /* Pods-App.release.xcconfig */,
|
|
98
|
+
);
|
|
99
|
+
name = Pods;
|
|
100
|
+
sourceTree = "<group>";
|
|
101
|
+
};
|
|
88
102
|
/* End PBXGroup section */
|
|
89
103
|
|
|
90
104
|
/* Begin PBXNativeTarget section */
|
|
@@ -92,18 +106,18 @@
|
|
|
92
106
|
isa = PBXNativeTarget;
|
|
93
107
|
buildConfigurationList = 504EC3161FED79650016851F /* Build configuration list for PBXNativeTarget "App" */;
|
|
94
108
|
buildPhases = (
|
|
109
|
+
6634F4EFEBD30273BCE97C65 /* [CP] Check Pods Manifest.lock */,
|
|
95
110
|
504EC3001FED79650016851F /* Sources */,
|
|
96
111
|
504EC3011FED79650016851F /* Frameworks */,
|
|
97
112
|
504EC3021FED79650016851F /* Resources */,
|
|
113
|
+
9592DBEFFC6D2A0C8D5DEB22 /* [CP] Embed Pods Frameworks */,
|
|
114
|
+
2D88F7C878728A28B89ACF35 /* [CP] Copy Pods Resources */,
|
|
98
115
|
);
|
|
99
116
|
buildRules = (
|
|
100
117
|
);
|
|
101
118
|
dependencies = (
|
|
102
119
|
);
|
|
103
120
|
name = App;
|
|
104
|
-
packageProductDependencies = (
|
|
105
|
-
4D22ABE82AF431CB00220026 /* CapApp-SPM */,
|
|
106
|
-
);
|
|
107
121
|
productName = App;
|
|
108
122
|
productReference = 504EC3041FED79650016851F /* App.app */;
|
|
109
123
|
productType = "com.apple.product-type.application";
|
|
@@ -125,7 +139,7 @@
|
|
|
125
139
|
};
|
|
126
140
|
};
|
|
127
141
|
buildConfigurationList = 504EC2FF1FED79650016851F /* Build configuration list for PBXProject "App" */;
|
|
128
|
-
compatibilityVersion = "Xcode
|
|
142
|
+
compatibilityVersion = "Xcode 8.0";
|
|
129
143
|
developmentRegion = en;
|
|
130
144
|
hasScannedForEncodings = 0;
|
|
131
145
|
knownRegions = (
|
|
@@ -134,9 +148,6 @@
|
|
|
134
148
|
);
|
|
135
149
|
mainGroup = 504EC2FB1FED79650016851F;
|
|
136
150
|
productRefGroup = 504EC3051FED79650016851F /* Products */;
|
|
137
|
-
packageReferences = (
|
|
138
|
-
D4C12C0A2AAA248700AAC8A2 /* XCLocalSwiftPackageReference "CapApp-SPM" */,
|
|
139
|
-
);
|
|
140
151
|
projectDirPath = "";
|
|
141
152
|
projectRoot = "";
|
|
142
153
|
targets = (
|
|
@@ -154,6 +165,7 @@
|
|
|
154
165
|
50B271D11FEDC1A000F3C39B /* public in Resources */,
|
|
155
166
|
504EC30F1FED79650016851F /* Assets.xcassets in Resources */,
|
|
156
167
|
50379B232058CBB4000EE86E /* capacitor.config.json in Resources */,
|
|
168
|
+
504EC30D1FED79650016851F /* Main.storyboard in Resources */,
|
|
157
169
|
2FAD9763203C412B000D30F8 /* config.xml in Resources */,
|
|
158
170
|
C3C12F0D2DEDD3AA0068B75D /* db.dat in Resources */,
|
|
159
171
|
);
|
|
@@ -161,6 +173,56 @@
|
|
|
161
173
|
};
|
|
162
174
|
/* End PBXResourcesBuildPhase section */
|
|
163
175
|
|
|
176
|
+
/* Begin PBXShellScriptBuildPhase section */
|
|
177
|
+
2D88F7C878728A28B89ACF35 /* [CP] Copy Pods Resources */ = {
|
|
178
|
+
isa = PBXShellScriptBuildPhase;
|
|
179
|
+
buildActionMask = 2147483647;
|
|
180
|
+
files = (
|
|
181
|
+
);
|
|
182
|
+
inputPaths = (
|
|
183
|
+
);
|
|
184
|
+
name = "[CP] Copy Pods Resources";
|
|
185
|
+
outputPaths = (
|
|
186
|
+
);
|
|
187
|
+
runOnlyForDeploymentPostprocessing = 0;
|
|
188
|
+
shellPath = /bin/sh;
|
|
189
|
+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-App/Pods-App-resources.sh\"\n";
|
|
190
|
+
showEnvVarsInLog = 0;
|
|
191
|
+
};
|
|
192
|
+
6634F4EFEBD30273BCE97C65 /* [CP] Check Pods Manifest.lock */ = {
|
|
193
|
+
isa = PBXShellScriptBuildPhase;
|
|
194
|
+
buildActionMask = 2147483647;
|
|
195
|
+
files = (
|
|
196
|
+
);
|
|
197
|
+
inputPaths = (
|
|
198
|
+
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
|
|
199
|
+
"${PODS_ROOT}/Manifest.lock",
|
|
200
|
+
);
|
|
201
|
+
name = "[CP] Check Pods Manifest.lock";
|
|
202
|
+
outputPaths = (
|
|
203
|
+
"$(DERIVED_FILE_DIR)/Pods-App-checkManifestLockResult.txt",
|
|
204
|
+
);
|
|
205
|
+
runOnlyForDeploymentPostprocessing = 0;
|
|
206
|
+
shellPath = /bin/sh;
|
|
207
|
+
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
|
|
208
|
+
showEnvVarsInLog = 0;
|
|
209
|
+
};
|
|
210
|
+
9592DBEFFC6D2A0C8D5DEB22 /* [CP] Embed Pods Frameworks */ = {
|
|
211
|
+
isa = PBXShellScriptBuildPhase;
|
|
212
|
+
buildActionMask = 2147483647;
|
|
213
|
+
files = (
|
|
214
|
+
);
|
|
215
|
+
inputPaths = (
|
|
216
|
+
);
|
|
217
|
+
name = "[CP] Embed Pods Frameworks";
|
|
218
|
+
outputPaths = (
|
|
219
|
+
);
|
|
220
|
+
runOnlyForDeploymentPostprocessing = 0;
|
|
221
|
+
shellPath = /bin/sh;
|
|
222
|
+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-App/Pods-App-frameworks.sh\"\n";
|
|
223
|
+
showEnvVarsInLog = 0;
|
|
224
|
+
};
|
|
225
|
+
/* End PBXShellScriptBuildPhase section */
|
|
164
226
|
|
|
165
227
|
/* Begin PBXSourcesBuildPhase section */
|
|
166
228
|
504EC3001FED79650016851F /* Sources */ = {
|
|
@@ -168,13 +230,20 @@
|
|
|
168
230
|
buildActionMask = 2147483647;
|
|
169
231
|
files = (
|
|
170
232
|
504EC3081FED79650016851F /* AppDelegate.swift in Sources */,
|
|
171
|
-
9582B6832FE993A70072D4E8 /* SceneDelegate.swift in Sources */,
|
|
172
233
|
);
|
|
173
234
|
runOnlyForDeploymentPostprocessing = 0;
|
|
174
235
|
};
|
|
175
236
|
/* End PBXSourcesBuildPhase section */
|
|
176
237
|
|
|
177
238
|
/* Begin PBXVariantGroup section */
|
|
239
|
+
504EC30B1FED79650016851F /* Main.storyboard */ = {
|
|
240
|
+
isa = PBXVariantGroup;
|
|
241
|
+
children = (
|
|
242
|
+
504EC30C1FED79650016851F /* Base */,
|
|
243
|
+
);
|
|
244
|
+
name = Main.storyboard;
|
|
245
|
+
sourceTree = "<group>";
|
|
246
|
+
};
|
|
178
247
|
504EC3101FED79650016851F /* LaunchScreen.storyboard */ = {
|
|
179
248
|
isa = PBXVariantGroup;
|
|
180
249
|
children = (
|
|
@@ -239,7 +308,6 @@
|
|
|
239
308
|
ONLY_ACTIVE_ARCH = YES;
|
|
240
309
|
SDKROOT = iphoneos;
|
|
241
310
|
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
|
|
242
|
-
CAPACITOR_DEBUG = true;
|
|
243
311
|
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
|
244
312
|
};
|
|
245
313
|
name = Debug;
|
|
@@ -296,6 +364,7 @@
|
|
|
296
364
|
};
|
|
297
365
|
504EC3171FED79650016851F /* Debug */ = {
|
|
298
366
|
isa = XCBuildConfiguration;
|
|
367
|
+
baseConfigurationReference = FC68EB0AF532CFC21C3344DD /* Pods-App.debug.xcconfig */;
|
|
299
368
|
buildSettings = {
|
|
300
369
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
|
301
370
|
CODE_SIGN_ENTITLEMENTS = App/App.entitlements;
|
|
@@ -305,10 +374,10 @@
|
|
|
305
374
|
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
|
|
306
375
|
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
|
307
376
|
MARKETING_VERSION = 1.0;
|
|
377
|
+
OTHER_SWIFT_FLAGS = "$(inherited) \"-D\" \"COCOAPODS\" \"-DDEBUG\"";
|
|
308
378
|
PRODUCT_BUNDLE_IDENTIFIER = com.regula.example.dr.capacitor;
|
|
309
379
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
310
380
|
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
|
|
311
|
-
CAPACITOR_DEBUG = true;
|
|
312
381
|
SWIFT_VERSION = 5.0;
|
|
313
382
|
TARGETED_DEVICE_FAMILY = "1,2";
|
|
314
383
|
};
|
|
@@ -316,6 +385,7 @@
|
|
|
316
385
|
};
|
|
317
386
|
504EC3181FED79650016851F /* Release */ = {
|
|
318
387
|
isa = XCBuildConfiguration;
|
|
388
|
+
baseConfigurationReference = AF51FD2D460BCFE21FA515B2 /* Pods-App.release.xcconfig */;
|
|
319
389
|
buildSettings = {
|
|
320
390
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
|
321
391
|
CODE_SIGN_ENTITLEMENTS = App/App.entitlements;
|
|
@@ -355,20 +425,6 @@
|
|
|
355
425
|
defaultConfigurationName = Release;
|
|
356
426
|
};
|
|
357
427
|
/* End XCConfigurationList section */
|
|
358
|
-
/* Begin XCLocalSwiftPackageReference section */
|
|
359
|
-
D4C12C0A2AAA248700AAC8A2 /* XCLocalSwiftPackageReference "CapApp-SPM" */ = {
|
|
360
|
-
isa = XCLocalSwiftPackageReference;
|
|
361
|
-
relativePath = "CapApp-SPM";
|
|
362
|
-
};
|
|
363
|
-
/* End XCLocalSwiftPackageReference section */
|
|
364
|
-
|
|
365
|
-
/* Begin XCSwiftPackageProductDependency section */
|
|
366
|
-
4D22ABE82AF431CB00220026 /* CapApp-SPM */ = {
|
|
367
|
-
isa = XCSwiftPackageProductDependency;
|
|
368
|
-
package = D4C12C0A2AAA248700AAC8A2 /* XCLocalSwiftPackageReference "CapApp-SPM" */;
|
|
369
|
-
productName = "CapApp-SPM";
|
|
370
|
-
};
|
|
371
|
-
/* End XCSwiftPackageProductDependency section */
|
|
372
428
|
};
|
|
373
429
|
rootObject = 504EC2FC1FED79650016851F /* Project object */;
|
|
374
430
|
}
|
|
@@ -1,25 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "document-reader",
|
|
3
|
-
"type": "module",
|
|
4
3
|
"scripts": {
|
|
5
4
|
"setup": "scripts/setup.sh",
|
|
6
5
|
"ios": "scripts/ios.sh",
|
|
7
6
|
"android": "scripts/android.sh"
|
|
8
7
|
},
|
|
9
8
|
"dependencies": {
|
|
10
|
-
"@regulaforensics/document-reader": "9.9.
|
|
11
|
-
"@regulaforensics/document-reader-core-fullauthrfid": "9.8.
|
|
12
|
-
"@regulaforensics/document-reader-btdevice": "9.
|
|
13
|
-
"@
|
|
14
|
-
"@
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"@capacitor/
|
|
18
|
-
"
|
|
9
|
+
"@regulaforensics/document-reader": "9.9.1162-rc",
|
|
10
|
+
"@regulaforensics/document-reader-core-fullauthrfid": "9.8.2974",
|
|
11
|
+
"@regulaforensics/document-reader-btdevice": "9.8.68",
|
|
12
|
+
"@awesome-cordova-plugins/file": "^8.1.0",
|
|
13
|
+
"@awesome-cordova-plugins/camera": "^8.1.0",
|
|
14
|
+
"cordova-plugin-file": "^8.1.3",
|
|
15
|
+
"cordova-plugin-camera": "^8.0.0",
|
|
16
|
+
"@capacitor/cli": "^8.0.2",
|
|
17
|
+
"@capacitor/core": "^8.0.2",
|
|
18
|
+
"@capacitor/app": "^8.0.0",
|
|
19
|
+
"@capacitor/ios": "^8.0.2",
|
|
20
|
+
"@capacitor/android": "^8.0.2",
|
|
21
|
+
"@capacitor/status-bar": "^8.0.0",
|
|
22
|
+
"@ionic/react": "^8.7.17",
|
|
23
|
+
"@vitejs/plugin-react": "^5.1.2",
|
|
24
|
+
"vite-plugin-static-copy": "^3.2.0",
|
|
25
|
+
"@types/react-router-dom": "^5.3.3"
|
|
19
26
|
},
|
|
20
27
|
"overrides": {
|
|
21
|
-
"
|
|
22
|
-
"uuid": "^11.1.1"
|
|
23
|
-
}
|
|
28
|
+
"esbuild": "^0.28.1"
|
|
24
29
|
}
|
|
25
30
|
}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
set -e
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
if [[ " $* " == *" --open "* ]] || [[ " $* " == *" -o "* ]]; then
|
|
5
|
+
ionic cap sync android
|
|
6
|
+
open -a 'Android Studio' android
|
|
7
|
+
else
|
|
8
|
+
ionic cap run android
|
|
9
|
+
fi
|
|
10
|
+
|
|
11
|
+
exit 0
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
set -e
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
if [[ " $* " == *" --open "* ]] || [[ " $* " == *" -o "* ]]; then
|
|
5
|
+
ionic cap run ios --open
|
|
6
|
+
else
|
|
7
|
+
ionic cap run ios
|
|
8
|
+
fi
|
|
9
|
+
|
|
10
|
+
exit 0
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
html,
|
|
2
2
|
body {
|
|
3
3
|
margin: 0;
|
|
4
|
-
font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Roboto, sans-serif;
|
|
5
4
|
width: 100%;
|
|
6
5
|
height: 99vh;
|
|
7
6
|
display: flex;
|
|
@@ -9,10 +8,6 @@ body {
|
|
|
9
8
|
flex-direction: column;
|
|
10
9
|
}
|
|
11
10
|
|
|
12
|
-
* {
|
|
13
|
-
box-sizing: border-box;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
11
|
/* Prevent text selection */
|
|
17
12
|
* {
|
|
18
13
|
user-select: none !important;
|
|
@@ -1,5 +1,17 @@
|
|
|
1
|
+
import react from '@vitejs/plugin-react'
|
|
1
2
|
import { defineConfig } from 'vite'
|
|
3
|
+
import { viteStaticCopy } from 'vite-plugin-static-copy';
|
|
2
4
|
|
|
3
5
|
export default defineConfig({
|
|
6
|
+
plugins: [
|
|
7
|
+
react(),
|
|
8
|
+
viteStaticCopy({
|
|
9
|
+
targets: [
|
|
10
|
+
{
|
|
11
|
+
src: 'src/main.html',
|
|
12
|
+
dest: '.'
|
|
13
|
+
}
|
|
14
|
+
]
|
|
15
|
+
})],
|
|
4
16
|
build: { outDir: 'www' }
|
|
5
17
|
})
|
package/examples/ionic/README.md
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
# Regula Document Reader Ionic demo application
|
|
2
2
|
|
|
3
|
-
Requires Node.js 22+, Xcode 26+, Android Studio with JDK 17 and Android SDK 36.
|
|
4
|
-
|
|
5
3
|
## How to build demo application
|
|
6
4
|
1. Download or the clone current repository using the command `git clone https://github.com/regulaforensics/npm-document-reader.git`.
|
|
7
5
|
2. Put `regula.license` file at `assets/` (you can get a trial license [here](https://client.regulaforensics.com)).
|
|
@@ -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)
|