-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Scan failed due to an error" error on iOS and Android #92
Comments
@itsallrelative have you tried the latest code in this repository? |
I have 1.3.1 installed, which is what pulled down from the repo about 30 minutes ago.
|
@itsallrelative this may be an issue external to this library. But, just to be sure, could you play with Line 81 in 31e2eda
What happens on your Android application? |
You might also want to try submitting this to the cordova team. |
Figured out how to resolve by following this issue: #87 Had to do:
|
Awesome, thanks @itsallrelative |
Getting a generic error when trying to scan on both my iOS and Android versions of my ionic app. The error just says:
Here is the code I have implemented:
`$scope.scanBarcode = function () {
try {
The only other information I get is a small stacktrace from xcode:
2016-11-09 19:39:57.167419 Ninja Scan[4791:1389736] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles 2016-11-09 19:39:57.174636 Ninja Scan[4791:1389736] [MC] Reading from public effective user settings. 2016-11-09 19:39:57.242854 Ninja Scan[4791:1389736] *** WebKit discarded an uncaught exception in the webView:decidePolicyForNavigationAction:request:frame:decisionListener: delegate: <NSRangeException> *** -[__NSArrayM objectAtIndex:]: index 3 beyond bounds [0 .. 1]
The text was updated successfully, but these errors were encountered: