Skip to main content
Question

Android configuration with multiple buildTypes & productFlavors


Forum|alt.badge.img+1

Hi,

I’ve followed the tutorial to properly setup RevenueCat on Android via Google Play but I can’t figure out how to make it work when there are multiple packageNames from the mix of buildTypes & variants.

 

For instance, I have two buildTypes (debug & release) and two productFlavors (default & staging). Which means I have the 4 followings configurations:

  • com.mycompany.myapp
  • com.mycompany.myapp.debug
  • com.mycompany.myapp.staging
  • com.mycompany.myapp.staging.debug

I understand I have to create 4 different Android apps in RevenueCat to match these 4 package names.

But does that mean I also have to create 4 different apps in Google Play, even if only the first one (com.mycompany.myapp) is meant to be published? That seems to be 

Is there a way to tell RevenueCat to map the correct subscriptions in the Google Play console with only one app?

0 replies

Be the first to reply!

Reply


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