Google cloud firestore Python函数触发器在IOS中不工作

Google cloud firestore Python函数触发器在IOS中不工作,google-cloud-firestore,triggers,google-cloud-functions,firebase-cloud-messaging,Google Cloud Firestore,Triggers,Google Cloud Functions,Firebase Cloud Messaging,我正在使用firestore数据库 我正在使用python编写触发器,链接如下 我为推送通知创建了触发器 我创建了一个函数和触发器。它在安卓系统中工作,但在IOS系统中不工作 我的代码 newtoken=[usertoken] message = messaging.MulticastMessage( notification=messaging.Notification( title="

我正在使用firestore数据库

我正在使用python编写触发器,链接如下

我为推送通知创建了触发器

我创建了一个函数和触发器。它在安卓系统中工作,但在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密钥后,问题得到解决。我从下面的链接得到了解决方案


您是否收到错误?你查过日志了吗?如果是这样的话,你有什么问题吗?@SamuelRomero没有显示任何错误,但IOS没有显示通知