APNs / Firebase:何时需要?

时间:2017-06-14 10:10:04

标签: ios firebase apple-push-notifications

我有一个与APN(Apple推送通知服务)和Firebase相关的简单问题。 我在网上看到的并没有给我一个明确而明确的答案。

我在iOS应用中使用Firebase。我什么时候需要设置APN? 确切地说,如果我只使用数据库,存储和可能的身份验证: 我需要设置APN吗?

我已经读过在使用Firebase云消息传递时我应该设置APN,但这不是很清楚。

任何准确的信息都将受到赞赏。

2 个答案:

答案 0 :(得分:1)

APNs as you write is Apple Push Notification service, so you need to set it when you want firebase to send you push notification. In your case you have no need to set it, because I think there is no need for you to get push notifications, for Firebase Cloud Messaging exactly you need to set APNs to get push notifications when you got message, etc.

答案 1 :(得分:1)

数据库,存储和身份验证不需要APNS。您正在阅读的内容是正确的当您使用云消息传递时需要APNS。因为没有云消息传递(推送通知)所以您不需要它。< / p>