Post

Replies

Boosts

Views

Activity

IAP issue only on App Store release
In my local testing my in-app purchase button to remove ads does exactly what I want it to do. It opens a confirmation dialog to proceed with the purchase. Once published to the App Store however, tapping that button makes the whole UI go blank and nobody can make an in-app purchase. I'm not sure how to debug this since I don't see any problems until it's live. extension IAPManager: SKProductsRequestDelegate {  func productsRequest(_ request: SKProductsRequest,             didReceive response: SKProductsResponse) {   delegate?.promptToRemoveAds(product: response.products.first)  } } func promptToRemoveAds(product: SKProduct?) {   let price = IAPManager.shared.formatPrice(forProduct: product) ?? "Error"   let title = "Confirm Your In-App Purchase"   let message = "Remove ads for \(price)?"   let alert = UIAlertController(title: title, message: message, preferredStyle: .alert) ...      vc.present(alert, animated: true)  }
3
0
683
Jun ’21