saturngod/IAPHelper

Not support IPv6 Networks

tuananhit91 opened this issue · 10 comments

Your app crashed on iPad running iOS 10.3.1 connected to an IPv6 network when we:

  1. Launch the application 2. Navigate to Purchase/Recharge tab 3. Proceed to purchase one of the IAP products

This occurred when your app was used:

  • On Wi-Fi

We have attached detailed crash logs to help troubleshoot this issue.

Next Steps

To resolve this issue, please revise your app and test it on a device while connected to an IPv6 network (all apps must support IPv6) to ensure that it runs as expected.

Resources

For information on how to symbolicate and read a crash log, please review Tech Note TN2151 Understanding and Analyzing Application Crash Reports.

For information about supporting IPv6 Networks, please review Supporting IPv6 DNS64/NAT64 Networks and About Networking.

Same issue "We discovered one or more bugs in your app when reviewed on iPhone running iOS 10.3.1 on Wi-Fi connected to an IPv6 network."
To resolve this issue, please run your app on a device while connected to an IPv6 network (all apps must support IPv6) to identify any issues, then revise and resubmit your app for review.

I fixed this problem a few days ago :))
May be because you use the function:

[[IAPShare sharedHelper] .iap checkReceipt: [NSData dataWithContentsOfURL: [[NSBundle mainBundle] appStoreReceiptURL]] AndSharedSecret: SharedSecret onCompletion: ^ (NSString * response, NSError * error)

And this function uses NSURLConnection (not support ipv6).

when you fix that problem and push ?

[[IAPShare sharedHelper].iap buyProduct:product
onCompletion:^(SKPaymentTransaction* trans){}];
I encounter the problem on this function.

it seems not have relations with NSURLconnection.s

I was crashed on the function:
[[IAPShare sharedHelper].iap requestProductsWithCompletion:^(SKProductsRequest* request,SKProductsResponse* response)
{}];

LET me know how to fix it .

Guideline 2.1 - Performance - App Completeness

Guideline 2.1 - Performance - App Completeness

We discovered one or more bugs in your app when reviewed on iPhone running iOS 10.3.2 on Wi-Fi connected to an IPv6 network.

Specifically, we are unable to purchase IAP at the time. An error message displayed when we clicked on IAP purchase,

Please see attached screenshots for details.

Next Steps

To resolve this issue, please run your app on a device while connected to an IPv6 network (all apps must support IPv6) 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.

Resources

For information about supporting IPv6 Networks, please review Supporting IPv6 DNS64/NAT64 Networks and About Networking.

@leewaycn you use swift language ?. I also get the same message from apple for the application that uses the swift language. App that uses the Objective-C language is fine.

@tuananhit91 I use the OC...But now my App was updated in the AppStore . I didn't change any code. So I don't know why.

@leewaycn do you approved?And did you change anything?

Apple constantly gives this rejection reason yet the problem almost NEVER has to actually do with ipv6, it's just like their default rejection reason or something.