I having a case where I need to receive notification whenever Realtime Database Firebase have new data. When investigate, I found out there are 2 way to do this in client side (mobile app using React Native):
Can someone please tell me what is the difference between 2 way and pros and cons of each way?. The document is not helpful for me about this.
Note:
Paraphrasing Frank Van Puffelen 's comment as an answer:
Firestore and Realtime databases are two completely separate databases. Though firestore and Realtime database both are part of Firebase. If you want to trigger a cloud function from Real Time database, please follow this documentation . If you want to trigger cloud function from Firestore, pleasecheck this documentation.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.