[英]How to send push notification from Firebase to web app on iOS device?
everyone, I would like to ask how to send push notification from Firebase Cloud Messaging (FCM) to web app on iOS device?大家好,请问如何将Firebase云消息(FCM)的推送通知发送到iOS设备上的web应用程序? I am having the problem on receiving the push notification from FCM when I turned on the web app on iOS device.
当我在 iOS 设备上打开 web 应用程序时,我在接收来自 FCM 的推送通知时遇到问题。 However, there is no issue to receive the push notification from FCM when the web app had been turned on on the android device.
但是,在 android 设备上打开 web 应用程序时,从 FCM 接收推送通知没有问题。
The following programming languages that I am using:我正在使用的以下编程语言:
Should I subscribe the membership for Apple developer in order to get the push notification from FCM on iOS device?我应该订阅 Apple 开发人员的会员资格,以便在 iOS 设备上从 FCM 获得推送通知吗?
Thanks everyone!感谢大家!
Push notifications don't work for IOS with web apps only native apps can do this.推送通知不适用于 IOS 和 web 应用程序,只有本机应用程序可以执行此操作。 You could use a firebase cloud function to message the user phone number though.
不过,您可以使用 firebase 云 function 向用户电话号码发送消息。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.