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.]