I faced the below issues in my request logs, the users who have reported this only on iOS 14.6 iOS 14.7 ,
I do not understand why.
only found on iOS 14.6 and iOS 14.7
https://developer.apple.com/documentation/cfnetwork/kcferrordomaincfnetwork
https://developer.apple.com/documentation/cfnetwork/cfnetworkerrors/kcferrorhttpsproxyconnectionfailure?language=objc
AFN Version: 4.0.1
error logs:
Optional(Error Domain=kCFErrorDomainCFNetwork Code=310 "(null)" UserInfo={_NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <D47C60FA-62F4-4676-B504-B2C181C91263>.<8>, _kCFStreamErrorDomainKey=4, _NSURLErrorRelatedURLSessionTaskErrorKey=(
"LocalDataTask <D47C60FA-62F4-4676-B504-B2C181C91263>.<8>"
), _kCFStreamErrorCodeKey=-2102})
How can I resolve this issue ? Thanks
Post
Replies
Boosts
Views
Activity
Apple rejected my submission due to the failure of purchase
The IAP works in the Testflight with Sandbox environment without any problem.
they gave to me is just the screenshot of when the purchase failed, just purchase , return error code 0 , "An unknown error occurred"
same issue, anyone found a solution? and hope to get @rich help, thank you very much
Guideline 2.1 - Performance - App Completeness
We found that your in-app purchase products exhibited one or more bugs when reviewed on iPhone and iPad running iOS 14.6 on Wi-Fi.
Specifically, your app's In-App Purchase is unresponsive when user attempts to purchase it.
Next Steps
When validating receipts on your server, your server needs to be able to handle a production-signed app getting its receipts from Apple’s test environment. The recommended approach is for your production server to always validate receipts against the production App Store first. If validation fails with the error code "Sandbox receipt used in production," you should validate against the test environment instead.