Replies: 4 comments 4 replies
-
@ajouve you cannot test this on dev mode. You need to build a release build and at least upload it to the play store to complete the setup |
Beta Was this translation helpful? Give feedback.
-
@andresesfm i had confirmed that the skus and the country is correct any help? |
Beta Was this translation helpful? Give feedback.
-
@baby230211 you have to use the same build number and have your app published to the play store for this to work. If you created the subs on a version previous to the use you are using locally, the play store will not return those |
Beta Was this translation helpful? Give feedback.
-
I tried to create a React Native project a year ago but having an issue I could not solve with the in-app purchase I made a pause, and now I am coming back, but I have a similar issue
The issue was in android, and I am testing with real devices.
I created a new Google play console account and generated a subscription, my identity and the bank account has been verified.
This is my actual subscription configuration, let's say that my product ID is
sub1
and the only plan isplan1
plan1
is available in the country I am testingThen I have four google account in the device I am doing tests, I added all of them in
License testing
and the response isRESPOND_NORMALLY
Now the code
Having a look at my logs,
handleGetSubscriptions
is called, and I have no errorWhen clicking on the button, I have
subscriptions []
andconnected true
And the
Text
with thesubscriptions
is always[]
Not sure if for the sku I have to use the
sub1
orplan1
but using both I have an empty array, I also tried with onlysub1
and onlyplan1
, same issueI am running
npm run android
to testFrom time to time I have this error
[Error: An unknown or unexpected error has occurred. Please try again later.]
I have no more details, I do not know if this error is related toreact-native-iap
sometime I can test during hours without seeing this error and sometimes I have this error some seconds after each launchBeta Was this translation helpful? Give feedback.
All reactions