Python 函数触发器在 IOS 中不起作用
Python Function Trigger not working in IOS
我正在使用 firestore 数据库
我在 link Python- Trigger
之后使用 python 编写触发器
我为推送通知创建了触发器
我创建了一个函数和触发器。它在 android 中工作但在 IOS
中不工作
我的代码
newtoken=[usertoken]
message = messaging.MulticastMessage(
notification=messaging.Notification(
title="Push title",
body="Push body"),
tokens=newtoken,
)
respponse = messaging.send_multicast(message)
print(respponse)
未在 IOS
触发
问题已解决
不是代码级别
更新 APNs 密钥后问题解决了。我从下面得到了解决方案 link
apns
我正在使用 firestore 数据库
我在 link Python- Trigger
之后使用 python 编写触发器我为推送通知创建了触发器
我创建了一个函数和触发器。它在 android 中工作但在 IOS
中不工作我的代码
newtoken=[usertoken]
message = messaging.MulticastMessage(
notification=messaging.Notification(
title="Push title",
body="Push body"),
tokens=newtoken,
)
respponse = messaging.send_multicast(message)
print(respponse)
未在 IOS
触发问题已解决
不是代码级别
更新 APNs 密钥后问题解决了。我从下面得到了解决方案 link
apns