Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
[ad_1]
I am attempting to combine in-app buy to my app however the Renewable and non-renewable choices should not accessible.
Nevertheless, beneath subscriptions I am having the renewable and non-renewable choice. My query is that if this was faraway from this ‘Create an in-App Buy
‘ sort drop down and moved to subscriptions. If that is so, would I be connecting to subscriptions how I’d connect with in-app buy in react-native?
React.useEffect(() => {
//set up reference to in-app buy
initConnection()
.then(response => {
console.log('linked to retailer', response);
IAP.getSubscriptions(itemSkus)
.then(response => {
console.log('connection established', response);
setProducts(response);
})
.catch(error => {
console.log('error establishing connection', error);
});
})
.catch(err => {
console.log('error in connecting to in-app buy', err);
});
});
[ad_2]