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

Can not getProducts iOS simulator react-native-iap

$
0
0

I am trying to get some products details configured on app store connect (saved but not submited)

react-native-iap: 4.4.3

react-native: 0.62.0

I am running this code on iOS simulator

import * as InAppPurchases from 'react-native-iap';InAppPurchases.initConnection().then( canMakePayments => {    console.log(canMakePayments);    return InAppPurchases.getProducts(['com.xxx.xxx.abo'])}).then(result => {    console.log(result);}).catch(err => {    console.log(err);})

canMakePayments is true

but getProducts catch with [Error: An SSL error has occurred and a secure connection to the server cannot be made.]


Viewing all articles
Browse latest Browse all 16750

Trending Articles



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