16
Views
6
Comments
[Camera Plugin] Camera plugin not working on iOS
camera-plugin
Mobile icon
Forge asset by OutSystems
Application Type
Mobile

Hi guys, I am doing feature for turning on camera on device (just trigger camera is okay), I have logic like this, with Android is okay, it can turn on the camera and request permission for opening, but with iOS device, it goes to "Camera is not available". Please help me.

2025-01-10 11-40-52
Pedro Gustavo Bilro

Hey there, can you provide more information on your setup, including:


- Camera Plugin version

- MABS version

- iOS version you are testing on

- Are you testing on simulator or physical device?

UserImage.jpg
Le Quang Trieu

Camera plugin: 7.7.2
MABS: 11.1
iOS: 16.7
I am testing on physical device. Here is information

UserImage.jpg
Le Quang Trieu

@Pedro Gustavo Bilro are you there ?

2025-01-10 11-40-52
Pedro Gustavo Bilro

I'm not able to reproduce this on my end, everything is working fine here.


Can you share a small sample OAP for me to try to reproduce the issue?


Also, what iOS model do you have?

UserImage.jpg
Le Quang Trieu

this is private so i can not share oap,but i just want to trigger and open the camera, when i touch "Test camera" button and it calls the logic like this. The android is okay but the iOS does not work. It goes to warning "Not working" like image below but not have any triggering camera.
I test on Test Flight, iPhone 8

2025-01-10 11-40-52
Pedro Gustavo Bilro

Understood, if you try with a development build, does it work?


What I'm also thinking here is if there are other plugins / components that are interfering with the Camera Plugin, for whatever reason. I recommend try creating a new app that only has logic for the camera plugin, or try the demo that can be downloaded from the plugin's Forge page, and see if it works there.

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