@idpass/smartscanner-capacitor 0.4.0 → 0.5.0-beta.2
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/IdpassSmartscannerCapacitor.podspec +1 -1
- package/android/.gradle/5.6.4/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/7.4.2/checksums/checksums.lock +0 -0
- package/android/.gradle/7.4.2/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/7.4.2/checksums/sha1-checksums.bin +0 -0
- package/android/.gradle/7.4.2/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/android/.gradle/7.4.2/dependencies-accessors/gc.properties +0 -0
- package/android/.gradle/7.4.2/executionHistory/executionHistory.bin +0 -0
- package/android/.gradle/7.4.2/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/7.4.2/fileChanges/last-build.bin +0 -0
- package/android/.gradle/7.4.2/fileHashes/fileHashes.bin +0 -0
- package/android/.gradle/7.4.2/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/7.4.2/fileHashes/resourceHashesCache.bin +0 -0
- package/android/.gradle/7.4.2/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +2 -2
- package/android/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/android/.gradle/file-system.probe +0 -0
- package/android/aar/smartscannerlib-debug.aar +0 -0
- package/android/aar/smartscannerlib-release.aar +0 -0
- package/android/build/generated/source/buildConfig/debug/org/idpass/smartscanner/capacitor/smartscannercapacitorplugin/BuildConfig.java +10 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/AndroidManifest.xml +9 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/output-metadata.json +18 -0
- package/android/build/intermediates/aar_main_jar/debug/classes.jar +0 -0
- package/android/build/intermediates/aar_metadata/debug/aar-metadata.properties +4 -0
- package/android/build/intermediates/annotation_processor_list/debug/annotationProcessors.json +1 -0
- package/android/build/intermediates/annotations_typedef_file/debug/typedefs.txt +0 -0
- package/android/build/intermediates/compile_r_class_jar/debug/R.jar +0 -0
- package/android/build/intermediates/compile_symbol_list/debug/R.txt +5300 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +2 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/merged.dir/values/values.xml +4 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +2 -0
- package/android/build/intermediates/incremental/debug-mergeJavaRes/merge-state +0 -0
- package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +2 -0
- package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +2 -0
- package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +2 -0
- package/android/build/intermediates/javac/debug/classes/org/idpass/smartscanner/capacitor/smartscannercapacitorplugin/BuildConfig.class +0 -0
- package/android/build/intermediates/local_only_symbol_list/debug/R-def.txt +5 -0
- package/android/build/intermediates/manifest_merge_blame_file/debug/manifest-merger-blame-debug-report.txt +11 -0
- package/android/build/intermediates/merged_java_res/debug/feature-.jar +0 -0
- package/android/build/intermediates/merged_manifest/debug/AndroidManifest.xml +9 -0
- package/android/build/intermediates/packaged_manifests/debug/output-metadata.json +18 -0
- package/android/build/intermediates/packaged_res/debug/layout/bridge_layout_main.xml +13 -0
- package/android/build/intermediates/packaged_res/debug/values/values.xml +4 -0
- package/android/build/intermediates/symbol_list_with_package_name/debug/package-aware-r.txt +3727 -0
- package/android/build/kotlin/compileDebugKotlin/build-history.bin +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/counters.tab +2 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/last-build.bin +0 -0
- package/android/build/outputs/logs/manifest-merger-debug-report.txt +25 -0
- package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
- package/android/build/tmp/kotlin-classes/debug/META-INF/android_debug.kotlin_module +0 -0
- package/android/build/tmp/kotlin-classes/debug/org/idpass/smartscanner/capacitor/SmartScannerPlugin$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/org/idpass/smartscanner/capacitor/SmartScannerPlugin.class +0 -0
- package/android/build.gradle +9 -8
- package/android/gradle/wrapper/gradle-wrapper.properties +1 -1
- package/android/src/main/java/org/idpass/smartscanner/capacitor/SmartScannerPlugin.kt +6 -6
- package/dist/esm/definitions.d.ts +1 -6
- package/dist/esm/index.d.ts +4 -2
- package/dist/esm/index.js +4 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/web.d.ts +2 -3
- package/dist/esm/web.js +5 -21
- package/dist/esm/web.js.map +1 -1
- package/dist/plugin.cjs.js +29 -0
- package/dist/plugin.cjs.js.map +1 -0
- package/dist/plugin.js +15 -25
- package/dist/plugin.js.map +1 -1
- package/ios/Plugin.xcodeproj/project.pbxproj +4 -4
- package/ios/Podfile +1 -1
- package/package.json +10 -6
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.keystream
ADDED
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.keystream.len
ADDED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.values.at
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab.keystream.len
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.len
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab.keystream
ADDED
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len
ADDED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab.values.at
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab.keystream.len
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab.keystream.len
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
-- Merging decision tree log ---
|
|
2
|
+
manifest
|
|
3
|
+
ADDED from /Users/reubenjamesmangubat/Workfiles/NewLogic/smartscanner-capacitor/android/src/main/AndroidManifest.xml:1:1-2:14
|
|
4
|
+
INJECTED from /Users/reubenjamesmangubat/Workfiles/NewLogic/smartscanner-capacitor/android/src/main/AndroidManifest.xml:1:1-2:14
|
|
5
|
+
INJECTED from /Users/reubenjamesmangubat/Workfiles/NewLogic/smartscanner-capacitor/android/src/main/AndroidManifest.xml:1:1-2:14
|
|
6
|
+
package
|
|
7
|
+
ADDED from /Users/reubenjamesmangubat/Workfiles/NewLogic/smartscanner-capacitor/android/src/main/AndroidManifest.xml:1:11-82
|
|
8
|
+
INJECTED from /Users/reubenjamesmangubat/Workfiles/NewLogic/smartscanner-capacitor/android/src/main/AndroidManifest.xml
|
|
9
|
+
INJECTED from /Users/reubenjamesmangubat/Workfiles/NewLogic/smartscanner-capacitor/android/src/main/AndroidManifest.xml
|
|
10
|
+
xmlns:android
|
|
11
|
+
ADDED from /Users/reubenjamesmangubat/Workfiles/NewLogic/smartscanner-capacitor/android/src/main/AndroidManifest.xml:1:1-2:14
|
|
12
|
+
uses-sdk
|
|
13
|
+
INJECTED from /Users/reubenjamesmangubat/Workfiles/NewLogic/smartscanner-capacitor/android/src/main/AndroidManifest.xml reason: use-sdk injection requested
|
|
14
|
+
INJECTED from /Users/reubenjamesmangubat/Workfiles/NewLogic/smartscanner-capacitor/android/src/main/AndroidManifest.xml
|
|
15
|
+
INJECTED from /Users/reubenjamesmangubat/Workfiles/NewLogic/smartscanner-capacitor/android/src/main/AndroidManifest.xml
|
|
16
|
+
INJECTED from /Users/reubenjamesmangubat/Workfiles/NewLogic/smartscanner-capacitor/android/src/main/AndroidManifest.xml
|
|
17
|
+
INJECTED from /Users/reubenjamesmangubat/Workfiles/NewLogic/smartscanner-capacitor/android/src/main/AndroidManifest.xml
|
|
18
|
+
android:targetSdkVersion
|
|
19
|
+
INJECTED from /Users/reubenjamesmangubat/Workfiles/NewLogic/smartscanner-capacitor/android/src/main/AndroidManifest.xml
|
|
20
|
+
ADDED from /Users/reubenjamesmangubat/Workfiles/NewLogic/smartscanner-capacitor/android/src/main/AndroidManifest.xml
|
|
21
|
+
INJECTED from /Users/reubenjamesmangubat/Workfiles/NewLogic/smartscanner-capacitor/android/src/main/AndroidManifest.xml
|
|
22
|
+
android:minSdkVersion
|
|
23
|
+
INJECTED from /Users/reubenjamesmangubat/Workfiles/NewLogic/smartscanner-capacitor/android/src/main/AndroidManifest.xml
|
|
24
|
+
ADDED from /Users/reubenjamesmangubat/Workfiles/NewLogic/smartscanner-capacitor/android/src/main/AndroidManifest.xml
|
|
25
|
+
INJECTED from /Users/reubenjamesmangubat/Workfiles/NewLogic/smartscanner-capacitor/android/src/main/AndroidManifest.xml
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build.gradle
CHANGED
|
@@ -8,12 +8,13 @@ buildscript {
|
|
|
8
8
|
ext.kotlin_version = '1.4.10'
|
|
9
9
|
repositories {
|
|
10
10
|
google()
|
|
11
|
+
mavenCentral()
|
|
11
12
|
jcenter()
|
|
12
13
|
maven { url 'https://maven.fabric.io/public' }
|
|
13
14
|
}
|
|
14
15
|
dependencies {
|
|
15
|
-
classpath 'com.google.gms:google-services:4.3.
|
|
16
|
-
classpath 'com.android.tools.build:gradle:
|
|
16
|
+
classpath 'com.google.gms:google-services:4.3.13'
|
|
17
|
+
classpath 'com.android.tools.build:gradle:7.2.1'
|
|
17
18
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
18
19
|
}
|
|
19
20
|
}
|
|
@@ -35,10 +36,10 @@ apply plugin: 'com.android.library'
|
|
|
35
36
|
apply plugin: 'kotlin-android'
|
|
36
37
|
|
|
37
38
|
android {
|
|
38
|
-
compileSdkVersion
|
|
39
|
+
compileSdkVersion 32
|
|
39
40
|
defaultConfig {
|
|
40
|
-
minSdkVersion
|
|
41
|
-
targetSdkVersion
|
|
41
|
+
minSdkVersion 22
|
|
42
|
+
targetSdkVersion 32
|
|
42
43
|
versionCode 1
|
|
43
44
|
versionName "1.0"
|
|
44
45
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
@@ -54,8 +55,8 @@ android {
|
|
|
54
55
|
}
|
|
55
56
|
}
|
|
56
57
|
compileOptions {
|
|
57
|
-
sourceCompatibility JavaVersion.
|
|
58
|
-
targetCompatibility JavaVersion.
|
|
58
|
+
sourceCompatibility JavaVersion.VERSION_11
|
|
59
|
+
targetCompatibility JavaVersion.VERSION_11
|
|
59
60
|
}
|
|
60
61
|
lintOptions {
|
|
61
62
|
abortOnError false
|
|
@@ -142,7 +143,7 @@ dependencies {
|
|
|
142
143
|
//RX
|
|
143
144
|
implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
|
|
144
145
|
implementation 'io.reactivex.rxjava2:rxjava:2.2.19'
|
|
145
|
-
|
|
146
|
+
|
|
146
147
|
//Sentry
|
|
147
148
|
implementation 'io.sentry:sentry-android:5.0.1'
|
|
148
149
|
}
|
|
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
|
|
|
3
3
|
distributionPath=wrapper/dists
|
|
4
4
|
zipStoreBase=GRADLE_USER_HOME
|
|
5
5
|
zipStorePath=wrapper/dists
|
|
6
|
-
distributionUrl=https\://services.gradle.org/distributions/gradle-
|
|
6
|
+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-all.zip
|
|
@@ -29,7 +29,7 @@ class SmartScannerPlugin : Plugin() {
|
|
|
29
29
|
intent.putExtra(SmartScannerActivity.SCANNER_OPTIONS, scannerOptions)
|
|
30
30
|
startActivityForResult(call, intent, REQUEST_OP_SCANNER)
|
|
31
31
|
} else {
|
|
32
|
-
call.
|
|
32
|
+
call.reject("\"$action\" is not a recognized action.")
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
|
|
@@ -47,25 +47,25 @@ class SmartScannerPlugin : Plugin() {
|
|
|
47
47
|
val result = JSONObject(returnedResult)
|
|
48
48
|
val ret = JSObject()
|
|
49
49
|
ret.put(SmartScannerActivity.SCANNER_RESULT, result)
|
|
50
|
-
savedCall.
|
|
50
|
+
savedCall.resolve(ret)
|
|
51
51
|
} else {
|
|
52
|
-
savedCall.
|
|
52
|
+
savedCall.reject("Scanning result is null.")
|
|
53
53
|
}
|
|
54
54
|
} catch (e: JSONException) {
|
|
55
55
|
e.printStackTrace()
|
|
56
56
|
}
|
|
57
57
|
} else if (resultCode == Activity.RESULT_CANCELED) {
|
|
58
58
|
Timber.d("Plugin post SmartScannerActivity RESULT CANCELLED")
|
|
59
|
-
savedCall.
|
|
59
|
+
savedCall.reject("Scanning Cancelled.")
|
|
60
60
|
} else {
|
|
61
|
-
savedCall.
|
|
61
|
+
savedCall.reject("Scanning Failed.")
|
|
62
62
|
}
|
|
63
63
|
} catch (exception: Exception) {
|
|
64
64
|
Timber.e(exception)
|
|
65
65
|
exception.printStackTrace()
|
|
66
66
|
}
|
|
67
67
|
} else {
|
|
68
|
-
savedCall.
|
|
68
|
+
savedCall.reject("Unknown Request Code!")
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
}
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
interface PluginRegistry {
|
|
3
|
-
SmartScannerPluginInterface: SmartScannerPluginInterface;
|
|
4
|
-
}
|
|
5
|
-
}
|
|
6
|
-
export interface SmartScannerPluginInterface {
|
|
1
|
+
export interface SmartScannerPlugin {
|
|
7
2
|
echo(options: {
|
|
8
3
|
value: string;
|
|
9
4
|
}): Promise<{
|
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.js
CHANGED
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGjD,MAAM,kBAAkB,GAAG,cAAc,CACvC,cAAc,EACd;IACE,GAAG,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,CAAC,qBAAqB,EAAE,CAAC;CACtE,CACF,CAAC"}
|
package/dist/esm/web.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { WebPlugin } from '@capacitor/core';
|
|
2
|
-
import {
|
|
2
|
+
import { SmartScannerPlugin } from './definitions';
|
|
3
3
|
export * from './web';
|
|
4
|
-
export declare class SmartScannerPluginWeb extends WebPlugin implements
|
|
4
|
+
export declare class SmartScannerPluginWeb extends WebPlugin implements SmartScannerPlugin {
|
|
5
5
|
constructor();
|
|
6
6
|
echo(options: {
|
|
7
7
|
value: string;
|
|
@@ -13,4 +13,3 @@ export declare class SmartScannerPluginWeb extends WebPlugin implements SmartSca
|
|
|
13
13
|
action: string;
|
|
14
14
|
}): Promise<void>;
|
|
15
15
|
}
|
|
16
|
-
export { SmartScannerPluginInterface };
|
package/dist/esm/web.js
CHANGED
|
@@ -1,12 +1,3 @@
|
|
|
1
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
-
});
|
|
9
|
-
};
|
|
10
1
|
import { WebPlugin } from '@capacitor/core';
|
|
11
2
|
export * from './web';
|
|
12
3
|
export class SmartScannerPluginWeb extends WebPlugin {
|
|
@@ -16,19 +7,12 @@ export class SmartScannerPluginWeb extends WebPlugin {
|
|
|
16
7
|
platforms: ['web'],
|
|
17
8
|
});
|
|
18
9
|
}
|
|
19
|
-
echo(options) {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
return options;
|
|
23
|
-
});
|
|
10
|
+
async echo(options) {
|
|
11
|
+
console.log('ECHO', options);
|
|
12
|
+
return options;
|
|
24
13
|
}
|
|
25
|
-
executeScanner(options) {
|
|
26
|
-
|
|
27
|
-
console.log('executeScanner', options);
|
|
28
|
-
});
|
|
14
|
+
async executeScanner(options) {
|
|
15
|
+
console.log('executeScanner', options);
|
|
29
16
|
}
|
|
30
17
|
}
|
|
31
|
-
const SmartScannerPlugin = new SmartScannerPluginWeb();
|
|
32
|
-
import { registerWebPlugin } from '@capacitor/core';
|
|
33
|
-
registerWebPlugin(SmartScannerPlugin);
|
|
34
18
|
//# sourceMappingURL=web.js.map
|
package/dist/esm/web.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"web.js","sourceRoot":"","sources":["../../src/web.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"web.js","sourceRoot":"","sources":["../../src/web.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAG5C,cAAc,OAAO,CAAC;AAEtB,MAAM,OAAO,qBAAsB,SAAQ,SAAS;IAClD;QACE,KAAK,CAAC;YACJ,IAAI,EAAE,oBAAoB;YAC1B,SAAS,EAAE,CAAC,KAAK,CAAC;SACnB,CAAC,CAAC;IACL,CAAC;IAED,KAAK,CAAC,IAAI,CAAC,OAA0B;QACnC,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QAC7B,OAAO,OAAO,CAAC;IACjB,CAAC;IAED,KAAK,CAAC,cAAc,CAAC,OAAyC;QAC5D,OAAO,CAAC,GAAG,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAC;IACzC,CAAC;CACF"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var core = require('@capacitor/core');
|
|
4
|
+
|
|
5
|
+
const SmartScannerPlugin = core.registerPlugin("SmartScanner", {
|
|
6
|
+
web: () => Promise.resolve().then(function () { return web; }).then((m) => new m.SmartScannerPluginWeb()),
|
|
7
|
+
});
|
|
8
|
+
|
|
9
|
+
class SmartScannerPluginWeb extends core.WebPlugin {
|
|
10
|
+
constructor() {
|
|
11
|
+
super({
|
|
12
|
+
name: 'SmartScannerPlugin',
|
|
13
|
+
platforms: ['web'],
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
async echo(options) {
|
|
17
|
+
console.log('ECHO', options);
|
|
18
|
+
return options;
|
|
19
|
+
}
|
|
20
|
+
async executeScanner(options) {
|
|
21
|
+
console.log('executeScanner', options);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
var web = /*#__PURE__*/Object.freeze({
|
|
26
|
+
__proto__: null,
|
|
27
|
+
SmartScannerPluginWeb: SmartScannerPluginWeb
|
|
28
|
+
});
|
|
29
|
+
//# sourceMappingURL=plugin.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin.cjs.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from \"@capacitor/core\";\nconst SmartScannerPlugin = registerPlugin(\"SmartScanner\", {\n web: () => import(\"./web\").then((m) => new m.SmartScannerPluginWeb()),\n});\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\nexport * from './web';\nexport class SmartScannerPluginWeb extends WebPlugin {\n constructor() {\n super({\n name: 'SmartScannerPlugin',\n platforms: ['web'],\n });\n }\n async echo(options) {\n console.log('ECHO', options);\n return options;\n }\n async executeScanner(options) {\n console.log('executeScanner', options);\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["registerPlugin","WebPlugin"],"mappings":";;;;AACA,MAAM,kBAAkB,GAAGA,mBAAc,CAAC,cAAc,EAAE;AAC1D,IAAI,GAAG,EAAE,MAAM,mDAAe,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,qBAAqB,EAAE,CAAC;AACzE,CAAC,CAAC;;ACDK,MAAM,qBAAqB,SAASC,cAAS,CAAC;AACrD,IAAI,WAAW,GAAG;AAClB,QAAQ,KAAK,CAAC;AACd,YAAY,IAAI,EAAE,oBAAoB;AACtC,YAAY,SAAS,EAAE,CAAC,KAAK,CAAC;AAC9B,SAAS,CAAC,CAAC;AACX,KAAK;AACL,IAAI,MAAM,IAAI,CAAC,OAAO,EAAE;AACxB,QAAQ,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AACrC,QAAQ,OAAO,OAAO,CAAC;AACvB,KAAK;AACL,IAAI,MAAM,cAAc,CAAC,OAAO,EAAE;AAClC,QAAQ,OAAO,CAAC,GAAG,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAC;AAC/C,KAAK;AACL;;;;;;;"}
|
package/dist/plugin.js
CHANGED
|
@@ -1,15 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
(function (core) {
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
function
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
9
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
10
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
11
|
-
});
|
|
12
|
-
};
|
|
4
|
+
const SmartScannerPlugin = core.registerPlugin("SmartScanner", {
|
|
5
|
+
web: () => Promise.resolve().then(function () { return web; }).then((m) => new m.SmartScannerPluginWeb()),
|
|
6
|
+
});
|
|
7
|
+
|
|
13
8
|
class SmartScannerPluginWeb extends core.WebPlugin {
|
|
14
9
|
constructor() {
|
|
15
10
|
super({
|
|
@@ -17,24 +12,19 @@ var capacitorPlugin = (function (exports, core) {
|
|
|
17
12
|
platforms: ['web'],
|
|
18
13
|
});
|
|
19
14
|
}
|
|
20
|
-
echo(options) {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
return options;
|
|
24
|
-
});
|
|
15
|
+
async echo(options) {
|
|
16
|
+
console.log('ECHO', options);
|
|
17
|
+
return options;
|
|
25
18
|
}
|
|
26
|
-
executeScanner(options) {
|
|
27
|
-
|
|
28
|
-
console.log('executeScanner', options);
|
|
29
|
-
});
|
|
19
|
+
async executeScanner(options) {
|
|
20
|
+
console.log('executeScanner', options);
|
|
30
21
|
}
|
|
31
22
|
}
|
|
32
|
-
const SmartScannerPlugin = new SmartScannerPluginWeb();
|
|
33
|
-
core.registerWebPlugin(SmartScannerPlugin);
|
|
34
|
-
|
|
35
|
-
exports.SmartScannerPluginWeb = SmartScannerPluginWeb;
|
|
36
23
|
|
|
37
|
-
|
|
24
|
+
var web = /*#__PURE__*/Object.freeze({
|
|
25
|
+
__proto__: null,
|
|
26
|
+
SmartScannerPluginWeb: SmartScannerPluginWeb
|
|
27
|
+
});
|
|
38
28
|
|
|
39
|
-
}(
|
|
29
|
+
}(capacitorExports));
|
|
40
30
|
//# sourceMappingURL=plugin.js.map
|
package/dist/plugin.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.js","sources":["esm/web.js"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"plugin.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from \"@capacitor/core\";\nconst SmartScannerPlugin = registerPlugin(\"SmartScanner\", {\n web: () => import(\"./web\").then((m) => new m.SmartScannerPluginWeb()),\n});\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\nexport * from './web';\nexport class SmartScannerPluginWeb extends WebPlugin {\n constructor() {\n super({\n name: 'SmartScannerPlugin',\n platforms: ['web'],\n });\n }\n async echo(options) {\n console.log('ECHO', options);\n return options;\n }\n async executeScanner(options) {\n console.log('executeScanner', options);\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["registerPlugin","WebPlugin"],"mappings":";;;IACA,MAAM,kBAAkB,GAAGA,mBAAc,CAAC,cAAc,EAAE;IAC1D,IAAI,GAAG,EAAE,MAAM,mDAAe,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,qBAAqB,EAAE,CAAC;IACzE,CAAC,CAAC;;ICDK,MAAM,qBAAqB,SAASC,cAAS,CAAC;IACrD,IAAI,WAAW,GAAG;IAClB,QAAQ,KAAK,CAAC;IACd,YAAY,IAAI,EAAE,oBAAoB;IACtC,YAAY,SAAS,EAAE,CAAC,KAAK,CAAC;IAC9B,SAAS,CAAC,CAAC;IACX,KAAK;IACL,IAAI,MAAM,IAAI,CAAC,OAAO,EAAE;IACxB,QAAQ,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrC,QAAQ,OAAO,OAAO,CAAC;IACvB,KAAK;IACL,IAAI,MAAM,cAAc,CAAC,OAAO,EAAE;IAClC,QAAQ,OAAO,CAAC,GAAG,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAC;IAC/C,KAAK;IACL;;;;;;;;;;;"}
|
|
@@ -375,7 +375,7 @@
|
|
|
375
375
|
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
376
376
|
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
377
377
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
378
|
-
IPHONEOS_DEPLOYMENT_TARGET =
|
|
378
|
+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
|
|
379
379
|
MTL_ENABLE_DEBUG_INFO = YES;
|
|
380
380
|
ONLY_ACTIVE_ARCH = YES;
|
|
381
381
|
SDKROOT = iphoneos;
|
|
@@ -429,7 +429,7 @@
|
|
|
429
429
|
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
430
430
|
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
431
431
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
432
|
-
IPHONEOS_DEPLOYMENT_TARGET =
|
|
432
|
+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
|
|
433
433
|
MTL_ENABLE_DEBUG_INFO = NO;
|
|
434
434
|
SDKROOT = iphoneos;
|
|
435
435
|
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
|
|
@@ -452,7 +452,7 @@
|
|
|
452
452
|
DYLIB_INSTALL_NAME_BASE = "@rpath";
|
|
453
453
|
INFOPLIST_FILE = Plugin/Info.plist;
|
|
454
454
|
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
|
|
455
|
-
IPHONEOS_DEPLOYMENT_TARGET =
|
|
455
|
+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
|
|
456
456
|
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks $(FRAMEWORK_SEARCH_PATHS)\n$(FRAMEWORK_SEARCH_PATHS)\n$(FRAMEWORK_SEARCH_PATHS)";
|
|
457
457
|
ONLY_ACTIVE_ARCH = YES;
|
|
458
458
|
PRODUCT_BUNDLE_IDENTIFIER = com.getcapacitor.Plugin;
|
|
@@ -477,7 +477,7 @@
|
|
|
477
477
|
DYLIB_INSTALL_NAME_BASE = "@rpath";
|
|
478
478
|
INFOPLIST_FILE = Plugin/Info.plist;
|
|
479
479
|
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
|
|
480
|
-
IPHONEOS_DEPLOYMENT_TARGET =
|
|
480
|
+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
|
|
481
481
|
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks $(FRAMEWORK_SEARCH_PATHS)";
|
|
482
482
|
ONLY_ACTIVE_ARCH = NO;
|
|
483
483
|
PRODUCT_BUNDLE_IDENTIFIER = com.getcapacitor.Plugin;
|
package/ios/Podfile
CHANGED