[ZXing Barcode Scanner Plugin] Camera in Portrait Mode

Forge Component
(0)
Published on 2018-12-16 by Marcelo Buregio
0 votes
Published on 2018-12-16 by Marcelo Buregio

Hey Gurus

I am using this plugin and I would like to have a Portrait Camera instead of LandScape. Is there any parameter?

Best Regards


I am playing with parameters like "OrientationLocked" but we can not see any effect...

Please, advise.

Best Regards


Edgardo Gallardo wrote:

Hey Gurus

I am using this plugin and I would like to have a Portrait Camera instead of LandScape. Is there any parameter?

Best Regards



Please add this in your Extensibility Configurations


{
    "preferences" :{
        "global":[{
            "name":"orientation",
            "value":"portrait"
        }],
        "android":[{
            "name":"loglevel",
            "value": "verbose"
        }],
        "ios":[{
            "name":"target-device",
            "value":"universal"
        }]
    }
}

Hello People.


I'll check my code tomorrow and after that answer you guys about the orientation.

I remember now that I made some changes on it but didn't upload these changes yet.


Regards,

Marcelo Buregio

Marcelo

Great!!! I just wait for your call...

Marcelo, any update?

Marcelo, Sorry for bother you but I would like to know if you have any new.

Best Regards