We have received reject from apple store regarding crash and Xamarin.InAppPurchase and Buy button. Remember, I've already mentioned about that issue before so we started analysing how to reproduce it. Finally I prepared step-by-step instruction:
- Receive the list of available products
- Turn off Wi-Fi
- Invoke: PurchaseManager.BuyProduct (id);
- You will get hundreds of: PurchaseManager.InAppProductPurchaseFailed and "Cannot connect to iTunes Store" before app crashed.
I have to note that another team mate is constantly getting that error even with enabled WiFi. I think something is wrong with handling InAppProductPurchaseFailed event. Sometimes the error appears together with InAppProductPurchaseUserCanceled event (though Cancel button is never got pressed).