[Barcode Plugin] Error scanning barcode: wrong parameter camera direction
Forge component by OutSystems R&D
Application Type
Service Studio Version
11.11.10 (Build 46735)
Platform Version
11.12.1 (Build 30548)

Hello team,

The action ScanBarcode returns the following error when it is used on an iPhone:

Error scanning barcode. Error code: 3 and error message: Wrong parameter camera direction can only be backCamera or frontCamera. Defaults to backCamera.

Android does not show this error. This issue only happens with version 5.0.0 of the plugin so right now we have use version 4.2.1. We have tried to solve the issue by explicitly giving the parameter Entities.CameraDirection.BackCamera to the action but the issue remains. Could you help us with issue?

Kind regards,

Sofía J.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.