标签: firebase push-notification google-cloud-functions react-native-firebase react-native-fcm
我正在尝试实现推送通知,并为dev和prod部署了相同的云功能。对于开发人员,我每次都能收到通知:
但是对于prod,我得到一个错误,它将永远不会发送:
这是我的通知方法:
txtUnsorted.setText(txtUnsorted.getText() + String.valueOf(Numbers[x])+ "," );
不知道为什么由于两者都有相同的promise错误,为什么会在一个与另一个中触发?
答案 0 :(得分:1)
这似乎是已知问题,请检查以下问题:
Cloud Functions for Firebase - Billing account not configured
Cloud Functions for Firebase - Getting Network error even though I'm making outbound http request for firebase-admin functionality
希望这会有所帮助!