Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16750

React Native IOS Subscription integration errors

$
0
0

i am using react-native(0.61.5)I created my auto-renewable packages via appstoreconnect. I want to subscribe to these packages that I have created using the react-native-iap package. but i am getting the errors in the image below.

note: OR i am getting empty products obj

enter image description here

my codes

export const IAP_SKUS = Platform.select({  ios: ['1' // my product id on applestoreconnect subscriptions  ],});getProducts = async () => { try {  const products: RNIap.Product[] = await RNIap.getProducts(IAP_SKUS);  console.log(products); } catch (err) {  console.log(err); }}

Where do I make mistakes, I can not perform the subscription even though I use the package as it is. Can you help me with this? or does it have a good documentation?


Viewing all articles
Browse latest Browse all 16750

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>