Bhoomika Brahmbhatt
Posts: 0
Joined: Thu Sep 19, 2013 5:32 am

BarcodeScanner Plugin from Appery.io is not working in Portrait Mode

Hi,
I am using default Plugin of Barcode scanner which is provided by Appery.io. Its in Landscape Mode. To change its Orientation I have changed Camera Orientation in CameraManager class. It does not give any error & My view is now in Portrait mode. But the Problem is its not scanning any Barcode in Portrait Mode. Can any one know that why this Barcode scanner is not working in Portrait Mode. Any help would be appreciated!!

Thanks.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

BarcodeScanner Plugin from Appery.io is not working in Portrait Mode

Hello! There is no way to do that with used in Appery.io BarcodeScanner Plugin. You would need to search for another one online and add it to the project.

Sam6522984
Posts: 0
Joined: Thu Dec 26, 2013 2:35 pm

BarcodeScanner Plugin from Appery.io is not working in Portrait Mode

Hi there

I would like to change the code in the source, to support portrait mode in the scanner-plugin. If I do so, will this influence the app builder? In other words, will this break the Appery-plattform, like this would happen with the GUI-Builder tool, when I change the HTML/JS files? Or would everything still work as expected?

If I manage to change the orientation mode, I will post the code here.

Regards
Sam

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

BarcodeScanner Plugin from Appery.io is not working in Portrait Mode

Hello!

It’s important to remember that if you try to make any changes in the visual builder after you have edited the source, the changes won’t be seen.
This doc gives more information http://devcenter.appery.io/tutorials/...

Sam6522984
Posts: 0
Joined: Thu Dec 26, 2013 2:35 pm

BarcodeScanner Plugin from Appery.io is not working in Portrait Mode

Hi Maryna

So if I change the code of the PhoneGap plugin, the visual builder won't work anymore? I thought that would only happen, when I change the HTML/JS/CSS files in the web ressource folder and not the iOS/Android code itself.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

BarcodeScanner Plugin from Appery.io is not working in Portrait Mode

Hi Sam,

Yes, iOS/Android also.. That is why we recommend to make changes right before exporting your app.

Sam6522984
Posts: 0
Joined: Thu Dec 26, 2013 2:35 pm

BarcodeScanner Plugin from Appery.io is not working in Portrait Mode

Hi Katya

Thank you for the clarification. Does this affect only the GUI-builder or every visual editor (i.e. the services)?

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

BarcodeScanner Plugin from Appery.io is not working in Portrait Mode

Hello Sam,

I would like to clarify some details.
Visual Builder generates files (css/js/html)in folder WEB_RESOURCES and css/js files in WEB_RESOURCES-files-views-assets.
Changes in these files on the source tab makes them not editable via the Builder.
All other files, including plugins, do not depend by the Visual Builder, so you can add/modify the plugins as you like.
Please note that if you change the api of plug-ins (call format, settings, call methods, and the like), you have to call the plugins via js, and not to use the visual Builder.

Sam6522984
Posts: 0
Joined: Thu Dec 26, 2013 2:35 pm

BarcodeScanner Plugin from Appery.io is not working in Portrait Mode

Hi Evgene

Thank you for the clarification, so I can change the orientation of the barcode scanner.

Return to “Issues”