Is it possible to use the RevenueCat SDK with different flavors of the same app?
Hi
Can you explain what you mean by flavors? Are you referring to Flutter flavors? We’ve seen this in the past, such as a production and a development flavor, and usually these are set up as two different RevenueCat apps in the same account (each flavor would use its own API key).
Exactly, I was referring to what you are saying. I understand then that it would also have to have an app in the stores (Google Play and App Store) for each of the flavors, right?
We have 2 flavors for our Flutter app (20-60 purchases a day), and are using a Single RevenueCat app for managing this. It’s “ok” because you can still view Sandbox purchases for a test user.
However, we’re considering creating a separate RevenueCat “app” for our staging environment just to keep it clean. I’m still not sure if it’s worth the effort though yet.
We have a TestFlight for our staging app separate too our published Live app, which means you manage products on each. I think for our Android environment we just have one app but have a bunch of test products and live products.
Will be interesting to hear what you go with.
How do you use 2 flavors with the same app? In our case, each flavor has a different package id. DEV - es.codigobase.app.dev, STG - es.codigobase.app.stg, PRO - es.codigobase.app.
Very interested in this too. As Codigo Base was saying, our flavours have different package IDs so not sure how this works.
You’ll at least need a unique RevenueCat app for each bundle ID / package ID since those are treated as separate apps by Apple / Google as far as in-app purchases are concerned. Some developers choose to create multiple RevenueCat apps for different environments of the same bundle ID as well.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.