Skip to main content

 

I have a react-native app that uses "react-native-purchases": "^8.2.3". I have followed the steps in the docs but I still can’t get it to work.

iOS and Google works fine. 

This is how I initialize IAP:

Purchases.configure({
apiKey: <key>,
useAmazon: true
})

when I call

const products = await Purchases.getProducts(uSubscriptions.MONTHLY, Subscriptions.ANNUALY], PRODUCT_CATEGORY.SUBSCRIPTION)

I always get 

`Timeout error trying to get Amazon user data`

 

 

Hey @allan-uy-b37a8a !

 

Are you following the Amazon test guide here and using LAT? Also, when looking into debug logs what errors are you seeing? 


Hi @Michael Fogel 

Yes, I followed the guide. This is the error I’m getting:

There was a problem with the store.

Failed to get user data. Make sure sandbox mode is enabled if using App Tester. 

 

I’m testing it using Live App Testing on an actual device.

 


Based on my understanding, that error should only occur when I’m using App Tester right? 


If I’m using the App Tester debug mode, this is the log shows

 

 


Reply