@regulaforensics/document-reader 9.1.519-rc → 9.1.570-rc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/RNDocumentReader.podspec +2 -2
- package/android/build.gradle +1 -1
- package/android/cordova.gradle +1 -1
- package/android/src/main/java/com/regula/plugin/documentreader/Config.kt +2 -0
- package/android/src/main/java/com/regula/plugin/documentreader/JSONConstructor.kt +22 -3
- package/android/src/main/java/com/regula/plugin/documentreader/Main.kt +9 -2
- package/examples/capacitor/android/app/build.gradle +2 -2
- package/examples/capacitor/android/app/capacitor.build.gradle +1 -3
- package/examples/capacitor/android/app/src/main/AndroidManifest.xml +1 -1
- package/examples/capacitor/android/build.gradle +3 -3
- package/examples/capacitor/android/capacitor.settings.gradle +0 -6
- 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/gradlew +4 -5
- package/examples/capacitor/android/gradlew.bat +2 -2
- package/examples/capacitor/android/variables.gradle +10 -10
- package/examples/capacitor/ios/App/App.xcodeproj/project.pbxproj +20 -4
- package/examples/capacitor/ios/App/Podfile +4 -1
- package/examples/capacitor/ios/App/Podfile.lock +12 -16
- package/examples/capacitor/package-lock.json +662 -743
- package/examples/capacitor/package.json +15 -15
- package/examples/ionic/package-lock.json +3123 -3183
- package/examples/ionic/package.json +11 -11
- package/examples/react_native/package-lock.json +6 -6
- package/examples/react_native/package.json +1 -1
- package/ios/CVDDocumentReader.m +7 -3
- package/ios/RGLWConfig.m +4 -0
- package/ios/RGLWJSONConstructor.h +2 -0
- package/ios/RGLWJSONConstructor.m +45 -14
- package/ios/RGLWMain.m +23 -22
- package/package.json +1 -1
- package/plugin.xml +2 -2
- package/test/json.tsx +9 -2
- package/test/package-lock.json +1 -1
- package/test/test.tsx +3 -2
- package/www/capacitor/config/FinalizeConfig.js +31 -0
- package/www/capacitor/index.js +15 -12
- package/www/capacitor/{engagement → mdl}/DataRetrieval.js +1 -1
- package/www/capacitor/params/process_params/ProcessParams.js +8 -0
- package/www/capacitor/results/Results.js +4 -0
- package/www/capacitor/results/authenticity/CheckDiagnose.js +1 -0
- package/www/capacitor/results/authenticity/SecurityFeatureType.js +4 -0
- package/www/cordova.js +1001 -934
- package/www/react-native/config/FinalizeConfig.js +31 -0
- package/www/react-native/index.js +15 -12
- package/www/react-native/{engagement → mdl}/DataRetrieval.js +1 -1
- package/www/react-native/params/process_params/ProcessParams.js +8 -0
- package/www/react-native/results/Results.js +4 -0
- package/www/react-native/results/authenticity/CheckDiagnose.js +1 -0
- package/www/react-native/results/authenticity/SecurityFeatureType.js +4 -0
- package/www/types/config/FinalizeConfig.d.ts +5 -0
- package/www/types/index.d.ts +9 -8
- package/www/types/{engagement → mdl}/DataRetrieval.d.ts +1 -1
- package/www/types/{engagement → mdl}/DocumentRequestMDL.d.ts +4 -2
- package/www/types/params/customization/Customization.d.ts +1 -1
- package/www/types/params/process_params/ProcessParams.d.ts +1 -4
- package/www/types/results/Results.d.ts +4 -0
- package/www/types/results/authenticity/CheckDiagnose.d.ts +2 -0
- package/www/types/results/authenticity/SecurityFeatureType.d.ts +4 -0
- package/www/types/results/status/ResultsStatus.d.ts +0 -1
- /package/www/capacitor/{engagement → mdl}/DeviceEngagement.js +0 -0
- /package/www/capacitor/{engagement → mdl}/DeviceRetrievalMethod.js +0 -0
- /package/www/capacitor/{engagement → mdl}/DocumentRequestMDL.js +0 -0
- /package/www/capacitor/{engagement → mdl}/NameSpaceMDL.js +0 -0
- /package/www/react-native/{engagement → mdl}/DeviceEngagement.js +0 -0
- /package/www/react-native/{engagement → mdl}/DeviceRetrievalMethod.js +0 -0
- /package/www/react-native/{engagement → mdl}/DocumentRequestMDL.js +0 -0
- /package/www/react-native/{engagement → mdl}/NameSpaceMDL.js +0 -0
- /package/www/types/{engagement → mdl}/DeviceEngagement.d.ts +0 -0
- /package/www/types/{engagement → mdl}/DeviceRetrievalMethod.d.ts +0 -0
- /package/www/types/{engagement → mdl}/NameSpaceMDL.d.ts +0 -0
package/RNDocumentReader.podspec
CHANGED
|
@@ -5,7 +5,7 @@ source = File.join(__dir__, 'ios')
|
|
|
5
5
|
|
|
6
6
|
Pod::Spec.new do |s|
|
|
7
7
|
s.name = 'RNDocumentReader'
|
|
8
|
-
s.version = '9.1.
|
|
8
|
+
s.version = '9.1.570-rc'
|
|
9
9
|
s.summary = package['description']
|
|
10
10
|
s.license = package['license']
|
|
11
11
|
|
|
@@ -16,6 +16,6 @@ Pod::Spec.new do |s|
|
|
|
16
16
|
s.ios.deployment_target = '13.0'
|
|
17
17
|
s.source_files = 'ios/**/*.{h,m}'
|
|
18
18
|
s.exclude_files = [ 'ios/CVDDocumentReader.h', 'ios/CVDDocumentReader.m' ]
|
|
19
|
-
s.dependency 'DocumentReaderStage', '9.
|
|
19
|
+
s.dependency 'DocumentReaderStage', '9.2.5867'
|
|
20
20
|
s.dependency 'React'
|
|
21
21
|
end
|
package/android/build.gradle
CHANGED
|
@@ -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.1.
|
|
32
|
+
implementation('com.regula.documentreader:api:9.1.12355'){
|
|
33
33
|
transitive = true
|
|
34
34
|
}
|
|
35
35
|
}
|
package/android/cordova.gradle
CHANGED
|
@@ -147,6 +147,7 @@ fun setProcessParams(processParams: ProcessParam, opts: JSONObject) = opts.forEa
|
|
|
147
147
|
"strictSecurityChecks" -> processParams.strictSecurityChecks = v as Boolean
|
|
148
148
|
"returnTransliteratedFields" -> processParams.returnTransliteratedFields = v as Boolean
|
|
149
149
|
"checkCaptureProcessIntegrity" -> processParams.checkCaptureProcessIntegrity = v as Boolean
|
|
150
|
+
"bsiTr03135Results" -> processParams.bsiTr03135Results = v as Boolean
|
|
150
151
|
"measureSystem" -> processParams.measureSystem = v.toInt()
|
|
151
152
|
"barcodeParserType" -> processParams.barcodeParserType = v.toInt()
|
|
152
153
|
"perspectiveAngle" -> processParams.perspectiveAngle = v.toInt()
|
|
@@ -236,6 +237,7 @@ fun getProcessParams(processParams: ProcessParam) = mapOf(
|
|
|
236
237
|
"strictSecurityChecks" to processParams.strictSecurityChecks,
|
|
237
238
|
"returnTransliteratedFields" to processParams.returnTransliteratedFields,
|
|
238
239
|
"checkCaptureProcessIntegrity" to processParams.checkCaptureProcessIntegrity,
|
|
240
|
+
"bsiTr03135Results" to processParams.bsiTr03135Results,
|
|
239
241
|
"measureSystem" to processParams.measureSystem,
|
|
240
242
|
"barcodeParserType" to processParams.barcodeParserType,
|
|
241
243
|
"perspectiveAngle" to processParams.perspectiveAngle,
|
|
@@ -13,6 +13,7 @@ import android.util.Pair
|
|
|
13
13
|
import com.regula.common.exception.RegulaException
|
|
14
14
|
import com.regula.documentreader.api.License
|
|
15
15
|
import com.regula.documentreader.api.completions.model.PrepareProgress
|
|
16
|
+
import com.regula.documentreader.api.config.FinalizeConfig
|
|
16
17
|
import com.regula.documentreader.api.config.RecognizeConfig
|
|
17
18
|
import com.regula.documentreader.api.config.ScannerConfig
|
|
18
19
|
import com.regula.documentreader.api.enums.BarcodeType
|
|
@@ -1861,6 +1862,7 @@ fun documentReaderResultsFromJSON(input: JSONObject?) = input?.let {
|
|
|
1861
1862
|
result.mrzPosition = it.optJSONArray("mrzPosition").toList(::elementPositionFromJSON)!!
|
|
1862
1863
|
result.imageQuality = it.optJSONArray("imageQuality").toList(::imageQualityGroupFromJSON)!!
|
|
1863
1864
|
result.rawResult = it.optString("rawResult")
|
|
1865
|
+
result.bsiTr03135Results = it.optString("bsiTr03135Results")
|
|
1864
1866
|
result.rfidSessionData = rfidSessionDataFromJSON(it.optJSONObject("rfidSessionData"))
|
|
1865
1867
|
result.authenticityResult = documentReaderAuthenticityResultFromJSON(it.optJSONObject("authenticityResult"))
|
|
1866
1868
|
result.barcodeResult = documentReaderBarcodeResultFromJSON(it.optJSONObject("barcodeResult"))
|
|
@@ -1888,6 +1890,7 @@ fun generateDocumentReaderResults(input: DocumentReaderResults?) = input?.let {
|
|
|
1888
1890
|
"mrzPosition" to it.mrzPosition.toJson(::generateElementPosition),
|
|
1889
1891
|
"imageQuality" to it.imageQuality.toJson(::generateImageQualityGroup),
|
|
1890
1892
|
"rawResult" to it.rawResult,
|
|
1893
|
+
"bsiTr03135Results" to it.bsiTr03135Results,
|
|
1891
1894
|
"rfidSessionData" to generateRFIDSessionData(it.rfidSessionData),
|
|
1892
1895
|
"authenticityResult" to generateDocumentReaderAuthenticityResult(it.authenticityResult),
|
|
1893
1896
|
"barcodeResult" to generateDocumentReaderBarcodeResult(it.barcodeResult),
|
|
@@ -1959,7 +1962,7 @@ fun generateDeviceEngagement(input: DeviceEngagement?) = input?.let {
|
|
|
1959
1962
|
fun nameSpaceMDLFromJSON(input: JSONObject?) = input?.let {
|
|
1960
1963
|
val result = NameSpaceMDL(it.getString("name"))
|
|
1961
1964
|
it.getJSONObject("map").forEach { key, value ->
|
|
1962
|
-
result.addField(key, eMDLIntentToRetain.values()[value
|
|
1965
|
+
result.addField(key, eMDLIntentToRetain.values()[value.toInt()])
|
|
1963
1966
|
}
|
|
1964
1967
|
result
|
|
1965
1968
|
}
|
|
@@ -1997,8 +2000,8 @@ fun generateDocumentRequestMDL(input: DocumentRequestMDL?): JSONObject? = input?
|
|
|
1997
2000
|
fun documentRequest18013MDLFromJSON(input: JSONObject?) = input?.let {
|
|
1998
2001
|
val result = DocumentRequest18013MDL()
|
|
1999
2002
|
|
|
2000
|
-
result.setPrivateProperty("docType", it.getString("docType"))
|
|
2001
|
-
result.setPrivateProperty("nameSpaceMDLs", it.getJSONArray("namespaces").toList(::nameSpaceMDLFromJSON))
|
|
2003
|
+
if (it.has("docType")) result.setPrivateProperty("docType", it.getString("docType"))
|
|
2004
|
+
if (it.has("namespaces")) result.setPrivateProperty("nameSpaceMDLs", it.getJSONArray("namespaces").toList(::nameSpaceMDLFromJSON))
|
|
2002
2005
|
result.familyName = it.getIntOrNull("familyName")?.let { enm -> eMDLIntentToRetain.values()[enm] }
|
|
2003
2006
|
result.givenName = it.getIntOrNull("givenName")?.let { enm -> eMDLIntentToRetain.values()[enm] }
|
|
2004
2007
|
result.birthDate = it.getIntOrNull("birthDate")?.let { enm -> eMDLIntentToRetain.values()[enm] }
|
|
@@ -2102,3 +2105,19 @@ fun generateDeviceEngagementCompletion(deviceEngagement: DeviceEngagement?, erro
|
|
|
2102
2105
|
"deviceEngagement" to generateDeviceEngagement(deviceEngagement),
|
|
2103
2106
|
"error" to generateRegulaException(error)
|
|
2104
2107
|
)
|
|
2108
|
+
|
|
2109
|
+
fun finalizeConfigFromJSON(input: JSONObject?) = input?.let {
|
|
2110
|
+
val result = FinalizeConfig.Builder()
|
|
2111
|
+
if (it.has("rawImages")) result.setRawImages(it.getBoolean("rawImages"))
|
|
2112
|
+
if (it.has("video")) result.setVideo(it.getBoolean("video"))
|
|
2113
|
+
if (it.has("rfidSession")) result.setRfidSession(it.getBoolean("rfidSession"))
|
|
2114
|
+
result.build()
|
|
2115
|
+
}
|
|
2116
|
+
|
|
2117
|
+
fun generateFinalizeConfig(input: FinalizeConfig?) = input?.let {
|
|
2118
|
+
mapOf(
|
|
2119
|
+
"rawImages" to it.getPrivateProperty("rawImages"),
|
|
2120
|
+
"video" to it.getPrivateProperty("video"),
|
|
2121
|
+
"rfidSession" to it.getPrivateProperty("rfidSession")
|
|
2122
|
+
).toJson()
|
|
2123
|
+
}
|
|
@@ -131,6 +131,7 @@ fun methodCall(method: String, callback: (Any?) -> Unit): Any = when (method) {
|
|
|
131
131
|
"containers" -> containers(callback, args(0), args(1))
|
|
132
132
|
"encryptedContainers" -> encryptedContainers(callback, args(0))
|
|
133
133
|
"finalizePackage" -> finalizePackage(callback)
|
|
134
|
+
"finalizePackageWithFinalizeConfig" -> finalizePackageWithFinalizeConfig(callback, args(0))
|
|
134
135
|
"endBackendTransaction" -> endBackendTransaction()
|
|
135
136
|
"getTranslation" -> getTranslation(callback, args(0), args(1))
|
|
136
137
|
else -> Unit
|
|
@@ -321,7 +322,7 @@ fun engageDeviceData(data: String, callback: Callback) {
|
|
|
321
322
|
|
|
322
323
|
fun startRetrieveData(dataRetrieval: JSONObject, deviceEngagement: JSONObject, callback: Callback) {
|
|
323
324
|
stopBackgroundRFID()
|
|
324
|
-
Instance().startRetrieveData(activity, deviceEngagementFromJSON(deviceEngagement)!!, dataRetrievalFromJSON(dataRetrieval)!!){ v1, v2, v3 -> callback(generateCompletion(v1, v2, v3)) }
|
|
325
|
+
Instance().startRetrieveData(activity, deviceEngagementFromJSON(deviceEngagement)!!, dataRetrievalFromJSON(dataRetrieval)!!) { v1, v2, v3 -> callback(generateCompletion(v1, v2, v3)) }
|
|
325
326
|
}
|
|
326
327
|
|
|
327
328
|
lateinit var retrieveDataNFCCallback: Callback
|
|
@@ -335,7 +336,7 @@ fun retrieveDataNFC(dataRetrieval: JSONObject, callback: Callback) {
|
|
|
335
336
|
|
|
336
337
|
fun retrieveDataBLE(dataRetrieval: JSONObject, deviceEngagement: JSONObject, callback: Callback) {
|
|
337
338
|
stopBackgroundRFID()
|
|
338
|
-
Instance().retrieveDataBLE(context, deviceEngagementFromJSON(deviceEngagement)!!, dataRetrievalFromJSON(dataRetrieval)!!){ v1, v2, v3 -> callback(generateCompletion(v1, v2, v3)) }
|
|
339
|
+
Instance().retrieveDataBLE(context, deviceEngagementFromJSON(deviceEngagement)!!, dataRetrievalFromJSON(dataRetrieval)!!) { v1, v2, v3 -> callback(generateCompletion(v1, v2, v3)) }
|
|
339
340
|
}
|
|
340
341
|
|
|
341
342
|
fun setLocalizationDictionary(dictionary: JSONObject) {
|
|
@@ -368,6 +369,12 @@ fun finalizePackage(callback: Callback) = Instance().finalizePackage { action, i
|
|
|
368
369
|
callback(generateFinalizePackageCompletion(action, info, error))
|
|
369
370
|
}
|
|
370
371
|
|
|
372
|
+
fun finalizePackageWithFinalizeConfig(callback: Callback, config: JSONObject) = Instance().finalizePackage(
|
|
373
|
+
finalizeConfigFromJSON(config)
|
|
374
|
+
) { action, info, error ->
|
|
375
|
+
callback(generateFinalizePackageCompletion(action, info, error))
|
|
376
|
+
}
|
|
377
|
+
|
|
371
378
|
fun endBackendTransaction() = Instance().endBackendTransaction()
|
|
372
379
|
|
|
373
380
|
fun textFieldValueByType(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
apply plugin: 'com.android.application'
|
|
2
2
|
|
|
3
3
|
android {
|
|
4
|
-
namespace "com.regula.example.dr.capacitor"
|
|
4
|
+
namespace = "com.regula.example.dr.capacitor"
|
|
5
5
|
compileSdkVersion rootProject.ext.compileSdkVersion
|
|
6
6
|
defaultConfig {
|
|
7
7
|
applicationId "com.regula.example.dr.capacitor"
|
|
@@ -12,7 +12,7 @@ android {
|
|
|
12
12
|
aaptOptions {
|
|
13
13
|
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
|
|
14
14
|
// Default: https://android.googlesource.com/platform/frameworks/base/+/282e181b58cf72b6ca770dc7ca5f91f135444502/tools/aapt/AaptAssets.cpp#61
|
|
15
|
-
ignoreAssetsPattern '!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~'
|
|
15
|
+
ignoreAssetsPattern = '!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~'
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
buildTypes {
|
|
@@ -10,11 +10,9 @@ android {
|
|
|
10
10
|
apply from: "../capacitor-cordova-android-plugins/cordova.variables.gradle"
|
|
11
11
|
dependencies {
|
|
12
12
|
implementation project(':capacitor-app')
|
|
13
|
-
implementation project(':capacitor-haptics')
|
|
14
|
-
implementation project(':capacitor-keyboard')
|
|
15
13
|
implementation project(':capacitor-status-bar')
|
|
16
|
-
implementation "androidx.core:core:1.6.+"
|
|
17
14
|
implementation "androidx.webkit:webkit:1.4.0"
|
|
15
|
+
implementation "androidx.core:core:1.6.+"
|
|
18
16
|
}
|
|
19
17
|
|
|
20
18
|
if (hasProperty('postBuildExtras')) {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
android:usesCleartextTraffic="true">
|
|
10
10
|
<activity
|
|
11
11
|
android:name=".MainActivity"
|
|
12
|
-
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode|navigation"
|
|
12
|
+
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode|navigation|density"
|
|
13
13
|
android:exported="true"
|
|
14
14
|
android:launchMode="singleTask"
|
|
15
15
|
android:screenOrientation="portrait"
|
|
@@ -7,9 +7,9 @@ buildscript {
|
|
|
7
7
|
mavenCentral()
|
|
8
8
|
}
|
|
9
9
|
dependencies {
|
|
10
|
-
classpath 'com.android.tools.build:gradle:8.
|
|
11
|
-
classpath 'com.google.gms:google-services:4.4.
|
|
12
|
-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:
|
|
10
|
+
classpath 'com.android.tools.build:gradle:8.13.0'
|
|
11
|
+
classpath 'com.google.gms:google-services:4.4.4'
|
|
12
|
+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.2.20"
|
|
13
13
|
|
|
14
14
|
// NOTE: Do not place your application dependencies here; they belong
|
|
15
15
|
// in the individual module build.gradle files
|
|
@@ -5,11 +5,5 @@ project(':capacitor-android').projectDir = new File('../node_modules/@capacitor/
|
|
|
5
5
|
include ':capacitor-app'
|
|
6
6
|
project(':capacitor-app').projectDir = new File('../node_modules/@capacitor/app/android')
|
|
7
7
|
|
|
8
|
-
include ':capacitor-haptics'
|
|
9
|
-
project(':capacitor-haptics').projectDir = new File('../node_modules/@capacitor/haptics/android')
|
|
10
|
-
|
|
11
|
-
include ':capacitor-keyboard'
|
|
12
|
-
project(':capacitor-keyboard').projectDir = new File('../node_modules/@capacitor/keyboard/android')
|
|
13
|
-
|
|
14
8
|
include ':capacitor-status-bar'
|
|
15
9
|
project(':capacitor-status-bar').projectDir = new File('../node_modules/@capacitor/status-bar/android')
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
distributionBase=GRADLE_USER_HOME
|
|
2
2
|
distributionPath=wrapper/dists
|
|
3
|
-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.
|
|
3
|
+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-all.zip
|
|
4
4
|
networkTimeout=10000
|
|
5
5
|
validateDistributionUrl=true
|
|
6
6
|
zipStoreBase=GRADLE_USER_HOME
|
|
@@ -86,8 +86,7 @@ done
|
|
|
86
86
|
# shellcheck disable=SC2034
|
|
87
87
|
APP_BASE_NAME=${0##*/}
|
|
88
88
|
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
|
|
89
|
-
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
|
|
90
|
-
' "$PWD" ) || exit
|
|
89
|
+
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
|
|
91
90
|
|
|
92
91
|
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
|
93
92
|
MAX_FD=maximum
|
|
@@ -115,7 +114,7 @@ case "$( uname )" in #(
|
|
|
115
114
|
NONSTOP* ) nonstop=true ;;
|
|
116
115
|
esac
|
|
117
116
|
|
|
118
|
-
CLASSPATH
|
|
117
|
+
CLASSPATH="\\\"\\\""
|
|
119
118
|
|
|
120
119
|
|
|
121
120
|
# Determine the Java command to use to start the JVM.
|
|
@@ -206,7 +205,7 @@ fi
|
|
|
206
205
|
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
|
207
206
|
|
|
208
207
|
# Collect all arguments for the java command:
|
|
209
|
-
# * DEFAULT_JVM_OPTS, JAVA_OPTS,
|
|
208
|
+
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
|
|
210
209
|
# and any embedded shellness will be escaped.
|
|
211
210
|
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
|
|
212
211
|
# treated as '${Hostname}' itself on the command line.
|
|
@@ -214,7 +213,7 @@ DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
|
|
214
213
|
set -- \
|
|
215
214
|
"-Dorg.gradle.appname=$APP_BASE_NAME" \
|
|
216
215
|
-classpath "$CLASSPATH" \
|
|
217
|
-
|
|
216
|
+
-jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \
|
|
218
217
|
"$@"
|
|
219
218
|
|
|
220
219
|
# Stop when "xargs" is not available.
|
|
@@ -70,11 +70,11 @@ goto fail
|
|
|
70
70
|
:execute
|
|
71
71
|
@rem Setup the command line
|
|
72
72
|
|
|
73
|
-
set CLASSPATH
|
|
73
|
+
set CLASSPATH=
|
|
74
74
|
|
|
75
75
|
|
|
76
76
|
@rem Execute Gradle
|
|
77
|
-
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%"
|
|
77
|
+
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %*
|
|
78
78
|
|
|
79
79
|
:end
|
|
80
80
|
@rem End local scope for the variables with windows NT shell
|
|
@@ -2,15 +2,15 @@ ext {
|
|
|
2
2
|
minSdkVersion = 26
|
|
3
3
|
compileSdkVersion = 36
|
|
4
4
|
targetSdkVersion = 36
|
|
5
|
-
androidxActivityVersion = '1.
|
|
6
|
-
androidxAppCompatVersion = '1.7.
|
|
7
|
-
androidxCoordinatorLayoutVersion = '1.
|
|
8
|
-
androidxCoreVersion = '1.
|
|
9
|
-
androidxFragmentVersion = '1.8.
|
|
10
|
-
coreSplashScreenVersion = '1.0
|
|
11
|
-
androidxWebkitVersion = '1.
|
|
5
|
+
androidxActivityVersion = '1.11.0'
|
|
6
|
+
androidxAppCompatVersion = '1.7.1'
|
|
7
|
+
androidxCoordinatorLayoutVersion = '1.3.0'
|
|
8
|
+
androidxCoreVersion = '1.17.0'
|
|
9
|
+
androidxFragmentVersion = '1.8.9'
|
|
10
|
+
coreSplashScreenVersion = '1.2.0'
|
|
11
|
+
androidxWebkitVersion = '1.14.0'
|
|
12
12
|
junitVersion = '4.13.2'
|
|
13
|
-
androidxJunitVersion = '1.
|
|
14
|
-
androidxEspressoCoreVersion = '3.
|
|
15
|
-
cordovaAndroidVersion = '14.0.
|
|
13
|
+
androidxJunitVersion = '1.3.0'
|
|
14
|
+
androidxEspressoCoreVersion = '3.7.0'
|
|
15
|
+
cordovaAndroidVersion = '14.0.1'
|
|
16
16
|
}
|
|
@@ -111,6 +111,7 @@
|
|
|
111
111
|
504EC3011FED79650016851F /* Frameworks */,
|
|
112
112
|
504EC3021FED79650016851F /* Resources */,
|
|
113
113
|
9592DBEFFC6D2A0C8D5DEB22 /* [CP] Embed Pods Frameworks */,
|
|
114
|
+
2D88F7C878728A28B89ACF35 /* [CP] Copy Pods Resources */,
|
|
114
115
|
);
|
|
115
116
|
buildRules = (
|
|
116
117
|
);
|
|
@@ -173,6 +174,21 @@
|
|
|
173
174
|
/* End PBXResourcesBuildPhase section */
|
|
174
175
|
|
|
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
|
+
};
|
|
176
192
|
6634F4EFEBD30273BCE97C65 /* [CP] Check Pods Manifest.lock */ = {
|
|
177
193
|
isa = PBXShellScriptBuildPhase;
|
|
178
194
|
buildActionMask = 2147483647;
|
|
@@ -287,7 +303,7 @@
|
|
|
287
303
|
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
288
304
|
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
289
305
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
290
|
-
IPHONEOS_DEPLOYMENT_TARGET =
|
|
306
|
+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
|
|
291
307
|
MTL_ENABLE_DEBUG_INFO = YES;
|
|
292
308
|
ONLY_ACTIVE_ARCH = YES;
|
|
293
309
|
SDKROOT = iphoneos;
|
|
@@ -338,7 +354,7 @@
|
|
|
338
354
|
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
339
355
|
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
340
356
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
341
|
-
IPHONEOS_DEPLOYMENT_TARGET =
|
|
357
|
+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
|
|
342
358
|
MTL_ENABLE_DEBUG_INFO = NO;
|
|
343
359
|
SDKROOT = iphoneos;
|
|
344
360
|
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
|
|
@@ -355,7 +371,7 @@
|
|
|
355
371
|
CODE_SIGN_STYLE = Automatic;
|
|
356
372
|
CURRENT_PROJECT_VERSION = 1;
|
|
357
373
|
INFOPLIST_FILE = App/Info.plist;
|
|
358
|
-
IPHONEOS_DEPLOYMENT_TARGET = 15.
|
|
374
|
+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
|
|
359
375
|
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
|
360
376
|
MARKETING_VERSION = 1.0;
|
|
361
377
|
OTHER_SWIFT_FLAGS = "$(inherited) \"-D\" \"COCOAPODS\" \"-DDEBUG\"";
|
|
@@ -376,7 +392,7 @@
|
|
|
376
392
|
CODE_SIGN_STYLE = Automatic;
|
|
377
393
|
CURRENT_PROJECT_VERSION = 1;
|
|
378
394
|
INFOPLIST_FILE = App/Info.plist;
|
|
379
|
-
IPHONEOS_DEPLOYMENT_TARGET = 15.
|
|
395
|
+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
|
|
380
396
|
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
|
381
397
|
MARKETING_VERSION = 1.0;
|
|
382
398
|
PRODUCT_BUNDLE_IDENTIFIER = com.regula.example.dr.capacitor;
|
|
@@ -2,7 +2,7 @@ source "https://github.com/CocoaPods/Specs.git"
|
|
|
2
2
|
|
|
3
3
|
require_relative '../../node_modules/@capacitor/ios/scripts/pods_helpers'
|
|
4
4
|
|
|
5
|
-
platform :ios, '
|
|
5
|
+
platform :ios, '15.0'
|
|
6
6
|
use_frameworks!
|
|
7
7
|
|
|
8
8
|
# workaround to avoid Xcode caching of Pods that requires
|
|
@@ -14,6 +14,9 @@ def capacitor_pods
|
|
|
14
14
|
pod 'Capacitor', :path => '../../node_modules/@capacitor/ios'
|
|
15
15
|
pod 'CapacitorCordova', :path => '../../node_modules/@capacitor/ios'
|
|
16
16
|
pod 'CapacitorApp', :path => '../../node_modules/@capacitor/app'
|
|
17
|
+
pod 'CapacitorStatusBar', :path => '../../node_modules/@capacitor/status-bar'
|
|
18
|
+
pod 'CordovaPlugins', :path => '../capacitor-cordova-ios-plugins'
|
|
19
|
+
pod 'CordovaPluginsResources', :path => '../capacitor-cordova-ios-plugins'
|
|
17
20
|
end
|
|
18
21
|
|
|
19
22
|
target 'App' do
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
PODS:
|
|
2
|
-
- Capacitor (
|
|
2
|
+
- Capacitor (8.0.2):
|
|
3
3
|
- CapacitorCordova
|
|
4
|
-
- CapacitorApp (
|
|
4
|
+
- CapacitorApp (8.0.0):
|
|
5
5
|
- Capacitor
|
|
6
|
-
- CapacitorCordova (
|
|
7
|
-
- CapacitorStatusBar (
|
|
6
|
+
- CapacitorCordova (8.0.2)
|
|
7
|
+
- CapacitorStatusBar (8.0.0):
|
|
8
8
|
- Capacitor
|
|
9
|
-
- CordovaPlugins (
|
|
9
|
+
- CordovaPlugins (8.0.2):
|
|
10
10
|
- CapacitorCordova
|
|
11
11
|
- CordovaPluginsResources (0.0.105)
|
|
12
12
|
|
|
@@ -40,17 +40,13 @@ EXTERNAL SOURCES:
|
|
|
40
40
|
:path: "../capacitor-cordova-ios-plugins"
|
|
41
41
|
|
|
42
42
|
SPEC CHECKSUMS:
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
CordovaPluginsResources: 0c211f770ed91763a179ebcd9b9346e120b70662
|
|
50
|
-
DocumentReader: d846f670d5c3fbfaae632575bb061f0715ae9a95
|
|
51
|
-
DocumentReaderFullAuthRFID: eef3a88905e78359773091b4dc4595b0eec99d1f
|
|
52
|
-
RegulaCommon: 54f82928f414e73365df1f6ed3473e7a7055b3e7
|
|
43
|
+
Capacitor: 2b79172ad27f3be2d103cce88b8eb9803fdcc744
|
|
44
|
+
CapacitorApp: 3963a84197280757b84f126afd1520a85ae3b092
|
|
45
|
+
CapacitorCordova: 921bdb690ebe82421b24fce45552fd3dea2ae43a
|
|
46
|
+
CapacitorStatusBar: 312e2e67928dfe9514c4a8916a1fd610552f5f35
|
|
47
|
+
CordovaPlugins: 6645e371cc289abe4e014b6bce96c8a9fe98a118
|
|
48
|
+
CordovaPluginsResources: da93847212bf7b16ba770e4d6c3e7dba820174c7
|
|
53
49
|
|
|
54
|
-
PODFILE CHECKSUM:
|
|
50
|
+
PODFILE CHECKSUM: e830351ff5b19d0ecdb0c269f8b5444acb151f00
|
|
55
51
|
|
|
56
52
|
COCOAPODS: 1.16.2
|