使用Firebase通知定位单个设备(swift)

时间:2018-01-21 13:05:54

标签: ios swift database push-notification firebase-cloud-messaging

有人可以告诉我一种方法来定位一台设备通过iOS上的Firebase发送推送通知吗?而且,是否可以使用用户的电话号码或用户名或其他信息(可能带有数据库)向单个设备发送推送通知?我到处搜索但无济于事。我非常感谢任何帮助:)

1 个答案:

答案 0 :(得分:1)

在firebase中

click Grow to expand it -> Notifications-> New message

enter image description here

选择单个设备,为该用户粘贴your FCM token并输入您想要的更多数据,然后点击发送消息