Push Notifications in iOS for Progressive Web Apps

倖福魔咒の 提交于 2020-05-15 04:56:08

问题


I have developed a Progressive Web App by using Javascript. I am unable to receive Push Notifications in iOS platform for my app, but at the same time i am receiving Notifications for Android and Web apps browsers. I read somewhere still no support for iOS notifications. Please help me if you guys have any info to achieve this.


回答1:


All the leading browsers with the exception of Safari on iOS web push API. While Safari does support push notifications on Mac OS, there is no green signal for push notification iOS.Read full article here.

Push notification support for iOS Safari not added by Apple yet. So you need wait until support gets added. or you can think about alternatives like showing the notifications as alters/pop ups/notification center in iOS PWA.



来源:https://stackoverflow.com/questions/59469783/push-notifications-in-ios-for-progressive-web-apps

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!