Skip to main content
Question

Firebase extension: issue with linking both a prod and dev environment?

  • November 9, 2024
  • 3 replies
  • 130 views

Forum|alt.badge.img+4

We use a Firebase extension to automatically add revenuecat events to a Firestore collection and it’s been working great for a long time already.

Now we’re adding a Firebase “dev” environment to run some tests, in the form of a second google cloud project that mirrors the production one.

Is there any potential issue or things to watch for, in linking the same revenuecat project to both the prod and dev Firebase environments?

This post has been closed for comments

3 replies

jeffrey_bunn
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 277 replies
  • November 13, 2024

Hi @louis-deveseleer-45db16! Do you have a second RevenueCat project for your dev environment? I’m wondering because the Firebase extension integration currently only allows one Webhook URL per project, so if you have the one project, we can’t currently split Sandbox vs Production events (like you can with the Webhooks integration).

If you can share more about your setup, I’d be happy to dig in further. Thanks!


Forum|alt.badge.img+4

Hi ​@jeffrey_bunn ! There is only one Revenuecat project, but two Firebase projects, each linked to the same Revenuecat project.


wes_clark
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 288 replies
  • November 21, 2024

In this case, we would recommend creating a second RevenueCat project for testing in this case in order to make sure that the sandbox data is sent to the correct Firebase project. I will raise this feedback to the Engineering team internally.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings