Question

Android: "There was a problem with the store." but configuration seems to be fine

  • 31 March 2023
  • 1 reply
  • 168 views

Badge +1

Hello there!

We’re prototyping an integration with RevenueCat but initial tests are failing on Android with the following error:

{
"nativeStackAndroid":[

],
"userInfo":{
"underlyingErrorMessage":"Error when fetching products. DebugMessage: An internal error occurred.. ErrorCode: SERVICE_UNAVAILABLE.",
"readableErrorCode":"StoreProblemError",
"readable_error_code":"StoreProblemError",
"message":"There was a problem with the store.",
"code":2
},
"message":"There was a problem with the store.",
"code":"2"
}

 

We’re using the latest version of `react-native-purchases`. The billing permission is also set in our AndroidManifest:

<uses-permission android:name="com.android.vending.BILLING"/>

 

Also, both the Android project and the products on RevenuCat don’t report any error/issue. The products (subscriptions) have been imported using the automatic import tool on RevenueCat.

 

Thank you in advance for your help.


1 reply

Userlevel 6
Badge +8

Hey @Flavio Lanternini Strippoli,

Cross-posting the answer from your internal support ticket here - it sounds like this was due to the Google Play Store not being configured correctly on your device. After a sign-in, things seemed to start working as expected. Feel free to follow up with any additional information that might help others who encounter the issue 😃

Reply