saturngod / IAPHelper

No more maintenance for this repo. Please use the https://github.com/bizz84/SwiftyStoreKit
MIT License
1.55k stars 280 forks source link

Not support IPv6 Networks #45

Open tuananhit91 opened 7 years ago

tuananhit91 commented 7 years ago

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:

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.

ishandini commented 7 years ago

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.

tuananhit91 commented 7 years ago

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).

saturngod commented 7 years ago

Oh!

Thanks. I will check all the issues in this weekend :( Busy In these days and cannot replied. I will fixed this issues , too.

On 5 May 2017 at 10:02:29 AM, Hoang Tuan Anh (notifications@github.com) wrote:

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).

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/saturngod/IAPHelper/issues/45#issuecomment-299362334, or mute the thread https://github.com/notifications/unsubscribe-auth/AAIQCRsQZwivlbItaeObQ5tf9kvOL9KLks5r2phJgaJpZM4M_xmm .

leewaycn commented 7 years ago

when you fix that problem and push ?

leewaycn commented 7 years ago

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

it seems not have relations with NSURLconnection.s

leewaycn commented 7 years ago

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.

tuananhit91 commented 7 years ago

@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.

leewaycn commented 7 years ago

@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.

jaccty commented 6 years ago

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

AlbertRenshaw commented 6 years ago

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.