diff --git a/example/RNExampleApp/config/VerticalContainerConfig.js b/example/RNExampleApp/config/VerticalContainerConfig.js index 2958a663..a3ab8bac 100644 --- a/example/RNExampleApp/config/VerticalContainerConfig.js +++ b/example/RNExampleApp/config/VerticalContainerConfig.js @@ -33,7 +33,6 @@ export default { }, "cutoutConfig": { "style": "rect", - "maxWidthPercent": "10%", "alignment": "top_half", "ratioFromSize": { "width": 9, diff --git a/example/RNExampleApp/ios/RNExampleApp/Info.plist b/example/RNExampleApp/ios/RNExampleApp/Info.plist index c7c0c5df..3b96b413 100644 --- a/example/RNExampleApp/ios/RNExampleApp/Info.plist +++ b/example/RNExampleApp/ios/RNExampleApp/Info.plist @@ -17,7 +17,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 12.0.0 + 13.0.0 CFBundleSignature ???? CFBundleVersion diff --git a/example/RNExampleApp/package.json b/example/RNExampleApp/package.json index b430faa0..e8a0d0ef 100644 --- a/example/RNExampleApp/package.json +++ b/example/RNExampleApp/package.json @@ -1,6 +1,6 @@ { "name": "anyline-react-native-example-app", - "version": "12.1.0", + "version": "13.1.0", "private": true, "scripts": { "start": "node node_modules/react-native/local-cli/cli.js start", diff --git a/plugin/android/build.gradle b/plugin/android/build.gradle index 1226907d..390a3363 100755 --- a/plugin/android/build.gradle +++ b/plugin/android/build.gradle @@ -62,7 +62,7 @@ repositories { dependencies { implementation fileTree(dir: "libs", include: ["*.jar"]) implementation 'com.android.support:appcompat-v7:26.1.0' - implementation 'io.anyline:anylinesdk:12.1@aar' + implementation 'io.anyline:anylinesdk:13@aar' implementation 'com.google.firebase:firebase-ml-vision:19.0.2' implementation 'com.google.firebase:firebase-ml-vision-face-model:17.0.2' implementation 'com.android.support:design:26.1.0' diff --git a/plugin/android/src/main/java/com/anyline/reactnative/Anyline4Activity.java b/plugin/android/src/main/java/com/anyline/reactnative/Anyline4Activity.java index 6b237db3..1a21c2c3 100644 --- a/plugin/android/src/main/java/com/anyline/reactnative/Anyline4Activity.java +++ b/plugin/android/src/main/java/com/anyline/reactnative/Anyline4Activity.java @@ -10,7 +10,6 @@ import android.widget.RadioGroup; import android.widget.RelativeLayout; -import com.google.android.gms.vision.barcode.Barcode; import com.google.firebase.ml.vision.barcode.FirebaseVisionBarcode; import org.json.JSONArray; @@ -532,5 +531,3 @@ public void onCheckedChanged(RadioGroup group, int checkedId) { } } - - diff --git a/plugin/android/src/main/java/com/anyline/reactnative/Document4Activity.java b/plugin/android/src/main/java/com/anyline/reactnative/Document4Activity.java index 635f0255..e2882b90 100644 --- a/plugin/android/src/main/java/com/anyline/reactnative/Document4Activity.java +++ b/plugin/android/src/main/java/com/anyline/reactnative/Document4Activity.java @@ -262,7 +262,7 @@ public boolean onDocumentOutlineDetected(List rect, boolean documentShapeAndBrig // is called when the outline of the document is detected. return true if the outline is consumed by // the implementation here, false if the outline should be drawn by the DocumentScanView lastOutline = rect; // saving the outline for the animations - return true; + return false; } @Override diff --git a/plugin/ios/AnylineReact.podspec b/plugin/ios/AnylineReact.podspec index d2eab206..5355cd56 100644 --- a/plugin/ios/AnylineReact.podspec +++ b/plugin/ios/AnylineReact.podspec @@ -20,6 +20,6 @@ Pod::Spec.new do |s| s.source_files = "*.{h,m}" - s.dependency "Anyline", "~> 12.1" + s.dependency "Anyline", "~> 13" s.dependency "React" end diff --git a/plugin/package.json b/plugin/package.json index 8e1c31e7..66733b53 100644 --- a/plugin/package.json +++ b/plugin/package.json @@ -1,6 +1,6 @@ { "name": "anyline-ocr-react-native-module", - "version": "12.1.0", + "version": "13.1.0", "main": "index.js", "description": "A Plugin for connecting Anyline with React-Native", "license": "SEE LICENSE IN LICENSE",