anyline-ocr-react-native-module 35.0.0 → 38.0.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/android/.classpath +2 -2
- package/android/.gradle/6.7/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/{6.5 → 6.7}/fileChanges/last-build.bin +0 -0
- package/android/.gradle/6.7/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/{6.5 → 6.7}/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +2 -2
- package/android/.gradle/checksums/checksums.lock +0 -0
- package/android/.gradle/checksums/sha1-checksums.bin +0 -0
- package/android/.gradle/configuration-cache/gc.properties +0 -0
- package/android/.project +11 -0
- package/android/build.gradle +1 -1
- package/android/gradle/wrapper/gradle-wrapper.properties +1 -1
- package/android/gradlew.bat +27 -28
- package/android/src/main/java/com/anyline/reactnative/Anyline4Activity.java +46 -73
- package/android/src/main/res/values/styles.xml +1 -1
- package/ios/ALPluginHelper.h +3 -0
- package/ios/ALPluginHelper.m +19 -40
- package/ios/ALPluginScanViewController.m +8 -0
- package/ios/AnylineReact.podspec +1 -1
- package/ios/AnylineSDKPlugin.m +1 -1
- package/package.json +8 -8
- package/android/.gradle/6.5/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/6.5/fileHashes/fileHashes.bin +0 -0
- package/android/.gradle/6.5/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/android/.gradle/checksums/md5-checksums.bin +0 -0
- package/android/.idea/caches/build_file_checksums.ser +0 -0
- package/android/.idea/compiler.xml +0 -6
- package/android/.idea/gradle.xml +0 -21
- package/android/.idea/jarRepositories.xml +0 -30
- package/android/.idea/libraries/Gradle__androidx_activity_activity_1_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_annotation_annotation_1_2_0.xml +0 -11
- package/android/.idea/libraries/Gradle__androidx_annotation_annotation_experimental_1_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_appcompat_appcompat_1_2_0_aar.xml +0 -16
- package/android/.idea/libraries/Gradle__androidx_appcompat_appcompat_resources_1_2_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_arch_core_core_common_2_1_0.xml +0 -11
- package/android/.idea/libraries/Gradle__androidx_arch_core_core_runtime_2_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_cardview_cardview_1_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_collection_collection_1_1_0.xml +0 -11
- package/android/.idea/libraries/Gradle__androidx_constraintlayout_constraintlayout_2_0_1_aar.xml +0 -11
- package/android/.idea/libraries/Gradle__androidx_constraintlayout_constraintlayout_solver_2_0_1.xml +0 -9
- package/android/.idea/libraries/Gradle__androidx_coordinatorlayout_coordinatorlayout_1_1_0_aar.xml +0 -16
- package/android/.idea/libraries/Gradle__androidx_core_core_1_5_0_aar.xml +0 -16
- package/android/.idea/libraries/Gradle__androidx_cursoradapter_cursoradapter_1_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_customview_customview_1_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_documentfile_documentfile_1_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_drawerlayout_drawerlayout_1_0_0_aar.xml +0 -16
- package/android/.idea/libraries/Gradle__androidx_dynamicanimation_dynamicanimation_1_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_exifinterface_exifinterface_1_0_0_aar.xml +0 -16
- package/android/.idea/libraries/Gradle__androidx_fragment_fragment_1_1_0_aar.xml +0 -16
- package/android/.idea/libraries/Gradle__androidx_interpolator_interpolator_1_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_legacy_legacy_support_core_utils_1_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_common_2_1_0.xml +0 -11
- package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_livedata_2_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_livedata_core_2_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_runtime_2_1_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_viewmodel_2_1_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_loader_loader_1_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_localbroadcastmanager_localbroadcastmanager_1_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_multidex_multidex_2_0_1_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_print_print_1_0_0_aar.xml +0 -16
- package/android/.idea/libraries/Gradle__androidx_recyclerview_recyclerview_1_1_0_aar.xml +0 -16
- package/android/.idea/libraries/Gradle__androidx_savedstate_savedstate_1_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_transition_transition_1_2_0_aar.xml +0 -16
- package/android/.idea/libraries/Gradle__androidx_vectordrawable_vectordrawable_1_1_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_vectordrawable_vectordrawable_animated_1_1_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_versionedparcelable_versionedparcelable_1_1_1_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_viewpager2_viewpager2_1_0_0_aar.xml +0 -16
- package/android/.idea/libraries/Gradle__androidx_viewpager_viewpager_1_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__com_android_support_appcompat_v7_23_0_1_aar.xml +0 -18
- package/android/.idea/libraries/Gradle__com_android_support_recyclerview_v7_23_0_1_aar.xml +0 -15
- package/android/.idea/libraries/Gradle__com_android_support_support_annotations_23_0_1.xml +0 -13
- package/android/.idea/libraries/Gradle__com_android_support_support_v4_23_0_1_aar.xml +0 -19
- package/android/.idea/libraries/Gradle__com_facebook_fresco_drawee_0_8_1_aar.xml +0 -15
- package/android/.idea/libraries/Gradle__com_facebook_fresco_fbcore_0_8_1_aar.xml +0 -15
- package/android/.idea/libraries/Gradle__com_facebook_fresco_fresco_0_8_1_aar.xml +0 -15
- package/android/.idea/libraries/Gradle__com_facebook_fresco_imagepipeline_0_8_1_aar.xml +0 -15
- package/android/.idea/libraries/Gradle__com_facebook_fresco_imagepipeline_okhttp_0_8_1_aar.xml +0 -15
- package/android/.idea/libraries/Gradle__com_facebook_react_react_native_0_20_1_aar.xml +0 -19
- package/android/.idea/libraries/Gradle__com_facebook_stetho_stetho_1_2_0.xml +0 -13
- package/android/.idea/libraries/Gradle__com_facebook_stetho_stetho_okhttp_1_2_0.xml +0 -13
- package/android/.idea/libraries/Gradle__com_fasterxml_jackson_core_jackson_core_2_2_3.xml +0 -13
- package/android/.idea/libraries/Gradle__com_google_android_datatransport_transport_api_2_2_1_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__com_google_android_datatransport_transport_backend_cct_2_3_2_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__com_google_android_datatransport_transport_runtime_2_2_5_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__com_google_android_gms_play_services_base_17_6_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__com_google_android_gms_play_services_basement_17_6_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__com_google_android_gms_play_services_clearcut_17_0_0_aar.xml +0 -11
- package/android/.idea/libraries/Gradle__com_google_android_gms_play_services_mlkit_barcode_scanning_16_1_4_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__com_google_android_gms_play_services_phenotype_17_0_0_aar.xml +0 -11
- package/android/.idea/libraries/Gradle__com_google_android_gms_play_services_tasks_17_2_1_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__com_google_android_material_material_1_4_0_rc01_aar.xml +0 -16
- package/android/.idea/libraries/Gradle__com_google_code_findbugs_jsr305_3_0_2.xml +0 -13
- package/android/.idea/libraries/Gradle__com_google_firebase_firebase_components_16_0_0_aar.xml +0 -15
- package/android/.idea/libraries/Gradle__com_google_firebase_firebase_encoders_16_1_0.xml +0 -13
- package/android/.idea/libraries/Gradle__com_google_firebase_firebase_encoders_json_17_1_0_aar.xml +0 -15
- package/android/.idea/libraries/Gradle__com_google_mlkit_barcode_scanning_16_1_1_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__com_google_mlkit_common_17_1_1_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__com_google_mlkit_vision_common_16_3_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__com_nineoldandroids_library_2_4_0.xml +0 -13
- package/android/.idea/libraries/Gradle__com_parse_bolts_bolts_android_1_1_4.xml +0 -13
- package/android/.idea/libraries/Gradle__com_squareup_okhttp_okhttp_2_5_0.xml +0 -13
- package/android/.idea/libraries/Gradle__com_squareup_okhttp_okhttp_ws_2_5_0.xml +0 -13
- package/android/.idea/libraries/Gradle__com_squareup_okio_okio_1_6_0.xml +0 -13
- package/android/.idea/libraries/Gradle__commons_cli_commons_cli_1_2.xml +0 -13
- package/android/.idea/libraries/Gradle__io_anyline_anylinesdk_34_0_0_aar.xml +0 -16
- package/android/.idea/libraries/Gradle__javax_inject_javax_inject_1.xml +0 -13
- package/android/.idea/libraries/Gradle__org_webkit_android_jsc_r174650_aar.xml +0 -11
- package/android/.idea/misc.xml +0 -9
- package/android/.idea/modules/android.iml +0 -120
- package/android/.idea/modules.xml +0 -8
- package/android/.idea/vcs.xml +0 -6
- package/android/.idea/workspace.xml +0 -53
- package/android/local.properties +0 -8
package/android/.classpath
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
2
|
<classpath>
|
|
3
|
-
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-
|
|
3
|
+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-15/"/>
|
|
4
4
|
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
|
|
5
|
-
<classpathentry kind="output" path="bin"/>
|
|
5
|
+
<classpathentry kind="output" path="bin/default"/>
|
|
6
6
|
</classpath>
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#
|
|
2
|
-
gradle.version=6.
|
|
1
|
+
#Wed Feb 16 10:59:23 CET 2022
|
|
2
|
+
gradle.version=6.7
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
package/android/.project
CHANGED
|
@@ -20,4 +20,15 @@
|
|
|
20
20
|
<nature>org.eclipse.jdt.core.javanature</nature>
|
|
21
21
|
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
|
|
22
22
|
</natures>
|
|
23
|
+
<filteredResources>
|
|
24
|
+
<filter>
|
|
25
|
+
<id>1644311700731</id>
|
|
26
|
+
<name></name>
|
|
27
|
+
<type>30</type>
|
|
28
|
+
<matcher>
|
|
29
|
+
<id>org.eclipse.core.resources.regexFilterMatcher</id>
|
|
30
|
+
<arguments>node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
|
|
31
|
+
</matcher>
|
|
32
|
+
</filter>
|
|
33
|
+
</filteredResources>
|
|
23
34
|
</projectDescription>
|
package/android/build.gradle
CHANGED
|
@@ -65,7 +65,7 @@ repositories {
|
|
|
65
65
|
|
|
66
66
|
dependencies {
|
|
67
67
|
implementation fileTree(dir: "libs", include: ["*.jar"])
|
|
68
|
-
implementation 'io.anyline:anylinesdk:
|
|
68
|
+
implementation 'io.anyline:anylinesdk:38.0.0'
|
|
69
69
|
implementation "com.facebook.react:react-native:+" // from node_modules
|
|
70
70
|
implementation("com.google.android.material:material:1.4.0-rc01")
|
|
71
71
|
implementation 'androidx.multidex:multidex:2.0.1'
|
|
@@ -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.
|
|
6
|
+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip
|
package/android/gradlew.bat
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
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
|
+
|
|
1
17
|
@if "%DEBUG%" == "" @echo off
|
|
2
18
|
@rem ##########################################################################
|
|
3
19
|
@rem
|
|
@@ -8,20 +24,23 @@
|
|
|
8
24
|
@rem Set local scope for the variables with windows NT shell
|
|
9
25
|
if "%OS%"=="Windows_NT" setlocal
|
|
10
26
|
|
|
11
|
-
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
|
12
|
-
set DEFAULT_JVM_OPTS=
|
|
13
|
-
|
|
14
27
|
set DIRNAME=%~dp0
|
|
15
28
|
if "%DIRNAME%" == "" set DIRNAME=.
|
|
16
29
|
set APP_BASE_NAME=%~n0
|
|
17
30
|
set APP_HOME=%DIRNAME%
|
|
18
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
|
+
|
|
19
38
|
@rem Find java.exe
|
|
20
39
|
if defined JAVA_HOME goto findJavaFromJavaHome
|
|
21
40
|
|
|
22
41
|
set JAVA_EXE=java.exe
|
|
23
42
|
%JAVA_EXE% -version >NUL 2>&1
|
|
24
|
-
if "%ERRORLEVEL%" == "0" goto
|
|
43
|
+
if "%ERRORLEVEL%" == "0" goto execute
|
|
25
44
|
|
|
26
45
|
echo.
|
|
27
46
|
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
|
@@ -35,7 +54,7 @@ goto fail
|
|
|
35
54
|
set JAVA_HOME=%JAVA_HOME:"=%
|
|
36
55
|
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
|
|
37
56
|
|
|
38
|
-
if exist "%JAVA_EXE%" goto
|
|
57
|
+
if exist "%JAVA_EXE%" goto execute
|
|
39
58
|
|
|
40
59
|
echo.
|
|
41
60
|
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
|
|
@@ -45,34 +64,14 @@ echo location of your Java installation.
|
|
|
45
64
|
|
|
46
65
|
goto fail
|
|
47
66
|
|
|
48
|
-
:init
|
|
49
|
-
@rem Get command-line arguments, handling Windowz variants
|
|
50
|
-
|
|
51
|
-
if not "%OS%" == "Windows_NT" goto win9xME_args
|
|
52
|
-
if "%@eval[2+2]" == "4" goto 4NT_args
|
|
53
|
-
|
|
54
|
-
:win9xME_args
|
|
55
|
-
@rem Slurp the command line arguments.
|
|
56
|
-
set CMD_LINE_ARGS=
|
|
57
|
-
set _SKIP=2
|
|
58
|
-
|
|
59
|
-
:win9xME_args_slurp
|
|
60
|
-
if "x%~1" == "x" goto execute
|
|
61
|
-
|
|
62
|
-
set CMD_LINE_ARGS=%*
|
|
63
|
-
goto execute
|
|
64
|
-
|
|
65
|
-
:4NT_args
|
|
66
|
-
@rem Get arguments from the 4NT Shell from JP Software
|
|
67
|
-
set CMD_LINE_ARGS=%$
|
|
68
|
-
|
|
69
67
|
:execute
|
|
70
68
|
@rem Setup the command line
|
|
71
69
|
|
|
72
70
|
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
|
|
73
71
|
|
|
72
|
+
|
|
74
73
|
@rem Execute Gradle
|
|
75
|
-
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain
|
|
74
|
+
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
|
|
76
75
|
|
|
77
76
|
:end
|
|
78
77
|
@rem End local scope for the variables with windows NT shell
|
|
@@ -87,4 +86,4 @@ exit /b 1
|
|
|
87
86
|
:mainEnd
|
|
88
87
|
if "%OS%"=="Windows_NT" endlocal
|
|
89
88
|
|
|
90
|
-
:omega
|
|
89
|
+
:omega
|
|
@@ -36,10 +36,6 @@ import io.anyline.plugin.barcode.BarcodeScanPlugin;
|
|
|
36
36
|
import io.anyline.plugin.barcode.BarcodeScanResult;
|
|
37
37
|
import io.anyline.plugin.barcode.BarcodeScanViewPlugin;
|
|
38
38
|
import io.anyline.plugin.barcode.PDF417;
|
|
39
|
-
import io.anyline.plugin.id.DrivingLicenseConfig;
|
|
40
|
-
import io.anyline.plugin.id.DrivingLicenseIdentification;
|
|
41
|
-
import io.anyline.plugin.id.GermanIdFrontConfig;
|
|
42
|
-
import io.anyline.plugin.id.GermanIdFrontIdentification;
|
|
43
39
|
import io.anyline.plugin.id.ID;
|
|
44
40
|
import io.anyline.plugin.id.IdScanPlugin;
|
|
45
41
|
import io.anyline.plugin.id.IdScanViewPlugin;
|
|
@@ -54,6 +50,9 @@ import io.anyline.plugin.meter.MeterScanResult;
|
|
|
54
50
|
import io.anyline.plugin.meter.MeterScanViewPlugin;
|
|
55
51
|
import io.anyline.plugin.ocr.OcrScanResult;
|
|
56
52
|
import io.anyline.plugin.ocr.OcrScanViewPlugin;
|
|
53
|
+
import io.anyline.plugin.tire.TireScanResult;
|
|
54
|
+
import io.anyline.plugin.tire.TireScanPlugin;
|
|
55
|
+
import io.anyline.plugin.tire.TireScanViewPlugin;
|
|
57
56
|
import io.anyline.view.AbstractBaseScanViewPlugin;
|
|
58
57
|
import io.anyline.view.CutoutRect;
|
|
59
58
|
import io.anyline.view.ParallelScanViewComposite;
|
|
@@ -71,11 +70,12 @@ public class Anyline4Activity extends AnylineBaseActivity {
|
|
|
71
70
|
private String cropAndTransformError;
|
|
72
71
|
private Boolean isFirstCameraOpen; // only if camera is opened the first time get coordinates of the cutout to avoid flickering when switching between analog and digital
|
|
73
72
|
private RelativeLayout parentLayout;
|
|
73
|
+
private boolean defaultOrientationApplied;
|
|
74
|
+
private static final String KEY_DEFAULT_ORIENTATION_APPLIED = "default_orientation_applied";
|
|
74
75
|
|
|
75
76
|
@Override
|
|
76
77
|
protected void onCreate(Bundle savedInstanceState) {
|
|
77
78
|
super.onCreate(savedInstanceState);
|
|
78
|
-
|
|
79
79
|
isFirstCameraOpen = true;
|
|
80
80
|
|
|
81
81
|
// init the scan view
|
|
@@ -88,6 +88,10 @@ public class Anyline4Activity extends AnylineBaseActivity {
|
|
|
88
88
|
parentLayout.addView(anylineScanView, layoutParams);
|
|
89
89
|
setContentView(parentLayout, layoutParams);
|
|
90
90
|
|
|
91
|
+
if (savedInstanceState != null) {
|
|
92
|
+
defaultOrientationApplied = savedInstanceState.getBoolean(KEY_DEFAULT_ORIENTATION_APPLIED);
|
|
93
|
+
}
|
|
94
|
+
|
|
91
95
|
try {
|
|
92
96
|
// start initialize anyline
|
|
93
97
|
initAnyline();
|
|
@@ -98,6 +102,12 @@ public class Anyline4Activity extends AnylineBaseActivity {
|
|
|
98
102
|
setDebugListener();
|
|
99
103
|
}
|
|
100
104
|
|
|
105
|
+
@Override
|
|
106
|
+
protected void onSaveInstanceState(Bundle outState) {
|
|
107
|
+
super.onSaveInstanceState(outState);
|
|
108
|
+
outState.putBoolean(KEY_DEFAULT_ORIENTATION_APPLIED, defaultOrientationApplied);
|
|
109
|
+
}
|
|
110
|
+
|
|
101
111
|
@Override
|
|
102
112
|
protected void onResume() {
|
|
103
113
|
super.onResume();
|
|
@@ -173,6 +183,8 @@ public class Anyline4Activity extends AnylineBaseActivity {
|
|
|
173
183
|
addRotateButtonToView(rotateButtonConfig);
|
|
174
184
|
}
|
|
175
185
|
|
|
186
|
+
setDefaultOrientation(json);
|
|
187
|
+
|
|
176
188
|
if (scanViewPlugin != null) {
|
|
177
189
|
//set nativeBarcodeMode
|
|
178
190
|
AnylinePluginHelper.setNativeBarcodeMode(json, anylineScanView);
|
|
@@ -212,27 +224,6 @@ public class Anyline4Activity extends AnylineBaseActivity {
|
|
|
212
224
|
jsonIdResult = AnylinePluginHelper.jsonHelper(Anyline4Activity.this, subResult,
|
|
213
225
|
jsonIdResult);
|
|
214
226
|
|
|
215
|
-
jsonResult.put(subResult.getPluginId(), jsonIdResult);
|
|
216
|
-
} catch (JSONException e) {
|
|
217
|
-
e.printStackTrace();
|
|
218
|
-
}
|
|
219
|
-
} else if (subResult.getResult() instanceof DrivingLicenseIdentification) {
|
|
220
|
-
JSONObject jsonIdResult = ((DrivingLicenseIdentification) subResult.getResult())
|
|
221
|
-
.toJSONObject();
|
|
222
|
-
try {
|
|
223
|
-
jsonIdResult = AnylinePluginHelper.jsonHelper(Anyline4Activity.this, subResult,
|
|
224
|
-
jsonIdResult);
|
|
225
|
-
|
|
226
|
-
jsonResult.put(subResult.getPluginId(), jsonIdResult);
|
|
227
|
-
} catch (JSONException e) {
|
|
228
|
-
e.printStackTrace();
|
|
229
|
-
}
|
|
230
|
-
} else if (subResult.getResult() instanceof GermanIdFrontIdentification) {
|
|
231
|
-
JSONObject jsonIdResult = ((GermanIdFrontIdentification) subResult.getResult()).toJSONObject();
|
|
232
|
-
try {
|
|
233
|
-
jsonIdResult = AnylinePluginHelper.jsonHelper(Anyline4Activity.this, subResult,
|
|
234
|
-
jsonIdResult);
|
|
235
|
-
|
|
236
227
|
jsonResult.put(subResult.getPluginId(), jsonIdResult);
|
|
237
228
|
} catch (JSONException e) {
|
|
238
229
|
e.printStackTrace();
|
|
@@ -270,9 +261,6 @@ public class Anyline4Activity extends AnylineBaseActivity {
|
|
|
270
261
|
}
|
|
271
262
|
});
|
|
272
263
|
} else if (scanViewPlugin instanceof LicensePlateScanViewPlugin) {
|
|
273
|
-
if (json.has("reportingEnabled")) {
|
|
274
|
-
(((IdScanViewPlugin) scanViewPlugin).getScanPlugin()).setReportingEnabled(json.optBoolean("reportingEnabled", true));
|
|
275
|
-
}
|
|
276
264
|
scanViewPlugin.addScanResultListener(new ScanResultListener<LicensePlateScanResult>() {
|
|
277
265
|
@Override
|
|
278
266
|
public void onResult(LicensePlateScanResult licensePlateResult) {
|
|
@@ -330,41 +318,6 @@ public class Anyline4Activity extends AnylineBaseActivity {
|
|
|
330
318
|
}
|
|
331
319
|
|
|
332
320
|
});
|
|
333
|
-
} else if (((IdScanPlugin) ((IdScanViewPlugin) scanViewPlugin).getScanPlugin()).getIdConfig() instanceof DrivingLicenseConfig) {
|
|
334
|
-
scanViewPlugin.addScanResultListener(new ScanResultListener<ScanResult<ID>>() {
|
|
335
|
-
@Override
|
|
336
|
-
public void onResult(ScanResult<ID> idScanResult) {
|
|
337
|
-
JSONObject jsonResult = ((DrivingLicenseIdentification) idScanResult.getResult()).toJSONObject();
|
|
338
|
-
|
|
339
|
-
try {
|
|
340
|
-
jsonResult = AnylinePluginHelper.jsonHelper(Anyline4Activity.this, idScanResult,
|
|
341
|
-
jsonResult);
|
|
342
|
-
} catch (Exception e) {
|
|
343
|
-
Log.e(TAG, "Exception is: ", e);
|
|
344
|
-
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
setResult(scanViewPlugin, jsonResult);
|
|
348
|
-
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
});
|
|
352
|
-
} else if (((IdScanPlugin) ((IdScanViewPlugin) scanViewPlugin).getScanPlugin()).getIdConfig() instanceof GermanIdFrontConfig) {
|
|
353
|
-
scanViewPlugin.addScanResultListener(new ScanResultListener<ScanResult<ID>>() {
|
|
354
|
-
@Override
|
|
355
|
-
public void onResult(ScanResult<ID> idScanResult) {
|
|
356
|
-
JSONObject jsonResult = ((GermanIdFrontIdentification) idScanResult.getResult()).toJSONObject();
|
|
357
|
-
|
|
358
|
-
try {
|
|
359
|
-
jsonResult = AnylinePluginHelper.jsonHelper(Anyline4Activity.this, idScanResult,
|
|
360
|
-
jsonResult);
|
|
361
|
-
} catch (Exception e) {
|
|
362
|
-
Log.e(TAG, "Exception is: ", e);
|
|
363
|
-
|
|
364
|
-
}
|
|
365
|
-
setResult(scanViewPlugin, jsonResult);
|
|
366
|
-
}
|
|
367
|
-
});
|
|
368
321
|
} else if (((IdScanPlugin) ((IdScanViewPlugin) scanViewPlugin).getScanPlugin()).getIdConfig() instanceof UniversalIdConfig) {
|
|
369
322
|
scanViewPlugin.addScanResultListener(new ScanResultListener<ScanResult<ID>>() {
|
|
370
323
|
@Override
|
|
@@ -386,10 +339,6 @@ public class Anyline4Activity extends AnylineBaseActivity {
|
|
|
386
339
|
});
|
|
387
340
|
}
|
|
388
341
|
} else if (scanViewPlugin instanceof OcrScanViewPlugin) {
|
|
389
|
-
if (json.has("reportingEnabled")) {
|
|
390
|
-
(((OcrScanViewPlugin) scanViewPlugin).getScanPlugin()).setReportingEnabled(json.optBoolean("reportingEnabled", true));
|
|
391
|
-
}
|
|
392
|
-
|
|
393
342
|
scanViewPlugin.addScanResultListener(new ScanResultListener<OcrScanResult>() {
|
|
394
343
|
@Override
|
|
395
344
|
public void onResult(OcrScanResult ocrScanResult) {
|
|
@@ -407,6 +356,24 @@ public class Anyline4Activity extends AnylineBaseActivity {
|
|
|
407
356
|
|
|
408
357
|
});
|
|
409
358
|
|
|
359
|
+
} else if (scanViewPlugin instanceof TireScanViewPlugin) {
|
|
360
|
+
scanViewPlugin.addScanResultListener(new ScanResultListener<TireScanResult>() {
|
|
361
|
+
@Override
|
|
362
|
+
public void onResult(TireScanResult tireScanResult) {
|
|
363
|
+
JSONObject jsonResult = new JSONObject();
|
|
364
|
+
try {
|
|
365
|
+
jsonResult.put("text", tireScanResult.getResult().trim());
|
|
366
|
+
jsonResult = AnylinePluginHelper.jsonHelper(Anyline4Activity.this, tireScanResult,
|
|
367
|
+
jsonResult);
|
|
368
|
+
} catch (JSONException e) {
|
|
369
|
+
e.printStackTrace();
|
|
370
|
+
}
|
|
371
|
+
setResult(scanViewPlugin, jsonResult);
|
|
372
|
+
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
});
|
|
376
|
+
|
|
410
377
|
} else if (scanViewPlugin instanceof BarcodeScanViewPlugin) {
|
|
411
378
|
|
|
412
379
|
if (shouldEnablePDF417(json)) {
|
|
@@ -428,7 +395,7 @@ public class Anyline4Activity extends AnylineBaseActivity {
|
|
|
428
395
|
|
|
429
396
|
PDF417 pdf417 = barcodeList.get(i).getParsedPDF417();
|
|
430
397
|
|
|
431
|
-
if(pdf417 != null) {
|
|
398
|
+
if (pdf417 != null) {
|
|
432
399
|
barcode.put("parsedPDF417", pdf417.toJSONObject());
|
|
433
400
|
}
|
|
434
401
|
barcodeArray.put(barcode);
|
|
@@ -449,10 +416,6 @@ public class Anyline4Activity extends AnylineBaseActivity {
|
|
|
449
416
|
});
|
|
450
417
|
|
|
451
418
|
} else if (scanViewPlugin instanceof MeterScanViewPlugin) {
|
|
452
|
-
if (json.has("reportingEnabled")) {
|
|
453
|
-
(((MeterScanViewPlugin) scanViewPlugin).getScanPlugin()).setReportingEnabled(json.optBoolean("reportingEnabled", true));
|
|
454
|
-
|
|
455
|
-
}
|
|
456
419
|
// create the radio button for the UI
|
|
457
420
|
addSegmentRadioButtonUI(json);
|
|
458
421
|
|
|
@@ -487,7 +450,17 @@ public class Anyline4Activity extends AnylineBaseActivity {
|
|
|
487
450
|
getString(getResources().getIdentifier("error_invalid_json_data", "string", getPackageName()))
|
|
488
451
|
+ "\n" + e.getLocalizedMessage());
|
|
489
452
|
}
|
|
453
|
+
}
|
|
490
454
|
|
|
455
|
+
private void setDefaultOrientation(JSONObject jsonObject) {
|
|
456
|
+
if (defaultOrientationApplied) return;
|
|
457
|
+
|
|
458
|
+
if (jsonObject.has("defaultOrientation")
|
|
459
|
+
&& jsonObject.optString("defaultOrientation").equals("landscape")
|
|
460
|
+
&& getRequestedOrientation() != ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE) {
|
|
461
|
+
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
|
|
462
|
+
}
|
|
463
|
+
defaultOrientationApplied = true;
|
|
491
464
|
}
|
|
492
465
|
|
|
493
466
|
private boolean shouldEnablePDF417(JSONObject jsonObject) {
|
package/ios/ALPluginHelper.h
CHANGED
|
@@ -85,6 +85,9 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
85
85
|
detectedBarcodes:(NSMutableArray<NSDictionary *> *)detectedBarcodes
|
|
86
86
|
quality:(NSInteger)quality;
|
|
87
87
|
|
|
88
|
+
+ (NSDictionary *)dictionaryForTireResult:(ALTireResult *)scanResult
|
|
89
|
+
quality:(NSInteger)quality;
|
|
90
|
+
|
|
88
91
|
@end
|
|
89
92
|
|
|
90
93
|
NS_ASSUME_NONNULL_END
|
package/ios/ALPluginHelper.m
CHANGED
|
@@ -423,46 +423,6 @@
|
|
|
423
423
|
[dictResult setValue:[ALPluginHelper stringForDate:[scanResult.result dayOfBirthDateObject]] forKey:@"dateOfBirthObject"];
|
|
424
424
|
[dictResult setValue:[ALPluginHelper stringForDate:[scanResult.result dateOfExpiryObject]] forKey:@"dateOfExpiryObject"];
|
|
425
425
|
[dictResult setValue:confidences forKey:@"fieldConfidences"];
|
|
426
|
-
} else if ([scanResult.result isKindOfClass:[ALDrivingLicenseIdentification class]]) {
|
|
427
|
-
NSMutableArray<NSString *> *keys=[@[
|
|
428
|
-
@"surname",
|
|
429
|
-
@"givenNames",
|
|
430
|
-
@"dateOfBirth",
|
|
431
|
-
@"placeOfBirth",
|
|
432
|
-
@"dateOfIssue",
|
|
433
|
-
@"dateOfExpiry",
|
|
434
|
-
@"authority",
|
|
435
|
-
@"documentNumber",
|
|
436
|
-
@"categories",
|
|
437
|
-
@"drivingLicenseString"
|
|
438
|
-
] mutableCopy];
|
|
439
|
-
dictResult = [[scanResult.result dictionaryWithValuesForKeys:keys] mutableCopy];
|
|
440
|
-
//we have field confidences for everything but drivingLicenseString
|
|
441
|
-
[keys removeObject:@"drivingLicenseString"];
|
|
442
|
-
[dictResult setValue:[[scanResult.result fieldConfidences] dictionaryWithValuesForKeys:keys] forKey:@"fieldConfidences"];
|
|
443
|
-
[dictResult setValue:[ALPluginHelper stringForDate:[scanResult.result dateOfBirthObject]] forKey:@"dateOfBirthObject"];
|
|
444
|
-
[dictResult setValue:[ALPluginHelper stringForDate:[scanResult.result dateOfIssueObject]] forKey:@"dateOfIssueObject"];
|
|
445
|
-
[dictResult setValue:[ALPluginHelper stringForDate:[scanResult.result dateOfExpiryObject]] forKey:@"dateOfExpiryObject"];
|
|
446
|
-
|
|
447
|
-
} else if ([scanResult.result isKindOfClass:[ALGermanIDFrontIdentification class]]) {
|
|
448
|
-
ALGermanIDFrontIdentification *germanIDFrontIdentification = (ALGermanIDFrontIdentification *)scanResult.result;
|
|
449
|
-
NSMutableArray<NSString *> *keys=[@[
|
|
450
|
-
@"surname",
|
|
451
|
-
@"givenNames",
|
|
452
|
-
@"dateOfBirth",
|
|
453
|
-
@"nationality",
|
|
454
|
-
@"placeOfBirth",
|
|
455
|
-
@"dateOfExpiry",
|
|
456
|
-
@"documentNumber",
|
|
457
|
-
@"cardAccessNumber",
|
|
458
|
-
@"germanIdFrontString"
|
|
459
|
-
] mutableCopy];
|
|
460
|
-
dictResult = [[germanIDFrontIdentification dictionaryWithValuesForKeys:keys] mutableCopy];
|
|
461
|
-
//we have field confidences for everything but germanIdFrontString
|
|
462
|
-
[keys removeObject:@"germanIdFrontString"];
|
|
463
|
-
[dictResult setValue:[[scanResult.result fieldConfidences] dictionaryWithValuesForKeys:keys] forKey:@"fieldConfidences"];
|
|
464
|
-
[dictResult setValue:[ALPluginHelper stringForDate:[scanResult.result dateOfBirthObject]] forKey:@"dateOfBirthObject"];
|
|
465
|
-
[dictResult setValue:[ALPluginHelper stringForDate:[scanResult.result dateOfExpiryObject]] forKey:@"dateOfExpiryObject"];
|
|
466
426
|
}
|
|
467
427
|
|
|
468
428
|
[dictResult setValue:imagePath forKey:@"imagePath"];
|
|
@@ -597,6 +557,7 @@
|
|
|
597
557
|
//Create the result Object
|
|
598
558
|
NSMutableDictionary *dictResult = [NSMutableDictionary dictionaryWithCapacity:5];
|
|
599
559
|
[dictResult setValue:scanResult.country forKey:@"country"];
|
|
560
|
+
[dictResult setValue:scanResult.area forKey:@"area"];
|
|
600
561
|
[dictResult setValue:scanResult.result forKey:@"licensePlate"];
|
|
601
562
|
[dictResult setValue:[ALPluginHelper stringForOutline:outline] forKey:@"outline"];
|
|
602
563
|
[dictResult setValue:@(scanResult.confidence) forKey:@"confidence"];
|
|
@@ -655,6 +616,24 @@
|
|
|
655
616
|
return dictResult;
|
|
656
617
|
}
|
|
657
618
|
|
|
619
|
+
+ (NSDictionary *)dictionaryForTireResult:(ALTireResult *)scanResult
|
|
620
|
+
quality:(NSInteger)quality {
|
|
621
|
+
CGFloat dividedCompRate = (CGFloat)quality/100;
|
|
622
|
+
|
|
623
|
+
NSMutableDictionary *dictResult = [NSMutableDictionary dictionaryWithCapacity:4];
|
|
624
|
+
|
|
625
|
+
[dictResult setObject:scanResult.result forKey:@"text"];
|
|
626
|
+
|
|
627
|
+
NSString *imagePath = [ALPluginHelper saveImageToFileSystem:scanResult.image compressionQuality:dividedCompRate];
|
|
628
|
+
|
|
629
|
+
[dictResult setValue:imagePath forKey:@"imagePath"];
|
|
630
|
+
|
|
631
|
+
NSString *fullImagePath = [ALPluginHelper saveImageToFileSystem:scanResult.fullImage compressionQuality:dividedCompRate];
|
|
632
|
+
[dictResult setValue:fullImagePath forKey:@"fullImagePath"];
|
|
633
|
+
[dictResult setValue:@(scanResult.confidence) forKey:@"confidence"];
|
|
634
|
+
[dictResult setValue:scanResult.pluginID forKey:@"pluginID"];
|
|
635
|
+
return dictResult;
|
|
636
|
+
}
|
|
658
637
|
|
|
659
638
|
+ (NSDictionary *)dictForResult:(ALScanResult *)result
|
|
660
639
|
detectedBarcodes:(NSMutableArray<NSDictionary *> *)detectedBarcodes
|
|
@@ -261,6 +261,14 @@
|
|
|
261
261
|
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
+
- (void)anylineTireScanPlugin:(ALTireScanPlugin * _Nonnull)anylineTireScanPlugin
|
|
265
|
+
didFindResult:(ALTireResult * _Nonnull)scanResult {
|
|
266
|
+
NSDictionary *dictResult = [ALPluginHelper dictionaryForTireResult:scanResult
|
|
267
|
+
quality:self.quality];
|
|
268
|
+
|
|
269
|
+
[self handleResult:dictResult result:scanResult];
|
|
270
|
+
}
|
|
271
|
+
|
|
264
272
|
- (void)anylineCaptureDeviceManager:(ALCaptureDeviceManager * _Nonnull)captureDeviceManager
|
|
265
273
|
didFindBarcodeResult:(NSString * _Nonnull)scanResult
|
|
266
274
|
type:(NSString * _Nonnull)barcodeType {
|
package/ios/AnylineReact.podspec
CHANGED
|
@@ -19,6 +19,6 @@ Pod::Spec.new do |s|
|
|
|
19
19
|
s.source = { :git => "https://github.com/Anyline/anyline-ocr-react-native-module.git", :tag => "#{s.version}" }
|
|
20
20
|
|
|
21
21
|
s.source_files = "*.{h,m}"
|
|
22
|
-
s.dependency "Anyline", "~>
|
|
22
|
+
s.dependency "Anyline", "~> 38"
|
|
23
23
|
s.dependency "React"
|
|
24
24
|
end
|
package/ios/AnylineSDKPlugin.m
CHANGED
|
@@ -235,7 +235,7 @@ RCT_EXPORT_METHOD(getSDKVersion:(RCTPromiseResolveBlock)resolve rejecter:(RCTPro
|
|
|
235
235
|
|
|
236
236
|
- (BOOL)scanModeIndex:(NSString *)scanMode{
|
|
237
237
|
|
|
238
|
-
NSArray *possibleScanModes = @[@"DOCUMENT", @"MRZ", @"BARCODE", @"LICENSE_PLATE", @"ANYLINE_OCR", @"ANALOG_METER", @"DIGITAL_METER", @"AUTO_ANALOG_DIGITAL_METER",
|
|
238
|
+
NSArray *possibleScanModes = @[@"DOCUMENT", @"MRZ", @"BARCODE", @"LICENSE_PLATE", @"LICENSE_PLATE_US", @"ANYLINE_OCR", @"TIRE", @"ANALOG_METER", @"DIGITAL_METER", @"AUTO_ANALOG_DIGITAL_METER",
|
|
239
239
|
@"DIAL_METER", @"SERIAL_NUMBER", @"HEAT_METER_4", @"HEAT_METER_5", @"HEAT_METER_6", @"DOT_MATRIX_METER"];
|
|
240
240
|
|
|
241
241
|
return [possibleScanModes containsObject: [scanMode uppercaseString]];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"_from": "anyline-ocr-react-native-module@^
|
|
3
|
-
"_id": "anyline-ocr-react-native-module@
|
|
2
|
+
"_from": "anyline-ocr-react-native-module@^38.0.0",
|
|
3
|
+
"_id": "anyline-ocr-react-native-module@38.0.0",
|
|
4
4
|
"_inBundle": false,
|
|
5
5
|
"_integrity": "sha512-BGi9zNkSsoxXywDBIqzgBRvKUBniQOJHDKBrozZubKthZNRBAj8Ry5tW0Me0yLXt/fauME//hbC0wsenfPJZqw==",
|
|
6
6
|
"_location": "/anyline-ocr-react-native-module",
|
|
@@ -8,19 +8,19 @@
|
|
|
8
8
|
"_requested": {
|
|
9
9
|
"type": "range",
|
|
10
10
|
"registry": true,
|
|
11
|
-
"raw": "anyline-ocr-react-native-module@^
|
|
11
|
+
"raw": "anyline-ocr-react-native-module@^38.0.0",
|
|
12
12
|
"name": "anyline-ocr-react-native-module",
|
|
13
13
|
"escapedName": "anyline-ocr-react-native-module",
|
|
14
|
-
"rawSpec": "^
|
|
14
|
+
"rawSpec": "^38.0.0",
|
|
15
15
|
"saveSpec": null,
|
|
16
|
-
"fetchSpec": "^
|
|
16
|
+
"fetchSpec": "^38.0.0"
|
|
17
17
|
},
|
|
18
18
|
"_requiredBy": [
|
|
19
19
|
"/"
|
|
20
20
|
],
|
|
21
|
-
"_resolved": "https://registry.npmjs.org/anyline-ocr-react-native-module/-/anyline-ocr-react-native-module-
|
|
21
|
+
"_resolved": "https://registry.npmjs.org/anyline-ocr-react-native-module/-/anyline-ocr-react-native-module-38.0.0.tgz",
|
|
22
22
|
"_shasum": "bacbcd260cc662244f59393ed81a6edba009b52c",
|
|
23
|
-
"_spec": "anyline-ocr-react-native-module@^
|
|
23
|
+
"_spec": "anyline-ocr-react-native-module@^38.0.0",
|
|
24
24
|
"_where": "/Users/amiransari/Projects/anyline-ocr-react-native-module1/example/RNExampleApp",
|
|
25
25
|
"bugs": {
|
|
26
26
|
"url": "https://github.com/Anyline/anyline-ocr-react-native-module/issues"
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"type": "git",
|
|
48
48
|
"url": "git+https://github.com/Anyline/anyline-ocr-react-native-module.git"
|
|
49
49
|
},
|
|
50
|
-
"version": "
|
|
50
|
+
"version": "38.0.0"
|
|
51
51
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/.idea/gradle.xml
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="GradleSettings">
|
|
4
|
-
<option name="linkedExternalProjectsSettings">
|
|
5
|
-
<GradleProjectSettings>
|
|
6
|
-
<option name="testRunner" value="PLATFORM" />
|
|
7
|
-
<option name="distributionType" value="DEFAULT_WRAPPED" />
|
|
8
|
-
<option name="externalProjectPath" value="$PROJECT_DIR$" />
|
|
9
|
-
<option name="gradleHome" value="/usr/local/Cellar/gradle/7.2/libexec" />
|
|
10
|
-
<option name="gradleJvm" value="1.8" />
|
|
11
|
-
<option name="modules">
|
|
12
|
-
<set>
|
|
13
|
-
<option value="$PROJECT_DIR$" />
|
|
14
|
-
</set>
|
|
15
|
-
</option>
|
|
16
|
-
<option name="resolveModulePerSourceSet" value="false" />
|
|
17
|
-
<option name="useQualifiedModuleNames" value="true" />
|
|
18
|
-
</GradleProjectSettings>
|
|
19
|
-
</option>
|
|
20
|
-
</component>
|
|
21
|
-
</project>
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="RemoteRepositoriesConfiguration">
|
|
4
|
-
<remote-repository>
|
|
5
|
-
<option name="id" value="central" />
|
|
6
|
-
<option name="name" value="Maven Central repository" />
|
|
7
|
-
<option name="url" value="https://repo1.maven.org/maven2" />
|
|
8
|
-
</remote-repository>
|
|
9
|
-
<remote-repository>
|
|
10
|
-
<option name="id" value="jboss.community" />
|
|
11
|
-
<option name="name" value="JBoss Community repository" />
|
|
12
|
-
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
|
|
13
|
-
</remote-repository>
|
|
14
|
-
<remote-repository>
|
|
15
|
-
<option name="id" value="maven" />
|
|
16
|
-
<option name="name" value="maven" />
|
|
17
|
-
<option name="url" value="https://anylinesdk.blob.core.windows.net/maven/" />
|
|
18
|
-
</remote-repository>
|
|
19
|
-
<remote-repository>
|
|
20
|
-
<option name="id" value="BintrayJCenter" />
|
|
21
|
-
<option name="name" value="BintrayJCenter" />
|
|
22
|
-
<option name="url" value="https://jcenter.bintray.com/" />
|
|
23
|
-
</remote-repository>
|
|
24
|
-
<remote-repository>
|
|
25
|
-
<option name="id" value="Google" />
|
|
26
|
-
<option name="name" value="Google" />
|
|
27
|
-
<option name="url" value="https://dl.google.com/dl/android/maven2/" />
|
|
28
|
-
</remote-repository>
|
|
29
|
-
</component>
|
|
30
|
-
</project>
|