I am using Unity 2021.3.27f1 and RevenueCat version 6.10.0.
My code works fine on iOS, but I encountered this error message on Android (real device) when get offerings. This error occurs whether I use Unity's build and run feature or upload it to the internal testing on the Google Play Console:
_getOfferings {"error":{"code":2,"message":"There was a problem with the store.",
"readableErrorCode":"StoreProblemError",
"readable_error_code":"StoreProblemError",
"underlyingErrorMessage":"Error when fetching products - DebugMessage: An internal error occurred.. ErrorCode: SERVICE_UNAVAILABLE."}}
I've checked my settings in RevenueCat:
- The Google Play package name matches across Google Play Console, Unity, and RevenueCat.
- The package and offerings are correctly set up in RevenueCat.
- It’s not an issue with the developer API, as the payment feature is only being tested by me and hasn't been officially launched.
Please advise on how to fix this error. Thank you!