Ionic 2 PWA Push notification and camera


#1

Hi all!

Working on a Ionic PWA app.

I’m looking for the best solution using camera and push notifications (like OneSignal).
First of all, is it possible, looks like so. Searching for docs but need some help.

Best,


#2

a progressive web ab has only access to the browser apis.

So you are not able to use cordova plugins, if i understand the concept correctly:

    1. you are hosting your ionic web app on a webserver --> the user opens it with the mobile browser
    1. You have the ability to put something like a bookmark of the website (with app icon defined in the head tag of app) to you homescreen or app list.

thats it.

No native build or something.

You could check https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API/Taking_still_photos if it enough or working for you