Page 1 of 1

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

Posted: Tue Oct 08, 2013 12:22 pm
by Bhoomika Brahmbhatt

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.


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

Posted: Tue Oct 08, 2013 1:10 pm
by Maryna Brodina

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.


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

Posted: Tue Oct 08, 2013 1:38 pm
by Bhoomika Brahmbhatt

Thanks Marina.


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

Posted: Mon Jul 07, 2014 10:10 am
by Sam6522984

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


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

Posted: Mon Jul 07, 2014 11:23 am
by Maryna Brodina

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/...


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

Posted: Mon Jul 07, 2014 12:08 pm
by Sam6522984

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.


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

Posted: Mon Jul 07, 2014 12:38 pm
by Kateryna Grynko

Hi Sam,

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


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

Posted: Mon Jul 07, 2014 12:59 pm
by Sam6522984

Hi Katya

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


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

Posted: Mon Jul 07, 2014 3:29 pm
by Evgene Karachevtsev

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.


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

Posted: Tue Jul 08, 2014 7:19 am
by Sam6522984

Hi Evgene

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