@regulaforensics/ionic-native-document-reader 5.8.0 → 6.1.3

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 (119) hide show
  1. package/README.md +1 -1
  2. package/example/package.json +3 -3
  3. package/index.d.ts +126 -4
  4. package/index.js +689 -522
  5. package/ngx/index.d.ts +126 -4
  6. package/ngx/index.js +689 -522
  7. package/ngx/index.metadata.json +1 -1
  8. package/package.json +1 -1
  9. package/reactExample/README.txt +11 -0
  10. package/reactExample/android/app/build/.npmkeep +0 -0
  11. package/reactExample/android/app/build.gradle +51 -0
  12. package/reactExample/android/app/proguard-rules.pro +21 -0
  13. package/reactExample/android/app/src/androidTest/java/com/getcapacitor/myapp/ExampleInstrumentedTest.java +26 -0
  14. package/reactExample/android/app/src/main/AndroidManifest.xml +42 -0
  15. package/reactExample/android/app/src/main/java/com/regula/documentreader/MainActivity.java +5 -0
  16. package/reactExample/android/app/src/main/res/drawable/ic_launcher_background.xml +170 -0
  17. package/reactExample/android/app/src/main/res/drawable/splash.png +0 -0
  18. package/reactExample/android/app/src/main/res/drawable-land-hdpi/splash.png +0 -0
  19. package/reactExample/android/app/src/main/res/drawable-land-mdpi/splash.png +0 -0
  20. package/reactExample/android/app/src/main/res/drawable-land-xhdpi/splash.png +0 -0
  21. package/reactExample/android/app/src/main/res/drawable-land-xxhdpi/splash.png +0 -0
  22. package/reactExample/android/app/src/main/res/drawable-land-xxxhdpi/splash.png +0 -0
  23. package/reactExample/android/app/src/main/res/drawable-port-hdpi/splash.png +0 -0
  24. package/reactExample/android/app/src/main/res/drawable-port-mdpi/splash.png +0 -0
  25. package/reactExample/android/app/src/main/res/drawable-port-xhdpi/splash.png +0 -0
  26. package/reactExample/android/app/src/main/res/drawable-port-xxhdpi/splash.png +0 -0
  27. package/reactExample/android/app/src/main/res/drawable-port-xxxhdpi/splash.png +0 -0
  28. package/reactExample/android/app/src/main/res/drawable-v24/ic_launcher_foreground.xml +34 -0
  29. package/reactExample/android/app/src/main/res/layout/activity_main.xml +12 -0
  30. package/reactExample/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +5 -0
  31. package/reactExample/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +5 -0
  32. package/reactExample/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
  33. package/reactExample/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png +0 -0
  34. package/reactExample/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
  35. package/reactExample/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
  36. package/reactExample/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png +0 -0
  37. package/reactExample/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
  38. package/reactExample/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
  39. package/reactExample/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png +0 -0
  40. package/reactExample/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
  41. package/reactExample/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
  42. package/reactExample/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png +0 -0
  43. package/reactExample/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
  44. package/reactExample/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
  45. package/reactExample/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png +0 -0
  46. package/reactExample/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
  47. package/reactExample/android/app/src/main/res/values/ic_launcher_background.xml +4 -0
  48. package/reactExample/android/app/src/main/res/values/strings.xml +7 -0
  49. package/reactExample/android/app/src/main/res/values/styles.xml +22 -0
  50. package/reactExample/android/app/src/main/res/xml/file_paths.xml +5 -0
  51. package/reactExample/android/app/src/test/java/com/getcapacitor/myapp/ExampleUnitTest.java +18 -0
  52. package/reactExample/android/build.gradle +29 -0
  53. package/reactExample/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  54. package/reactExample/android/gradle/wrapper/gradle-wrapper.properties +5 -0
  55. package/reactExample/android/gradle.properties +24 -0
  56. package/reactExample/android/gradlew +185 -0
  57. package/reactExample/android/gradlew.bat +89 -0
  58. package/reactExample/android/settings.gradle +5 -0
  59. package/reactExample/android/variables.gradle +14 -0
  60. package/reactExample/capacitor.config.ts +10 -0
  61. package/reactExample/ionic.config.json +7 -0
  62. package/reactExample/ios/App/App/App.entitlements +11 -0
  63. package/reactExample/ios/App/App/AppDelegate.swift +60 -0
  64. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-20x20@1x.png +0 -0
  65. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-20x20@2x-1.png +0 -0
  66. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-20x20@2x.png +0 -0
  67. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-20x20@3x.png +0 -0
  68. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-29x29@1x.png +0 -0
  69. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-29x29@2x-1.png +0 -0
  70. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-29x29@2x.png +0 -0
  71. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-29x29@3x.png +0 -0
  72. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@1x.png +0 -0
  73. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@2x-1.png +0 -0
  74. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@2x.png +0 -0
  75. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@3x.png +0 -0
  76. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-512@2x.png +0 -0
  77. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-60x60@2x.png +0 -0
  78. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-60x60@3x.png +0 -0
  79. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-76x76@1x.png +0 -0
  80. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-76x76@2x.png +0 -0
  81. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-83.5x83.5@2x.png +0 -0
  82. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/Contents.json +116 -0
  83. package/reactExample/ios/App/App/Assets.xcassets/Contents.json +6 -0
  84. package/reactExample/ios/App/App/Assets.xcassets/Splash.imageset/Contents.json +23 -0
  85. package/reactExample/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-1.png +0 -0
  86. package/reactExample/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-2.png +0 -0
  87. package/reactExample/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732.png +0 -0
  88. package/reactExample/ios/App/App/Base.lproj/LaunchScreen.storyboard +32 -0
  89. package/reactExample/ios/App/App/Base.lproj/Main.storyboard +19 -0
  90. package/reactExample/ios/App/App/Info.plist +70 -0
  91. package/reactExample/ios/App/App/capacitor.config.json +6 -0
  92. package/reactExample/ios/App/App/config.xml +19 -0
  93. package/reactExample/ios/App/App.xcodeproj/project.pbxproj +426 -0
  94. package/reactExample/ios/App/App.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  95. package/reactExample/ios/App/App.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  96. package/reactExample/ios/App/App.xcworkspace/contents.xcworkspacedata +10 -0
  97. package/reactExample/ios/App/App.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  98. package/reactExample/ios/App/Podfile +23 -0
  99. package/reactExample/package.json +84 -0
  100. package/reactExample/public/assets/icon/favicon.png +0 -0
  101. package/reactExample/public/assets/icon/icon.png +0 -0
  102. package/reactExample/public/assets/img/id.png +0 -0
  103. package/reactExample/public/assets/img/portrait.png +0 -0
  104. package/reactExample/public/assets/shapes.svg +1 -0
  105. package/reactExample/public/index.html +114 -0
  106. package/reactExample/public/manifest.json +21 -0
  107. package/reactExample/src/App.test.tsx +8 -0
  108. package/reactExample/src/App.tsx +42 -0
  109. package/reactExample/src/assets/img/id.png +0 -0
  110. package/reactExample/src/assets/img/portrait.png +0 -0
  111. package/reactExample/src/index.tsx +22 -0
  112. package/reactExample/src/pages/Home.tsx +328 -0
  113. package/reactExample/src/react-app-env.d.ts +1 -0
  114. package/reactExample/src/reportWebVitals.ts +15 -0
  115. package/reactExample/src/service-worker.ts +80 -0
  116. package/reactExample/src/serviceWorkerRegistration.ts +142 -0
  117. package/reactExample/src/setupTests.ts +14 -0
  118. package/reactExample/src/theme/variables.css +236 -0
  119. package/reactExample/tsconfig.json +26 -0
@@ -0,0 +1,89 @@
1
+ @rem
2
+ @rem Copyright 2015 the original author or authors.
3
+ @rem
4
+ @rem Licensed under the Apache License, Version 2.0 (the "License");
5
+ @rem you may not use this file except in compliance with the License.
6
+ @rem You may obtain a copy of the License at
7
+ @rem
8
+ @rem https://www.apache.org/licenses/LICENSE-2.0
9
+ @rem
10
+ @rem Unless required by applicable law or agreed to in writing, software
11
+ @rem distributed under the License is distributed on an "AS IS" BASIS,
12
+ @rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ @rem See the License for the specific language governing permissions and
14
+ @rem limitations under the License.
15
+ @rem
16
+
17
+ @if "%DEBUG%" == "" @echo off
18
+ @rem ##########################################################################
19
+ @rem
20
+ @rem Gradle startup script for Windows
21
+ @rem
22
+ @rem ##########################################################################
23
+
24
+ @rem Set local scope for the variables with windows NT shell
25
+ if "%OS%"=="Windows_NT" setlocal
26
+
27
+ set DIRNAME=%~dp0
28
+ if "%DIRNAME%" == "" set DIRNAME=.
29
+ set APP_BASE_NAME=%~n0
30
+ set APP_HOME=%DIRNAME%
31
+
32
+ @rem Resolve any "." and ".." in APP_HOME to make it shorter.
33
+ for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
34
+
35
+ @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
36
+ set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
37
+
38
+ @rem Find java.exe
39
+ if defined JAVA_HOME goto findJavaFromJavaHome
40
+
41
+ set JAVA_EXE=java.exe
42
+ %JAVA_EXE% -version >NUL 2>&1
43
+ if "%ERRORLEVEL%" == "0" goto execute
44
+
45
+ echo.
46
+ echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
47
+ echo.
48
+ echo Please set the JAVA_HOME variable in your environment to match the
49
+ echo location of your Java installation.
50
+
51
+ goto fail
52
+
53
+ :findJavaFromJavaHome
54
+ set JAVA_HOME=%JAVA_HOME:"=%
55
+ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
56
+
57
+ if exist "%JAVA_EXE%" goto execute
58
+
59
+ echo.
60
+ echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
61
+ echo.
62
+ echo Please set the JAVA_HOME variable in your environment to match the
63
+ echo location of your Java installation.
64
+
65
+ goto fail
66
+
67
+ :execute
68
+ @rem Setup the command line
69
+
70
+ set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
71
+
72
+
73
+ @rem Execute Gradle
74
+ "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
75
+
76
+ :end
77
+ @rem End local scope for the variables with windows NT shell
78
+ if "%ERRORLEVEL%"=="0" goto mainEnd
79
+
80
+ :fail
81
+ rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
82
+ rem the _cmd.exe /c_ return code!
83
+ if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
84
+ exit /b 1
85
+
86
+ :mainEnd
87
+ if "%OS%"=="Windows_NT" endlocal
88
+
89
+ :omega
@@ -0,0 +1,5 @@
1
+ include ':app'
2
+ include ':capacitor-cordova-android-plugins'
3
+ project(':capacitor-cordova-android-plugins').projectDir = new File('./capacitor-cordova-android-plugins/')
4
+
5
+ apply from: 'capacitor.settings.gradle'
@@ -0,0 +1,14 @@
1
+ ext {
2
+ minSdkVersion = 21
3
+ compileSdkVersion = 30
4
+ targetSdkVersion = 30
5
+ androidxActivityVersion = '1.2.0'
6
+ androidxAppCompatVersion = '1.2.0'
7
+ androidxCoordinatorLayoutVersion = '1.1.0'
8
+ androidxCoreVersion = '1.3.2'
9
+ androidxFragmentVersion = '1.3.0'
10
+ junitVersion = '4.13.1'
11
+ androidxJunitVersion = '1.1.2'
12
+ androidxEspressoCoreVersion = '3.3.0'
13
+ cordovaAndroidVersion = '7.0.0'
14
+ }
@@ -0,0 +1,10 @@
1
+ import { CapacitorConfig } from '@capacitor/cli';
2
+
3
+ const config: CapacitorConfig = {
4
+ appId: 'com.regula.documentreader',
5
+ appName: 'DocumentReader',
6
+ webDir: 'build',
7
+ bundledWebRuntime: false
8
+ };
9
+
10
+ export default config;
@@ -0,0 +1,7 @@
1
+ {
2
+ "name": "DocumentReader",
3
+ "integrations": {
4
+ "capacitor": {}
5
+ },
6
+ "type": "react"
7
+ }
@@ -0,0 +1,11 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>com.apple.developer.nfc.readersession.formats</key>
6
+ <array>
7
+ <string>NDEF</string>
8
+ <string>TAG</string>
9
+ </array>
10
+ </dict>
11
+ </plist>
@@ -0,0 +1,60 @@
1
+ import UIKit
2
+ import Capacitor
3
+
4
+ @UIApplicationMain
5
+ class AppDelegate: UIResponder, UIApplicationDelegate {
6
+
7
+ var window: UIWindow?
8
+
9
+ func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
10
+ // Override point for customization after application launch.
11
+ return true
12
+ }
13
+
14
+ func applicationWillResignActive(_ application: UIApplication) {
15
+ // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
16
+ // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
17
+ }
18
+
19
+ func applicationDidEnterBackground(_ application: UIApplication) {
20
+ // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
21
+ // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
22
+ }
23
+
24
+ func applicationWillEnterForeground(_ application: UIApplication) {
25
+ // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.
26
+ }
27
+
28
+ func applicationDidBecomeActive(_ application: UIApplication) {
29
+ // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
30
+ }
31
+
32
+ func applicationWillTerminate(_ application: UIApplication) {
33
+ // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
34
+ }
35
+
36
+ func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey: Any] = [:]) -> Bool {
37
+ // Called when the app was launched with a url. Feel free to add additional processing here,
38
+ // but if you want the App API to support tracking app url opens, make sure to keep this call
39
+ return ApplicationDelegateProxy.shared.application(app, open: url, options: options)
40
+ }
41
+
42
+ func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool {
43
+ // Called when the app was launched with an activity, including Universal Links.
44
+ // Feel free to add additional processing here, but if you want the App API to support
45
+ // tracking app url opens, make sure to keep this call
46
+ return ApplicationDelegateProxy.shared.application(application, continue: userActivity, restorationHandler: restorationHandler)
47
+ }
48
+
49
+ override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
50
+ super.touchesBegan(touches, with: event)
51
+
52
+ let statusBarRect = UIApplication.shared.statusBarFrame
53
+ guard let touchPoint = event?.allTouches?.first?.location(in: self.window) else { return }
54
+
55
+ if statusBarRect.contains(touchPoint) {
56
+ NotificationCenter.default.post(name: .capacitorStatusBarTapped, object: nil)
57
+ }
58
+ }
59
+
60
+ }
@@ -0,0 +1,116 @@
1
+ {
2
+ "images" : [
3
+ {
4
+ "size" : "20x20",
5
+ "idiom" : "iphone",
6
+ "filename" : "AppIcon-20x20@2x.png",
7
+ "scale" : "2x"
8
+ },
9
+ {
10
+ "size" : "20x20",
11
+ "idiom" : "iphone",
12
+ "filename" : "AppIcon-20x20@3x.png",
13
+ "scale" : "3x"
14
+ },
15
+ {
16
+ "size" : "29x29",
17
+ "idiom" : "iphone",
18
+ "filename" : "AppIcon-29x29@2x-1.png",
19
+ "scale" : "2x"
20
+ },
21
+ {
22
+ "size" : "29x29",
23
+ "idiom" : "iphone",
24
+ "filename" : "AppIcon-29x29@3x.png",
25
+ "scale" : "3x"
26
+ },
27
+ {
28
+ "size" : "40x40",
29
+ "idiom" : "iphone",
30
+ "filename" : "AppIcon-40x40@2x.png",
31
+ "scale" : "2x"
32
+ },
33
+ {
34
+ "size" : "40x40",
35
+ "idiom" : "iphone",
36
+ "filename" : "AppIcon-40x40@3x.png",
37
+ "scale" : "3x"
38
+ },
39
+ {
40
+ "size" : "60x60",
41
+ "idiom" : "iphone",
42
+ "filename" : "AppIcon-60x60@2x.png",
43
+ "scale" : "2x"
44
+ },
45
+ {
46
+ "size" : "60x60",
47
+ "idiom" : "iphone",
48
+ "filename" : "AppIcon-60x60@3x.png",
49
+ "scale" : "3x"
50
+ },
51
+ {
52
+ "size" : "20x20",
53
+ "idiom" : "ipad",
54
+ "filename" : "AppIcon-20x20@1x.png",
55
+ "scale" : "1x"
56
+ },
57
+ {
58
+ "size" : "20x20",
59
+ "idiom" : "ipad",
60
+ "filename" : "AppIcon-20x20@2x-1.png",
61
+ "scale" : "2x"
62
+ },
63
+ {
64
+ "size" : "29x29",
65
+ "idiom" : "ipad",
66
+ "filename" : "AppIcon-29x29@1x.png",
67
+ "scale" : "1x"
68
+ },
69
+ {
70
+ "size" : "29x29",
71
+ "idiom" : "ipad",
72
+ "filename" : "AppIcon-29x29@2x.png",
73
+ "scale" : "2x"
74
+ },
75
+ {
76
+ "size" : "40x40",
77
+ "idiom" : "ipad",
78
+ "filename" : "AppIcon-40x40@1x.png",
79
+ "scale" : "1x"
80
+ },
81
+ {
82
+ "size" : "40x40",
83
+ "idiom" : "ipad",
84
+ "filename" : "AppIcon-40x40@2x-1.png",
85
+ "scale" : "2x"
86
+ },
87
+ {
88
+ "size" : "76x76",
89
+ "idiom" : "ipad",
90
+ "filename" : "AppIcon-76x76@1x.png",
91
+ "scale" : "1x"
92
+ },
93
+ {
94
+ "size" : "76x76",
95
+ "idiom" : "ipad",
96
+ "filename" : "AppIcon-76x76@2x.png",
97
+ "scale" : "2x"
98
+ },
99
+ {
100
+ "size" : "83.5x83.5",
101
+ "idiom" : "ipad",
102
+ "filename" : "AppIcon-83.5x83.5@2x.png",
103
+ "scale" : "2x"
104
+ },
105
+ {
106
+ "size" : "1024x1024",
107
+ "idiom" : "ios-marketing",
108
+ "filename" : "AppIcon-512@2x.png",
109
+ "scale" : "1x"
110
+ }
111
+ ],
112
+ "info" : {
113
+ "version" : 1,
114
+ "author" : "xcode"
115
+ }
116
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "info" : {
3
+ "version" : 1,
4
+ "author" : "xcode"
5
+ }
6
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "images" : [
3
+ {
4
+ "idiom" : "universal",
5
+ "filename" : "splash-2732x2732-2.png",
6
+ "scale" : "1x"
7
+ },
8
+ {
9
+ "idiom" : "universal",
10
+ "filename" : "splash-2732x2732-1.png",
11
+ "scale" : "2x"
12
+ },
13
+ {
14
+ "idiom" : "universal",
15
+ "filename" : "splash-2732x2732.png",
16
+ "scale" : "3x"
17
+ }
18
+ ],
19
+ "info" : {
20
+ "version" : 1,
21
+ "author" : "xcode"
22
+ }
23
+ }
@@ -0,0 +1,32 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="17132" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
3
+ <device id="retina4_7" orientation="portrait" appearance="light"/>
4
+ <dependencies>
5
+ <deployment identifier="iOS"/>
6
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17105"/>
7
+ <capability name="System colors in document resources" minToolsVersion="11.0"/>
8
+ <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
9
+ </dependencies>
10
+ <scenes>
11
+ <!--View Controller-->
12
+ <scene sceneID="EHf-IW-A2E">
13
+ <objects>
14
+ <viewController id="01J-lp-oVM" sceneMemberID="viewController">
15
+ <imageView key="view" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="Splash" id="snD-IY-ifK">
16
+ <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
17
+ <autoresizingMask key="autoresizingMask"/>
18
+ <color key="backgroundColor" systemColor="systemBackgroundColor"/>
19
+ </imageView>
20
+ </viewController>
21
+ <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
22
+ </objects>
23
+ <point key="canvasLocation" x="53" y="375"/>
24
+ </scene>
25
+ </scenes>
26
+ <resources>
27
+ <image name="Splash" width="1366" height="1366"/>
28
+ <systemColor name="systemBackgroundColor">
29
+ <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
30
+ </systemColor>
31
+ </resources>
32
+ </document>
@@ -0,0 +1,19 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14111" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
3
+ <device id="retina4_7" orientation="portrait">
4
+ <adaptation id="fullscreen"/>
5
+ </device>
6
+ <dependencies>
7
+ <deployment identifier="iOS"/>
8
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14088"/>
9
+ </dependencies>
10
+ <scenes>
11
+ <!--Bridge View Controller-->
12
+ <scene sceneID="tne-QT-ifu">
13
+ <objects>
14
+ <viewController id="BYZ-38-t0r" customClass="CAPBridgeViewController" customModule="Capacitor" sceneMemberID="viewController"/>
15
+ <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
16
+ </objects>
17
+ </scene>
18
+ </scenes>
19
+ </document>
@@ -0,0 +1,70 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>CFBundleDevelopmentRegion</key>
6
+ <string>en</string>
7
+ <key>CFBundleDisplayName</key>
8
+ <string>DocumentReader</string>
9
+ <key>CFBundleExecutable</key>
10
+ <string>$(EXECUTABLE_NAME)</string>
11
+ <key>CFBundleIdentifier</key>
12
+ <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
13
+ <key>CFBundleInfoDictionaryVersion</key>
14
+ <string>6.0</string>
15
+ <key>CFBundleName</key>
16
+ <string>$(PRODUCT_NAME)</string>
17
+ <key>CFBundlePackageType</key>
18
+ <string>APPL</string>
19
+ <key>CFBundleShortVersionString</key>
20
+ <string>1.0</string>
21
+ <key>CFBundleVersion</key>
22
+ <string>1</string>
23
+ <key>LSRequiresIPhoneOS</key>
24
+ <true/>
25
+ <key>NFCReaderUsageDescription</key>
26
+ <string>To use NFC</string>
27
+ <key>NSAppTransportSecurity</key>
28
+ <dict>
29
+ <key>NSAllowsArbitraryLoads</key>
30
+ <true/>
31
+ </dict>
32
+ <key>NSCameraUsageDescription</key>
33
+ <string>To use camera</string>
34
+ <key>NSPhotoLibraryUsageDescription</key>
35
+ <string>To use gallery</string>
36
+ <key>UILaunchStoryboardName</key>
37
+ <string>LaunchScreen</string>
38
+ <key>UIMainStoryboardFile</key>
39
+ <string>Main</string>
40
+ <key>UIRequiredDeviceCapabilities</key>
41
+ <array>
42
+ <string>armv7</string>
43
+ </array>
44
+ <key>UISupportedInterfaceOrientations</key>
45
+ <array>
46
+ <string>UIInterfaceOrientationPortrait</string>
47
+ <string>UIInterfaceOrientationLandscapeLeft</string>
48
+ <string>UIInterfaceOrientationLandscapeRight</string>
49
+ </array>
50
+ <key>UISupportedInterfaceOrientations~ipad</key>
51
+ <array>
52
+ <string>UIInterfaceOrientationPortrait</string>
53
+ <string>UIInterfaceOrientationPortraitUpsideDown</string>
54
+ <string>UIInterfaceOrientationLandscapeLeft</string>
55
+ <string>UIInterfaceOrientationLandscapeRight</string>
56
+ </array>
57
+ <key>UIViewControllerBasedStatusBarAppearance</key>
58
+ <true/>
59
+ <key>com.apple.developer.nfc.readersession.iso7816.select-identifiers</key>
60
+ <array>
61
+ <string>A0000002471001</string>
62
+ <string>E80704007F00070302</string>
63
+ <string>A000000167455349474E</string>
64
+ <string>A0000002480100</string>
65
+ <string>A0000002480200</string>
66
+ <string>A0000002480300</string>
67
+ <string>A00000045645444C2D3031</string>
68
+ </array>
69
+ </dict>
70
+ </plist>
@@ -0,0 +1,6 @@
1
+ {
2
+ "appId": "com.regula.documentreader",
3
+ "appName": "DocumentReader",
4
+ "webDir": "build",
5
+ "bundledWebRuntime": false
6
+ }
@@ -0,0 +1,19 @@
1
+ <?xml version='1.0' encoding='utf-8'?>
2
+ <widget version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
3
+ <access origin="*" />
4
+
5
+ <feature name="DocumentReader">
6
+ <param name="ios-package" value="RGLDocumentReader"/>
7
+ </feature>
8
+
9
+ <feature name="File">
10
+ <param name="ios-package" value="CDVFile"/>
11
+ <param name="onload" value="true"/>
12
+ </feature>
13
+
14
+ <feature name="ImagePicker">
15
+ <param name="ios-package" value="SOSPicker"/>
16
+ </feature>
17
+
18
+
19
+ </widget>