Scanning in landscape orientation on an iOS device (iPhone or iPad) ends on a blank screen.
The cordova webview should be restored. This works perfectly on an Android device (tablet or phone).
The screen is blank. Rotating the device to portait restores the webview.
Open the barcode scanner while in landscape orientation. Scan a barcode or cancel the scanning. The screen is blank.
iOS 9.x
iOS 10.x
cordova --version : 6.3.1
cordova platforms : ios 4.3.1, android 5.2.2
phonegap-plugin-barcodescanner 6.0.5 "BarcodeScanner"
Same here, help wanted!
same here on ios!
i have tried an alternative plugin (https://github.com/Scandit/barcodescanner-sdk-cordova) but the same problem occurred
cordova 6.4.0
cordova-ios 4.3.1
The problem is cordova-plugin-statusbar, it's fixed in master branch, remove the plugin and install from github
cordova plugin add https://github.com/apache/cordova-plugin-statusbar
Wow, thx @jcesarmobile !
You've saved the day, @jcesarmobile
@jcesarmobile, thanks a lot. What is please the commit that fixes it on the _statusbar_ repo? Was it please already included in some version of _cordova-plugin-statusbar_? Depending on the master doesn't sound great. I would rather fix it to some version or at least commit (for the time being).
There are a few commit's to fully fix the problem.
All Cordova core plugins are in release vote status right now, so they will be released soon if there are no problems spotted during the vote, maybe today or tomorrow.
Stay tuned to the blog https://cordova.apache.org/blog/ or twitter https://twitter.com/apachecordova
2.2.2 version of statusbar plugin has been released
This thread has been automatically locked.
Most helpful comment
The problem is cordova-plugin-statusbar, it's fixed in master branch, remove the plugin and install from github
cordova plugin add https://github.com/apache/cordova-plugin-statusbar