Question

Android app with different package ids for development and production not able to fetch products

  • 23 December 2022
  • 3 replies
  • 213 views

Badge +1

Hello everyone,

It’s a bit unclear if it’s possible to have a single Android app with 2 package ids (development and production), with 2 configured apps in the RevenueCat backoffice, and a single app in Google Play Console.

We are getting an error every time we try to get the products with our .dev suffixed app

"There's a problem with your configuration. None of the products registered in the RevenueCat dashboard could be fetched from the Play Store."

Is the only way around this to create a new app in Google Play Console with this .dev bundle?

It baffles us, because this works perfectly well with Google Billing Client, without the need of any additional app on the Google Play Console.

Thank you for your help!


3 replies

Userlevel 5
Badge +9

Hello,

"There's a problem with your configuration. None of the products registered in the RevenueCat dashboard could be fetched from the Play Store."

 

This error is caused by the communication between your device and Google Play. Essentially the device fetched the product identifiers from RevenueCat and tried getting the SkuDetails for them from Google, but they didn’t match.

Does the app without .dev (the production app) work with RevenueCat?

You can make multiple apps in the same RevenueCat project, each with a different package name. Then add a product for each app you add.

Badge +1

Hello,

 

Yes, the app works perfectly without the .dev, communication is not the issue here.

Do we really need to create a new app with the .dev package Id in the Play Store Console?

Hello,

"There's a problem with your configuration. None of the products registered in the RevenueCat dashboard could be fetched from the Play Store."

 

This error is caused by the communication between your device and Google Play. Essentially the device fetched the product identifiers from RevenueCat and tried getting the SkuDetails for them from Google, but they didn’t match.

Does the app without .dev (the production app) work with RevenueCat?

You can make multiple apps in the same RevenueCat project, each with a different package name. Then add a product for each app you add.

 

Userlevel 3
Badge +6

Hi,

I know it’s an old thread, but you did not get an answer here

> Do we really need to create a new app with the .dev package Id in the Play Store Console?

Yes, you need to create a different app in google play console. When calling play store from the SDK, billing client uses the applicationId. On the backend we do the same. So if they are different, it won’t fetch any product on the SDK side and we’ll have issues on the backend side.

Having different packages for Dev and Prod means having two completely separate apps

Reply