I have Apple/Google Notifications linked to RevCat. Every time a user’s subscription is renewed, paused, cancelled, etc, I would like to send/sync that info to the same userId in the RealTimeDatabase, eg. db schema
// anyone under the users ref isn't anonymous
users
-userID_123 // whenever this user’s subscription is renewed/cancelled I need this node to receive the update with the accompanying subscription data
I looked at Firebase Integration Docs and it only mentions Cloud FireStore. I went to the Firebase console > Extensions > RevenueCat and it only says that it supports FireStore. I don't use FireStore for my backend, I only use RTDB.
1- How can I sync these subscription updates to the RealTimeDatabase?
2- Do you have any links on how to do it with specific subscription data, for example, I only need the renewal and cancellation dates, I don't need all of the other info. I’ve googled around and can't find anything.