Flex blazeDS remoting : Apple rejected build reason IPv6 network only - ios

I am a new to flex programming. Recently apple has change policy and from 1 June 2016 any app in appstore must supports IPv6 network only as per new policy. So when i test my new version of an application in IPhone it could not able to communicate with webservice. however previous version were working fine.
In my Application I am using mx.rpc.remoting.RemoteObject.RemoteObject and URLMonitor.
My web services is created in BlazeDS
I am using flex 4.6 AIR 22.
Is mx.rpc.remoting.RemoteObject.RemoteObject can handle IPv6? I am not using any hardcode IP like "0.0.0.0".
Please suggest me any ANE for URLMonitor also
Thanks
Zalak L.

I have the same problem, and after more than 4 code modifications and submissions to Apple review, I think the problem is about AMF protocol. It's not compatible with ipv6. The call to the server is not fired.
Now I'm modifing my service facade tu use URLLoader instead of RemoteObjects.

Related

IPv6 issue application Rejected many times

Our update has been rejected many times for ipv6 network connectivity issues. Our networking code has not changed between the previous release and this current release.
once i have just changed the testing credential which we gives apple for testing purpose and my application goes live.so now i am very much fed up with the things.because sometime apple accept and sometime its rejected.but he give the same reason due to ipv6 compatibility issue.
i have refer the apple documentation as well.any one can help me for this..
i have also search lots op link of stack overflow.
thanks in advance.
I have faced similar issue previously.
Steps you need to take care:
No IP Address should be hard coded.
Example: let api = 54.32.55.88 is invalid, use let api = www.mydomain.com
If you are using any Pods make sure they are compatible with IPv6.
Update the Reachability if you are using older.
Check your server configuration if its configured properly. Removing the AAAA if not valid for your configuration
If using AWS, AWS doesn't support IPv6, nor IPv6-only DNS through Route53.
Check some other solutions here.
Yes. I too faced this issue before many times. Apple is now supporting only apps those are compatible with IPv6.
First I tested my application as per their description. I tested on IPv6 but I didn't get any error as they said. So first complete debugging after connecting to IPv6. If you feel, it's working fine then do this.
I found out the IPVersion of my network through different websites. I took screenshots of the network I connected to on mobile and sent those screen shots to apple for review(saying it's a proof of connecting to IPv6).
Here below are the couple of sites that help you in finding out which version you are using.
Test IPv6
Google IPv6 test
Now it's accepted
As of June 1st 2016, all apps submitted to apple must be ipv6 compatible.
Here is the link for the announcement.
Now this comes with a lot of caveat. Basically this would take time to implement and apple started rejecting apps since September end. Now new apps that was being submitted was caught first, but now slowly apple is checking for ipv6 compatibility in old apps that owners are updating too.
Basically what apple tests is they connect their test device into a ipv6 network(their ISP broadcasts ipv6 connectivity), now if your app has a backend server, it should support any device that hits that server with ipv6 connectivity.
You can check whether your backend server is ipv6 compatible from here. Just paste your backend URL in the following and you will be able to see if your backend supports any ping from an ipv6 network.
If it doesn't then you have to make your server ipv6 reachable.
same issue was for me, if you are using Network Reachability class then update it from apple doc here.
Now my app is live with this fix.
I had same type of problem. I made an app which has a screen which only comes when a notification come so they(Apple team) could not able to check my app and giving me IPv6 issue then i told him about my app briefly that how my app works. So point only that tell him(apple team) about your app your problem can be solve.

Required iPv6 compatibility - iOS app rejected by Apple-AFNetworking

After June 1, I submit my ionic app to iTunes connect and I got the message from apple.
Apps are reviewed on an IPv6 network. Please ensure that your app supports IPv6 networks, as IPv6 compatibility is required.
I have used AFNetworking version 3.0 for API call.
and I am not using the hard coded IP Address in my app to call API. I have used http://www.xxxx.com/API/login.php
So now, what I have to change on mobile side and server side?
Please help me to find out the solution for the same.

App store Rejects App for IPV6 network support on iOs 10

I got an app rejection mail from apple which is below,
We discovered one or more bugs in your app when reviewed on iPad and iPhone running iOS 10.0.2 on Wi-Fi connected to an IPv6 network.
Specifically, app remains on splash screen upon launch.
Based on their request i have created the NAT64 network on my Mac and shared that internet for the iPhone 5S device 10.0.2 os version , App was working fine,
But apple says its not working with IPv6
Can anyone confirm that do i need to check anything else?
Related question
Environments:
Appcelerator Studio Ti SDK 5.1.0 GA
XCode Version 6.3
Thanks in advance
Just Read the mail you got from apple people. Answer will be there only.
Use wireshark to know what exactly your network doing.
Also to understand the problem better use wireshark for analyzing what is going on - create an network as outlined in that session and see what happens on the wifi port
https://developer.apple.com/videos/play/wwdc2015/719/
for more info check #Sean Answer
After quite a bit of stress, I can confirm that the issue was a problem with our backend not being correctly configured for IPv6. Apparently, AWS doesn't support IPv6, nor IPv6-only DNS through Route53. I ended up moving all the internet facing bits of the backend away from AWS for the time being. I wanted to leave this up because I think there are probably going to be others who find themselves with similar problems as people start submitting updates past the IPv6-only restriction. The best tool I found for testing server/dns readiness has been: http://ready.chair6.net/
Request your hosting provider to assign your server IPv6 as well and they will not charge you for this. This will resolve your IPv6 issues.
In my case I contacted the hosting provider about this issue and they said IPv6 is not assigned to my server I requested them and asked for the cost, they said it is free of cost and will assign it now. I think hosting companies have to assign IPv6 to all servers but they are assigning it on priority bases for those who are facing this issue.
So better you contact hosting provider for your IPv6 assignment.

Apple rejected our phonegap app for not having ipv6 support

We submitted cordova phonegap app to apple and it was rejected saying that our app does not support ipv6. This is the first time we are getting this error and not sure on exact steps for fixing this issue.
Our app is using amazon ec2 and we noticed that amazon ec2 is not supporting ipv6. So we want to know where do we need to fix this? In the amazon or inside the app?
If it is amazon, how we can fix it? we tried to fix amazon issue by adding ELB but it has not solved the problem yet.
We are using latest version of cordova and all libraries are latest version. Please let us know
This is not an issue related to your webservice/webserver.
Since this June, Apple expects Apps to run on IPV6 networks. Apple has started rejecting Apps which do no comply with this.
NSURLSession, NSURLConnection, AFNetworking 3.x+ all support IPV6
If you are using any other network libraries, please use below link to test IPV6 support
http://www.brianjcoleman.com/tutorial-how-to-test-your-app-for-ipv6-compatibility/
If you come across issues in making web requests when your App is running on an IPV6 network, you will have to update/replace your networking libraries to IPV6 supporting equivalents.
Once you are done testing your App with IPV6 support, you can re-submit it to the app store for approval.

How to test my iOS app for IP v6 compatibility?

I found out today that from 1st of June Apple will require iOS apps to use only IP v.6.
I don't have any new publication soon but I need to test our company apps for compatibility. How to force my iOS app to use IP v.6 only?
EDIT: We have SOAP service which is used by the app. We have IP v.6 installed.
Apple provided document on how to test IPv6 Support Test for IPv6 DNS64/NAT64 Compatibility Regularly.
This include a setup where your development machine is used a IPv6 net router.

Resources