You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When loading the document scanner on Android with source type set to 1, the camera loads without support for detecting document edges and after taking a picture the document scanner closes with the following error Incorrect result or user canceled the action
With source type set to 1, so that the image is being loaded from the file system, the document scanner works as expected.
To Reproduce
Steps to reproduce the behavior:
Create a new ionic/vue starter project
Follow the installation & usage instructions for cordova-plugin-document-scanner
Sync and run for android
Build from Android Studio
Activate Document Scanner
Take Picture
Select Picture
Error appears in console
Expected behavior
The document scanner to load the camera with edge detection and return either the url or base64 image
Smartphone:
Emulated
Device: Pixel 3a
OS: Android 11
Browser: Brave
Version: 1.20.103
Ionic native/core Version: 5.31.1
Ionic-vue Version: 5.4.0
Cordova Plugin Document Scanner: 4.2.6
Capacitor Core & Android Version: 2.4.7
Physical
Device: Samsung Galaxy S9
OS: Android 10
Browser: Brave
Version: 1.20.103
Ionic native/core Version: 5.31.1
Ionic-vue Version: 5.4.0
Cordova Plugin Document Scanner: 4.2.6
Capacitor Core & Android Version: 2.4.7
Additional context
The issue can't be reproduced on iOS
The text was updated successfully, but these errors were encountered:
Describe the bug
When loading the document scanner on Android with source type set to 1, the camera loads without support for detecting document edges and after taking a picture the document scanner closes with the following error
Incorrect result or user canceled the action
With source type set to 1, so that the image is being loaded from the file system, the document scanner works as expected.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The document scanner to load the camera with edge detection and return either the url or base64 image
Smartphone:
Emulated
Physical
Additional context
The issue can't be reproduced on iOS
The text was updated successfully, but these errors were encountered: