2

I am Making React PWA (progressive web app) app but i have no idea push notification in iOS work properly or not please suggest me anyone make before PWA app. Its good idea or not.

user3305208
  • 29
  • 1
  • 6

1 Answers1

4

Based from this thread, only native apps on iOS can register for push notifications. Also from this link:

While iOS don't support Web Push notifications yet(as of Apr-2018), all you can do is have an event listener for data from server side(Firebase in your case) and receive that data to show it as an Notification/alert or how ever you want to present inside your application(not in iOS notification area).

Unfortunately, this is the best way you can handle notifications for iOS. I know, its not so great for developers :) Hope Apple speeds up on PWA. They are more than a year late to Service worker party itself. What to expect!

Community
  • 1
  • 1
abielita
  • 13,147
  • 2
  • 17
  • 59