@regulaforensics/document-reader 9.9.1122-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.
Files changed (46) hide show
  1. package/RNDocumentReader.podspec +21 -0
  2. package/android/build.gradle +2 -2
  3. package/android/cordova.gradle +2 -2
  4. package/app.plugin.js +2 -3
  5. package/examples/capacitor/package.json +1 -1
  6. package/examples/ionic/config.xml +1 -1
  7. package/examples/ionic/package.json +1 -1
  8. package/examples/react_native/app.config.ts +2 -1
  9. package/examples/react_native/package-lock.json +9185 -0
  10. package/examples/react_native/package.json +17 -12
  11. package/examples/react_native/vendor/image-size-metro-compat/index.cjs +16 -0
  12. package/examples/react_native/vendor/image-size-metro-compat/package.json +8 -0
  13. package/package.json +1 -1
  14. package/plugin.xml +11 -11
  15. package/test/package-lock.json +1 -1
  16. package/Package.swift +0 -27
  17. package/examples/ionic-cocoapods/README.md +0 -22
  18. package/examples/ionic-cocoapods/angular.json +0 -39
  19. package/examples/ionic-cocoapods/assets/.gitkeep +0 -0
  20. package/examples/ionic-cocoapods/config.xml +0 -63
  21. package/examples/ionic-cocoapods/images/document.png +0 -0
  22. package/examples/ionic-cocoapods/images/icon.png +0 -0
  23. package/examples/ionic-cocoapods/images/portrait.png +0 -0
  24. package/examples/ionic-cocoapods/index.html +0 -19
  25. package/examples/ionic-cocoapods/index.tsx +0 -58
  26. package/examples/ionic-cocoapods/ionic.config.json +0 -7
  27. package/examples/ionic-cocoapods/package-lock.json +0 -16579
  28. package/examples/ionic-cocoapods/package.json +0 -58
  29. package/examples/ionic-cocoapods/scripts/android.sh +0 -8
  30. package/examples/ionic-cocoapods/scripts/ios.sh +0 -8
  31. package/examples/ionic-cocoapods/scripts/setup.sh +0 -8
  32. package/examples/ionic-cocoapods/src/extra/bt_device.tsx +0 -33
  33. package/examples/ionic-cocoapods/src/extra/custom_rfid.tsx +0 -61
  34. package/examples/ionic-cocoapods/src/main.css +0 -148
  35. package/examples/ionic-cocoapods/src/main.html +0 -38
  36. package/examples/ionic-cocoapods/src/main.tsx +0 -172
  37. package/examples/ionic-cocoapods/tsconfig.json +0 -14
  38. package/react-native-document-reader.podspec +0 -14
  39. /package/{Sources/document-reader/include/document-reader → ios}/CVDDocumentReader.h +0 -0
  40. /package/{Sources/document-reader → ios}/CVDDocumentReader.m +0 -0
  41. /package/{Sources/document-reader/include/document-reader → ios}/RGLWConfig.h +0 -0
  42. /package/{Sources/document-reader → ios}/RGLWConfig.m +0 -0
  43. /package/{Sources/document-reader/include/document-reader → ios}/RGLWJSONConstructor.h +0 -0
  44. /package/{Sources/document-reader → ios}/RGLWJSONConstructor.m +0 -0
  45. /package/{Sources/document-reader/include/document-reader → ios}/RGLWMain.h +0 -0
  46. /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
@@ -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.8.13324'){
32
+ implementation('com.regula.documentreader:api:9.9.13392'){
33
33
  transitive = true
34
34
  }
35
35
  }
@@ -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.8.13324'){
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 appRequire = createRequire(process.cwd() + '/package.json');
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.1122-beta",
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="15.0" />
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:*" />
@@ -19,7 +19,7 @@
19
19
  "@ionic/cordova-builders": "^12.3.0",
20
20
  "@awesome-cordova-plugins/camera": "^9.2.0",
21
21
  "@awesome-cordova-plugins/file": "^9.2.0",
22
- "@regulaforensics/document-reader": "9.9.1122-beta",
22
+ "@regulaforensics/document-reader": "9.9.1134-rc",
23
23
  "@regulaforensics/document-reader-core-fullauthrfid": "9.8.2974",
24
24
  "@regulaforensics/document-reader-btdevice": "9.8.68",
25
25
  "cordova-android": "^15.0.0",
@@ -32,7 +32,8 @@ export default ({ config }: ConfigContext): ExpoConfig => ({
32
32
  package: 'com.regula.example.dr.react',
33
33
  permissions: [
34
34
  'android.permission.BLUETOOTH_CONNECT',
35
- 'android.permission.NFC']
35
+ 'android.permission.NFC'],
36
+ edgeToEdgeEnabled: true
36
37
  },
37
38
  plugins: [
38
39
  '@regulaforensics/document-reader',