iOS Question ipv6 reject

cloner7801

Active Member
Licensed User
Longtime User
Apple reject my application becauese it doesnt support ipv6 how to solve my problem?

I am using AsyncStreamsObject to transfer file between devices


Apple review:

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

Specifically, we were not able to connect two devices on the same network. After entering the other device's ID, the app displayed a Connecting icon and then an error indicating failure to connect.

We've attached screenshot(s) for your reference.

Next Steps

Please run your app on a device while connected to an IPv6 network (all apps must support IPv6) to identify the issue(s), 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(s). For updates, install the new version as an update to the previous version, then follow the steps to reproduce the issue(s).

Resources

For information about supporting IPv6 Networks, please refer to Supporting IPv6 DNS64/NAT64 Networks and About Networking

If you have difficulty reproducing a reported issue, please try testing the workflow described in Technical Q&A QA1764: How to reproduce bugs reported against App Store submissions.

If you have code-level questions after utilizing the above resources, you may wish to consult with Apple Developer Technical Support. When the DTS engineer follows up with you, please be ready to provide:
- complete details of your rejection issue(s)
- screenshots
- steps to reproduce the issue(s)
- symbolicated crash logs - if your issue results in a crash log
 

cloner7801

Active Member
Licensed User
Longtime User
I am using serversocket and socket

B4X:
Sub StartAstream(s As Socket)
    astreamO.Start(s.InputStream, s.OutputStream)
    Log("startAstream")
    Log(ipxx)
        indec.SetAlphaAnimated(1000,0)
        label1.SetAlphaAnimated(1000,0)
        Panel3.SetAlphaAnimated(1000,0)
        Panel4.SetAlphaAnimated(1000,0)
End Sub

Sub AstreamO_Terminated
    Log("teminated")
    Log(ipxx)
    server.Listen
    client.Close
    client.Initialize("client")
indec.SetAlphaAnimated(1000,1)
        label1.SetAlphaAnimated(1000,1)
        Panel3.SetAlphaAnimated(1000,1)
        Panel4.SetAlphaAnimated(1000,0.6)
End Sub

Sub client_Connected (Successful As Boolean)
    If Successful Then
        StartAstream(client)
        indec.SetAlphaAnimated(1000,0)
        label1.SetAlphaAnimated(1000,0)
        Panel3.SetAlphaAnimated(1000,0)
        Panel4.SetAlphaAnimated(1000,0)
        Main.hd.ProgressDialogHide
        Main.hd.ToastMessageShow("Connected!",False)
       
    Else
        'Main.hd.ToastMessageShow("Error: " & LastException, True)
        Log(ipxx)
        indec.SetAlphaAnimated(1000,1)
        label1.SetAlphaAnimated(1000,1)
        Panel3.SetAlphaAnimated(1000,1)
        Panel4.SetAlphaAnimated(1000,0.6)
        Main.hd.ProgressDialogHide
        Main.hd.ToastMessageShow("Failed to connect",False)


    End If
End Sub
Sub Server_NewConnection (Successful As Boolean, NewSocket As Socket)
    If Successful Then
        StartAstream(NewSocket)
        Log("newConnection")
        stopx="y"
        Log(ipxx)
    indec.SetAlphaAnimated(1000,0)
        label1.SetAlphaAnimated(1000,0)
        Panel3.SetAlphaAnimated(1000,0)
        Panel4.SetAlphaAnimated(1000,0)
        'Panel3.SetAlphaAnimated(1000,0)
    Else
indec.SetAlphaAnimated(1000,1)
label1.SetAlphaAnimated(1000,1)
        Panel3.SetAlphaAnimated(1000,1)
        Panel4.SetAlphaAnimated(1000,1)

    '    Panel3.SetAlphaAnimated(1000,1)

    End If
End Sub



Sub astreamO_ObjectSent (Key As String)
    Log("Object sent: " & Key)   
            indec.SetAlphaAnimated(1000,0)
            label1.SetAlphaAnimated(1000,0)

End Sub



Sub astreamO_NewObject(Key As String, Value As Object)
    Select Key
        Case "form"
           
        Case "simple value"
           
        Case "image"
           
        Case "file"
                    indec.SetAlphaAnimated(1000,0)
                    label1.SetAlphaAnimated(1000,0)
                     LIV2.StartAnimating

            Dim fileName As String = Value
            Log("Received file. File size: " & File.Size(astreamO.TempFolder, fileName))
           
   
            mp.Initialize(astreamO.TempFolder,fileName,"mp")
   
            mp.Play
    End Select
End Sub
 
Upvote 0

cooperlegend

Active Member
Licensed User
Longtime User
Same issue here, an App that passed Apple tests before , one minor tweak to an input, no comms changes, and they are failing it on ipv6 compatibility. #soannoying

Any ideas, App work fine with my iPad connected to the one and only server it needs to connect to.... ?!?!
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…