14
Views
2
Comments
[Camera Plugin] CameraPlugin in PWA
Forge component by OutSystems R&D
42
Published on 16 Apr 2020
Good afternoon guys, 

I'm starting on outsystems and I have a question. 

Can I use the Camera Plugin with PWA with request for access to the camera to take a photo, either on the PC browser and on the mobile device?
Rank: #170

Hi Rodrigo,

I don't think you can access the camera  using a cordova plugin in PWA.
However there is other ways of doing it, for example, using pure html you may be able to open your device camera in both PC or Cellphone.


Take a look at this for example.


Try to inject this html in your screen:

<input type="file" accept="image/*" capture="camera" />
Rank: #170

Take a look at this other forge component.
With it you will be able to do it.