@regulaforensics/ionic-native-document-reader 6.5.0 → 6.6.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/example/config.xml +9 -3
- package/example/package.json +3 -3
- package/index.d.ts +96 -37
- package/index.js +142 -105
- package/index.ts +7366 -0
- package/ngx/index.d.ts +96 -37
- package/ngx/index.js +142 -105
- package/ngx/index.metadata.json +1 -1
- package/package.json +1 -1
- package/reactExample/README.md +0 -24
- package/reactExample/android/app/build/.npmkeep +0 -0
- package/reactExample/android/app/build.gradle +0 -51
- package/reactExample/android/app/proguard-rules.pro +0 -21
- package/reactExample/android/app/src/androidTest/java/com/getcapacitor/myapp/ExampleInstrumentedTest.java +0 -26
- package/reactExample/android/app/src/main/AndroidManifest.xml +0 -42
- package/reactExample/android/app/src/main/java/com/regula/documentreader/MainActivity.java +0 -5
- package/reactExample/android/app/src/main/res/drawable/ic_launcher_background.xml +0 -170
- package/reactExample/android/app/src/main/res/drawable/splash.png +0 -0
- package/reactExample/android/app/src/main/res/drawable-land-hdpi/splash.png +0 -0
- package/reactExample/android/app/src/main/res/drawable-land-mdpi/splash.png +0 -0
- package/reactExample/android/app/src/main/res/drawable-land-xhdpi/splash.png +0 -0
- package/reactExample/android/app/src/main/res/drawable-land-xxhdpi/splash.png +0 -0
- package/reactExample/android/app/src/main/res/drawable-land-xxxhdpi/splash.png +0 -0
- package/reactExample/android/app/src/main/res/drawable-port-hdpi/splash.png +0 -0
- package/reactExample/android/app/src/main/res/drawable-port-mdpi/splash.png +0 -0
- package/reactExample/android/app/src/main/res/drawable-port-xhdpi/splash.png +0 -0
- package/reactExample/android/app/src/main/res/drawable-port-xxhdpi/splash.png +0 -0
- package/reactExample/android/app/src/main/res/drawable-port-xxxhdpi/splash.png +0 -0
- package/reactExample/android/app/src/main/res/drawable-v24/ic_launcher_foreground.xml +0 -34
- package/reactExample/android/app/src/main/res/layout/activity_main.xml +0 -12
- package/reactExample/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +0 -5
- package/reactExample/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +0 -5
- package/reactExample/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
- package/reactExample/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png +0 -0
- package/reactExample/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
- package/reactExample/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
- package/reactExample/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png +0 -0
- package/reactExample/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
- package/reactExample/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
- package/reactExample/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png +0 -0
- package/reactExample/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
- package/reactExample/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
- package/reactExample/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png +0 -0
- package/reactExample/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
- package/reactExample/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
- package/reactExample/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png +0 -0
- package/reactExample/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
- package/reactExample/android/app/src/main/res/values/ic_launcher_background.xml +0 -4
- package/reactExample/android/app/src/main/res/values/strings.xml +0 -7
- package/reactExample/android/app/src/main/res/values/styles.xml +0 -22
- package/reactExample/android/app/src/main/res/xml/file_paths.xml +0 -5
- package/reactExample/android/app/src/test/java/com/getcapacitor/myapp/ExampleUnitTest.java +0 -18
- package/reactExample/android/build.gradle +0 -29
- package/reactExample/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/reactExample/android/gradle/wrapper/gradle-wrapper.properties +0 -5
- package/reactExample/android/gradle.properties +0 -24
- package/reactExample/android/gradlew +0 -185
- package/reactExample/android/gradlew.bat +0 -89
- package/reactExample/android/settings.gradle +0 -5
- package/reactExample/android/variables.gradle +0 -14
- package/reactExample/capacitor.config.ts +0 -10
- package/reactExample/ionic.config.json +0 -7
- package/reactExample/ios/App/App/App.entitlements +0 -11
- package/reactExample/ios/App/App/AppDelegate.swift +0 -60
- package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-20x20@1x.png +0 -0
- package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-20x20@2x-1.png +0 -0
- package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-20x20@2x.png +0 -0
- package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-20x20@3x.png +0 -0
- package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-29x29@1x.png +0 -0
- package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-29x29@2x-1.png +0 -0
- package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-29x29@2x.png +0 -0
- package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-29x29@3x.png +0 -0
- package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@1x.png +0 -0
- package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@2x-1.png +0 -0
- package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@2x.png +0 -0
- package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@3x.png +0 -0
- package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-512@2x.png +0 -0
- package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-60x60@2x.png +0 -0
- package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-60x60@3x.png +0 -0
- package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-76x76@1x.png +0 -0
- package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-76x76@2x.png +0 -0
- package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-83.5x83.5@2x.png +0 -0
- package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/Contents.json +0 -116
- package/reactExample/ios/App/App/Assets.xcassets/Contents.json +0 -6
- package/reactExample/ios/App/App/Assets.xcassets/Splash.imageset/Contents.json +0 -23
- package/reactExample/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-1.png +0 -0
- package/reactExample/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-2.png +0 -0
- package/reactExample/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732.png +0 -0
- package/reactExample/ios/App/App/Base.lproj/LaunchScreen.storyboard +0 -32
- package/reactExample/ios/App/App/Base.lproj/Main.storyboard +0 -19
- package/reactExample/ios/App/App/Info.plist +0 -70
- package/reactExample/ios/App/App/capacitor.config.json +0 -6
- package/reactExample/ios/App/App/config.xml +0 -19
- package/reactExample/ios/App/App.xcodeproj/project.pbxproj +0 -422
- package/reactExample/ios/App/App.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -7
- package/reactExample/ios/App/App.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
- package/reactExample/ios/App/App.xcworkspace/contents.xcworkspacedata +0 -10
- package/reactExample/ios/App/App.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
- package/reactExample/ios/App/Podfile +0 -23
- package/reactExample/package.json +0 -84
- package/reactExample/public/assets/icon/favicon.png +0 -0
- package/reactExample/public/assets/icon/icon.png +0 -0
- package/reactExample/public/assets/img/id.png +0 -0
- package/reactExample/public/assets/img/portrait.png +0 -0
- package/reactExample/public/assets/shapes.svg +0 -1
- package/reactExample/public/index.html +0 -114
- package/reactExample/public/manifest.json +0 -21
- package/reactExample/src/App.test.tsx +0 -8
- package/reactExample/src/App.tsx +0 -42
- package/reactExample/src/assets/img/id.png +0 -0
- package/reactExample/src/assets/img/portrait.png +0 -0
- package/reactExample/src/index.tsx +0 -22
- package/reactExample/src/pages/Home.tsx +0 -329
- package/reactExample/src/react-app-env.d.ts +0 -1
- package/reactExample/src/reportWebVitals.ts +0 -15
- package/reactExample/src/service-worker.ts +0 -80
- package/reactExample/src/serviceWorkerRegistration.ts +0 -142
- package/reactExample/src/setupTests.ts +0 -14
- package/reactExample/src/theme/variables.css +0 -236
- package/reactExample/tsconfig.json +0 -26
|
@@ -1,185 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env sh
|
|
2
|
-
|
|
3
|
-
#
|
|
4
|
-
# Copyright 2015 the original author or authors.
|
|
5
|
-
#
|
|
6
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
-
# you may not use this file except in compliance with the License.
|
|
8
|
-
# You may obtain a copy of the License at
|
|
9
|
-
#
|
|
10
|
-
# https://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
-
#
|
|
12
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
13
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
-
# See the License for the specific language governing permissions and
|
|
16
|
-
# limitations under the License.
|
|
17
|
-
#
|
|
18
|
-
|
|
19
|
-
##############################################################################
|
|
20
|
-
##
|
|
21
|
-
## Gradle start up script for UN*X
|
|
22
|
-
##
|
|
23
|
-
##############################################################################
|
|
24
|
-
|
|
25
|
-
# Attempt to set APP_HOME
|
|
26
|
-
# Resolve links: $0 may be a link
|
|
27
|
-
PRG="$0"
|
|
28
|
-
# Need this for relative symlinks.
|
|
29
|
-
while [ -h "$PRG" ] ; do
|
|
30
|
-
ls=`ls -ld "$PRG"`
|
|
31
|
-
link=`expr "$ls" : '.*-> \(.*\)$'`
|
|
32
|
-
if expr "$link" : '/.*' > /dev/null; then
|
|
33
|
-
PRG="$link"
|
|
34
|
-
else
|
|
35
|
-
PRG=`dirname "$PRG"`"/$link"
|
|
36
|
-
fi
|
|
37
|
-
done
|
|
38
|
-
SAVED="`pwd`"
|
|
39
|
-
cd "`dirname \"$PRG\"`/" >/dev/null
|
|
40
|
-
APP_HOME="`pwd -P`"
|
|
41
|
-
cd "$SAVED" >/dev/null
|
|
42
|
-
|
|
43
|
-
APP_NAME="Gradle"
|
|
44
|
-
APP_BASE_NAME=`basename "$0"`
|
|
45
|
-
|
|
46
|
-
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
|
47
|
-
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
|
48
|
-
|
|
49
|
-
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
|
50
|
-
MAX_FD="maximum"
|
|
51
|
-
|
|
52
|
-
warn () {
|
|
53
|
-
echo "$*"
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
die () {
|
|
57
|
-
echo
|
|
58
|
-
echo "$*"
|
|
59
|
-
echo
|
|
60
|
-
exit 1
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
# OS specific support (must be 'true' or 'false').
|
|
64
|
-
cygwin=false
|
|
65
|
-
msys=false
|
|
66
|
-
darwin=false
|
|
67
|
-
nonstop=false
|
|
68
|
-
case "`uname`" in
|
|
69
|
-
CYGWIN* )
|
|
70
|
-
cygwin=true
|
|
71
|
-
;;
|
|
72
|
-
Darwin* )
|
|
73
|
-
darwin=true
|
|
74
|
-
;;
|
|
75
|
-
MINGW* )
|
|
76
|
-
msys=true
|
|
77
|
-
;;
|
|
78
|
-
NONSTOP* )
|
|
79
|
-
nonstop=true
|
|
80
|
-
;;
|
|
81
|
-
esac
|
|
82
|
-
|
|
83
|
-
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
# Determine the Java command to use to start the JVM.
|
|
87
|
-
if [ -n "$JAVA_HOME" ] ; then
|
|
88
|
-
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
|
|
89
|
-
# IBM's JDK on AIX uses strange locations for the executables
|
|
90
|
-
JAVACMD="$JAVA_HOME/jre/sh/java"
|
|
91
|
-
else
|
|
92
|
-
JAVACMD="$JAVA_HOME/bin/java"
|
|
93
|
-
fi
|
|
94
|
-
if [ ! -x "$JAVACMD" ] ; then
|
|
95
|
-
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
|
|
96
|
-
|
|
97
|
-
Please set the JAVA_HOME variable in your environment to match the
|
|
98
|
-
location of your Java installation."
|
|
99
|
-
fi
|
|
100
|
-
else
|
|
101
|
-
JAVACMD="java"
|
|
102
|
-
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
|
103
|
-
|
|
104
|
-
Please set the JAVA_HOME variable in your environment to match the
|
|
105
|
-
location of your Java installation."
|
|
106
|
-
fi
|
|
107
|
-
|
|
108
|
-
# Increase the maximum file descriptors if we can.
|
|
109
|
-
if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
|
|
110
|
-
MAX_FD_LIMIT=`ulimit -H -n`
|
|
111
|
-
if [ $? -eq 0 ] ; then
|
|
112
|
-
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
|
|
113
|
-
MAX_FD="$MAX_FD_LIMIT"
|
|
114
|
-
fi
|
|
115
|
-
ulimit -n $MAX_FD
|
|
116
|
-
if [ $? -ne 0 ] ; then
|
|
117
|
-
warn "Could not set maximum file descriptor limit: $MAX_FD"
|
|
118
|
-
fi
|
|
119
|
-
else
|
|
120
|
-
warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
|
|
121
|
-
fi
|
|
122
|
-
fi
|
|
123
|
-
|
|
124
|
-
# For Darwin, add options to specify how the application appears in the dock
|
|
125
|
-
if $darwin; then
|
|
126
|
-
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
|
|
127
|
-
fi
|
|
128
|
-
|
|
129
|
-
# For Cygwin or MSYS, switch paths to Windows format before running java
|
|
130
|
-
if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then
|
|
131
|
-
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
|
|
132
|
-
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
|
|
133
|
-
|
|
134
|
-
JAVACMD=`cygpath --unix "$JAVACMD"`
|
|
135
|
-
|
|
136
|
-
# We build the pattern for arguments to be converted via cygpath
|
|
137
|
-
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
|
|
138
|
-
SEP=""
|
|
139
|
-
for dir in $ROOTDIRSRAW ; do
|
|
140
|
-
ROOTDIRS="$ROOTDIRS$SEP$dir"
|
|
141
|
-
SEP="|"
|
|
142
|
-
done
|
|
143
|
-
OURCYGPATTERN="(^($ROOTDIRS))"
|
|
144
|
-
# Add a user-defined pattern to the cygpath arguments
|
|
145
|
-
if [ "$GRADLE_CYGPATTERN" != "" ] ; then
|
|
146
|
-
OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
|
|
147
|
-
fi
|
|
148
|
-
# Now convert the arguments - kludge to limit ourselves to /bin/sh
|
|
149
|
-
i=0
|
|
150
|
-
for arg in "$@" ; do
|
|
151
|
-
CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
|
|
152
|
-
CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
|
|
153
|
-
|
|
154
|
-
if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
|
|
155
|
-
eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
|
|
156
|
-
else
|
|
157
|
-
eval `echo args$i`="\"$arg\""
|
|
158
|
-
fi
|
|
159
|
-
i=`expr $i + 1`
|
|
160
|
-
done
|
|
161
|
-
case $i in
|
|
162
|
-
0) set -- ;;
|
|
163
|
-
1) set -- "$args0" ;;
|
|
164
|
-
2) set -- "$args0" "$args1" ;;
|
|
165
|
-
3) set -- "$args0" "$args1" "$args2" ;;
|
|
166
|
-
4) set -- "$args0" "$args1" "$args2" "$args3" ;;
|
|
167
|
-
5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
|
|
168
|
-
6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
|
|
169
|
-
7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
|
|
170
|
-
8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
|
|
171
|
-
9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
|
|
172
|
-
esac
|
|
173
|
-
fi
|
|
174
|
-
|
|
175
|
-
# Escape application args
|
|
176
|
-
save () {
|
|
177
|
-
for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
|
|
178
|
-
echo " "
|
|
179
|
-
}
|
|
180
|
-
APP_ARGS=`save "$@"`
|
|
181
|
-
|
|
182
|
-
# Collect all arguments for the java command, following the shell quoting and substitution rules
|
|
183
|
-
eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
|
|
184
|
-
|
|
185
|
-
exec "$JAVACMD" "$@"
|
|
@@ -1,89 +0,0 @@
|
|
|
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
|
|
@@ -1,14 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
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>
|
|
@@ -1,60 +0,0 @@
|
|
|
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
|
-
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-83.5x83.5@2x.png
DELETED
|
Binary file
|
|
@@ -1,116 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
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
|
-
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,32 +0,0 @@
|
|
|
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>
|
|
@@ -1,19 +0,0 @@
|
|
|
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>
|