BarcodeScanner
BarcodeScanner copied to clipboard
Black bar on landscape mode for IOS 8+ version
Hello, after upgrading of IPad to IOS 8 we found that black bar appeared(see attach, right near Cancel button), also it intersects with bar scan zone. These is no such bug on IOS7 and Androids.
Current version of plugin: 2.0.0
I have the same problem.
The problem is that the orientation stuff isn't working on iOS 8 anymore. Clean solution would be to fix that orientation stuff. A quick and dirty solution would be to set the frame of previewLayer (in CDVBarcodeScanner.mm) manually, based on width/height of view bounds. This works for potrait only!
Like this: http://pastebin.com/5PV9Kju1
But keep in mind that this solution is just a workaround, no clean solution.
anything new on this one ? I still have the same problem with 2.2.0