Question

Android configuration with multiple buildTypes & productFlavors

  • 1 December 2023
  • 0 replies
  • 36 views

Badge

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