RevenueCat / firestore-revenuecat-purchases

Apache License 2.0
25 stars 6 forks source link

RevenueCat events not writing to Firestore #77

Open samumzizi opened 6 months ago

samumzizi commented 6 months ago

RevenueCat firebase extension is set up correctly, on RevenueCat it shows that events are being sent to firebase, however they are not being written on Firestore.

vicfergar commented 5 months ago

Hi @samumzizi,

Thank you for reaching out. Just to clarify, are you referring to events not being written to the Firestore collection?

If so, please ensure that the necessary parameters are correctly set in the extension configuration. Specifically, the FIRESTORE_COLLECTION_NAME parameters should be properly defined. You can find more details on setting up these parameters in the RevenueCat Firebase Extension documentation.

Additionally, please verify that:

1.  The Firestore database rules allow read and write access for the relevant paths.
2.  The Firebase extension has the necessary permissions to write to Firestore.
3.  There are no errors in the Firebase console logs that might indicate issues with the setup.

If you’ve checked these and the issue persists, please provide more details about your configuration so we can assist further.