【发布时间】:2020-05-30 19:25:07
【问题描述】:
This is the cloud function that triggers when data is changed,created or deleted. 在这个函数中,我已经标记了代码,我想在其中检索存储在具有相同 ID 的实时数据库的另一个节点中的用户令牌。正如您在实时数据库中看到的那样。但我无法从数据库中获取令牌。请帮我解决这个问题。
This is Structure of my realtime database. 我想从这个云函数中的数据库中获取令牌
【问题讨论】:
-
请编辑问题以显示所有相关代码在问题本身中。代码链接可能会随着时间的推移而失效,这将使这个问题在未来对其他人毫无用处。
标签: javascript firebase-realtime-database google-cloud-functions firebase-cloud-messaging android-push-notification