Question

Application get's stuck once we get "You are All set" from Apple App store

  • 27 September 2022
  • 4 replies
  • 83 views

Badge +1

I have configured the revenue cat react native SDK. The products are configured in the offerings sections and they are getting fetched properly. All good until this moment.

 

Once I clicked Buy now, The popup of Apple login opens up and after adding sandbox user credentials It says “purchase success-full” with “tick” sound on physical Iphone.

Once that’s done, I get new popup saying “You are all set  mode:[sandbox””. After dismissing this popup my app freezes. Nothing happens. Even I am not getting the 

`custmer_info` or `puchase_info` after the successful purchase.

Please help

 

 try {
Purchases.setDebugLogsEnabled(true);
console.log("initiated purchase") // this will execute
const purchaseData = await Purchases.purchasePackage(incomingPackage);
console.log("purchaseData", purchaseData); // not getting this line
console.log("done puchase") // not getting this line
}
} catch (e) {
console.log(JSON.stringify(e, null, 4)) // this also doesn't execute
console.log("err", e);
} finally {
console.log("in finally block") // not even this executes
}

 


4 replies

Badge +2

 

Badge +2

any one this error apear with him ?

 

Badge +2

@Cesar are this error happen with you before 

Badge +2

@Chaitanya 

 

Reply