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
Just to share a trick/fix I've found to prevent an annoying issue.
When using this plugin on an Android Tablet (Sony Xperia Z4, Nexus 9) in landscape mode, launching zBar would make it look "shrinked" (wrong ratio) in the middle of the screen. It still works but it is not nice looking and users prefer then to switch to portrait mode.
I am not a java dev but I understood that the problem was coming from the matchSurfaceToPreviewRatio() function inside ZBarScannerActivity.java
Therefore I've just commented the 2 occurrences where the app is calling this function and it works much better.
Hope it helps.
The text was updated successfully, but these errors were encountered:
Dear All,
Just to share a trick/fix I've found to prevent an annoying issue.
When using this plugin on an Android Tablet (Sony Xperia Z4, Nexus 9) in landscape mode, launching zBar would make it look "shrinked" (wrong ratio) in the middle of the screen. It still works but it is not nice looking and users prefer then to switch to portrait mode.
I am not a java dev but I understood that the problem was coming from the matchSurfaceToPreviewRatio() function inside ZBarScannerActivity.java
Therefore I've just commented the 2 occurrences where the app is calling this function and it works much better.
Hope it helps.
The text was updated successfully, but these errors were encountered: