Posts

Post not yet marked as solved
5 Replies
7.1k Views
My app was rejected twice because of an error that occurs when the app tries to fetch In App Purchases from the App Store. This is the message I received from the App Store Review team:Guideline 2.1 - Performance - App CompletenessWe discovered one or more bugs in your app when reviewed on iPad running iOS 13.2.3 on Wi-Fi.Specifically, network error message is displayed after launch.Next StepsTo resolve this issue, please run your app on a device to identify any issues, then revise and resubmit your app for review.If we misunderstood the intended behavior of your app, please reply to this message in Resolution Center to provide information on how these features were intended to work.For new apps, uninstall all previous versions of your app from a device, then install and follow the steps to reproduce the issue. For updates, install the new version as an update to the previous version, then follow the steps to reproduce the issue.ResourcesFor information about testing your app and preparing it for review, please see Technical Note TN2431: App Testing Guide.For a networking overview, please review About Networking.This error has never appeared in our internal test team and but we managed to reproduce it on a simulated iPad running iOS 13.2.2, after erasing all content and settings. The version of Xcode used is Version 11.2.1 (11B500). The call to the App Store then results in the following error:Error Domain=ASDErrorDomain Code=507 "Error decoding object" UserInfo={NSLocalizedDescription=Error decoding object, NSLocalizedFailureReason=Attempted to decode store response}I have noticed that the error only occurs with auto-renewable subscriptions.When I restart the simualtor and Xcode and run again, the products are loaded succesfully.The error is also reported on StackOverflow here:https://stackoverflow.com/questions/58020258/requesting-an-in-app-purchase-in-ios-13-failsAnd there is a reddit post about the issue here:https://www.reddit.com/r/iOSProgramming/comments/dbw5b8/my_experience_on_having_my_app_rejected_twice/Unfortunately, the suggested fixes don't work for me.I created a demo project that use can use to reproduce the issue here:https://github.com/Kukiwon/in-app-purchase-productsrequest-errorSo here are my questions:- Should I try to explain this bug to the App Review team? Hoping that they let the app pass and treat it as a bug internally.- Do you think it's better if I first submit a TSI before proceeding with the app review?- Does anyone know of this issue and how to solve it? Is there any workaround for this?Any help is greatly appreciated!
Posted
by Kukiwon.
Last updated
.
Post marked as solved
1 Replies
586 Views
Hi all,I have configured my server to receive Server-To-Server notifications but I when I look at the access logs of the server, I see that the server returns a 403 status code.When I run the following diagnostic, ATS is passing./usr/bin/nscurl --ats-diagnostics myurl Default ATS Secure Connection --- ATS Default Connection Result : PASS ---When I call the subscription status URL manually, using CURL or Postman, the response is always 200.Does anyone know why my server might be sending back a 403?Here's what I'm seeing in the access logs:17.58.10.21 - - [09/Nov/2019:10:22:20 +0000] "POST /wp-json/app/v2/appstore HTTP/1.1" 403 117 "-" "Apache-HttpClient/4.5.8 (Java/1.8.0_221)"Any help is greatly appreciated!Regards,Jordy
Posted
by Kukiwon.
Last updated
.