Posts

Post not yet marked as solved
36 Replies
12k Views
Hi,Our app recently has been getting rejected for not being able to purchase, even though when we test on both development signed builds (xcode with Sandbox users), and with TestFlight, the sandbox purchasing is working fine.The app store reviewers insist it is a problem with handling sandbox receipts, but we already correctly do the suggested approach of first validating with the prod endpoint, and then trying the sandbox one if the specific error is returned. Additionally, our data seems to indicate that the reviewers are getting the errors BEFORE we even get to the stage of verifying the receipt.The errors are usually "Cannot connect to iTunes store" or other similarly unhelpful messages that indiciate a generic problem when issuing a SKReceiptRefreshRequest.Recently, our in app purchases had new Description text added, but when they reject the build they turn red and say "Proposed changes have been rejected". Is this a symptom or a cause? Does that mean they got rejected because the app got rejected? Or could it be causing the problems somehow? Regardless, changing this text seemed to lead to the same rejection....We can't really file a bug report because we cannot reproduce the errors that the app reviewers are experiencing... what should we do?
Posted Last updated
.
Post not yet marked as solved
11 Replies
2.7k Views
I have the following code in our app:[ MPMediaLibrary requestAuthorization: ^( MPMediaLibraryAuthorizationStatus status ) { // stuff } ];And the first time per session we invoke this, the "//stuff" gets executed just fine. But the second and onward times we call this, the callback never gets called. If we force close the app and restart it, it will work correctly (once) and then not work anymore that session. This repros on iOS 12 but not on iOS 11.Did the API change? Should I change my code to: if ( MPMediaLibrary.authorizationStatus == MPMediaLibraryAuthorizationStatusNotDetermined ) { [ MPMediaLibrary requestAuthorization: ^( MPMediaLibraryAuthorizationStatus status ) { // stuff } ]; } else { // if MPMediaLibrary.authorizationStatus == MPMediaLibraryAuthorizationStatusAuthorized // music stuff // else // cant do music stuff, tell use to go to settings }
Posted Last updated
.