I'm working on a progressive web app (PWA) that is targeting Android users. Is it possible to schedule and send local push notifications without using a Cordova WebView and Plugin like this?
1 Answer
If I understand you well, yes! you can.
How? By using the native Push API with Notification API. Mozilla and Google have great documentation for them.
-
Thanks for your answer. How would you schedule them for offline use - is this possible at all?– TomAug 18, 2021 at 18:06
-
@Tom As far as I know, you need either: Process, aka. Service Worker to maintain it manually i.e implement your own scheduler, or a Browser API let you do that, see this also.– FaresAug 19, 2021 at 12:15