P10 Mobile How to force upload only take picture from camera?

I don't want option from camera / gallery must force to use camera only. Is that possible?

Hi Eric,

Yes, you can use the camera plugin, you can find it here.

Let me know if it worked.


Oh yes I recognize this plugin and it works.... but somehow I was expecting default upload widget has a configuration, some kind of extended properties like web version has.


Hi Eric,

It is as you say. You can add an attribute to the upload widget that gets the job done.

In the attributes section, add the attribute "capture" with value "camera", like so:

This should get the job done.

Let me know if this solved your issue.

Best regards,

Ricardo Alves


Wow it works. I did not know that. Good trick. Thank you Ricardo.


 I would like to get assistance on how to upload a picture and a document.