Thank you very much.
We are developing applications for Android tablets using the Monaca/Cordova barcode plug-in.
The bar code reading screen is always horizontal, but is it possible to turn it vertically?
Since the input screen is supposed to be used vertically, I would like to read bar codes vertically if possible.
I would appreciate it if you could let me know if you know.
In December 2015, I asked the Monaca support representative at Asial about the same issue.
The answer was that it is not possible to do it vertically because it is forced horizontally.
As for whether we will deal with it in the future, it would be better not to expect too much.
When asked if there is any other way, if you create your own plug-in around cordova,
There's nothing Monaca can't do...w
If you can't persuade your client, I think it's a good idea to switch to a native speaker earlier than playing cordova.
Android "Settings" - > "Android Settings" at the bottom of the screen
iOS
Settings - > iOS Settings is located at the bottom of the screen.
Is this the plug-in you are using?
https://github.com/monaca-plugins/mobi.monaca.plugins.BarcodeScanner
Check plugin.xml to see
plugin>platform>config-file>activity tag
android:screenOrientation="landscape"
The value is set to .
This is
android:screenOrientation="portrait"
You may want to change to .
It seems that some repositories have been changed.
https://github.com/Dbuggerx/BarcodeScanner
(I'm sorry if it's a wrong answer…)
© 2024 OneMinuteCode. All rights reserved.