[Barcode Plugin] Barcode error for iPad front camera - AVCaptureSessionPreset1920x1080
Question
barcode-plugin
Mobile icon
Forge component by Platform Maintenance
Application Type
Mobile

Hi guys! We are trying to use the barcode plugin in a app used in totems and it is necessary to access the front camera to read the barcode. We are using iPads (6th generation) to that and we are receiving the following error:

A fatal error has occurred. Please contact OutSystems support: *** -[AVCaptureSession addInput:] Can't add <AVCaptureDeviceInput: 0x282aa51e0 [Front Camera]> because the device does not support AVCaptureSessionPreset1920x1080 - Use -[AVCaptureDevice supportsAVCaptureSessionPreset:] 

Do you know how we can adjust that to make the barcode work using the Ipad front camera?

Thanks!

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