[Camera Plugin] camera plugin retries twice to take the picture
Question
camera-plugin
Mobile icon
Forge component by Platform Maintenance
Application Type
Mobile
Service Studio Version
11.14.14 (Build 59923)

pressing the app camera button opens the phone camera, taking the picture and accepting it takes me back to the camera to take another picture again. i have to take a picture twice in order to get it.

camera.jpg

Hi Nuno! I have an example in my personal environment that uses this camera plugin and I don't get this error (as pictured below). Have you tried on another device or tried to debug this action?



Well, I tried everything really and I always get the same problem, a have to take a picture twice in order to assign it to a binary variable. :( strange, I have the same issue in Browser mode and on android phone.

I'm getting a bit desperate, Debugging is complicated since you actually need to use the camera and chrome in debug mode doesn't do anything. i tried you a simple flow and configurations as in the picture same problem, different google phone some issue.

pic2.png

Would it be possible for you to share the OML? (i'm assuming you gonna say 'no', but just to confirm)

(and what about creating a new similar action to check if it would behave the same?)

Hello Nuno!


First off, thank you for your interest in our Camera Plugin.


If I may ask, are you running your app as a PWA (via browser on your phone), or did you build the app and are running it as a mobile app? Also, what version of the Camera Plugin are you using?


Best regards,

Alexandre Jacinto

Hello, i build the app and testing it in PWA mode and also in a android phone app not pwa 

Hello,

Well, problem solved, I was being an idiot :), I was using the camera default button and in the action, I was using again the component like flow I posted. Now works fine without any problems.

Thanks, everyone for the support.

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