ios and ipv6 problem

602 views
Skip to first unread message

Maha kanso

unread,
Aug 17, 2016, 1:02:58 AM8/17/16
to phonegap
i'm trying to upload my app on apple store but is rejected because is not run on ipv6 network 
i'm using the last version of  phonegap  and  jquery mobile and ajax to get json data from server .
any idea how can solve this problem ??

Rob Willett

unread,
Aug 17, 2016, 1:35:00 AM8/17/16
to phonegap

Not enough information really.

I'm surprised though as our app isn't rejected but we've never tested in ipv6 or done anything whatsoever for ipv6. We have a lot of network code including websockets.

What sort of code do you have and what did the rejection say?

Somebody else had a similar issue earlier in the month and I think their problem was actually handling no network connectivity rather than no ipv6.

Post more information,

Rob


--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phon...@googlegroups.com
To unsubscribe from this group, send email to
phonegap+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Maha kanso

unread,
Aug 17, 2016, 3:15:31 AM8/17/16
to phonegap

this is the message , i get form apple  (We discovered one or more bugs in your app when reviewed on iPad running iOS 9.3.4 on Wi-Fi connected to an IPv6 network.)
i test the app on ipv6 it's work fine 
 i am using jquery mobile and ajax and php using phonegap 

there are any plugins or platform used in phonegap to allow ipv6 network

my app load all locally data but ca't get data from server when it connect to ip6 wifi but on ipv4 it works

jcesarmobile

unread,
Aug 23, 2016, 2:46:10 PM8/23/16
to phonegap
Can you share the code you use to connect with the server? Are you hardcoding IP addresses?

Maha kanso

unread,
Sep 5, 2016, 9:12:45 AM9/5/16
to phon...@googlegroups.com
hello this is the code 

function loadRepos() {
$('#loading').show();

 $.ajax({
 type: "GET",
 crossDomain: true,
 
 cache: false,
 success: function(result){
 var result=$.parseJSON(result);
 $.each(result, function(i, field){

$('#loading').hide();  
 //alert(result);

$("#allRepos").append("<div style=' width:50%;display:inline-table; padding-top:20px;' align='center'><img src='http://adsapp.info/driving/admin/all/uploads/"+ field.news_pic+"' width='50%' ><div style=' width:1%; float:right'></div><div style='color:#000;font-size:12px;margin-top:5px;  '> "+field.news_title+"</div></div>");

 });
 
 
 }
 });
 }  no i use url address not the ip 

On Tue, Aug 23, 2016 at 9:46 PM, jcesarmobile <jcesar...@gmail.com> wrote:
Can you share the code you use to connect with the server? Are you hardcoding IP addresses?
--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phon...@googlegroups.com
To unsubscribe from this group, send email to

For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en

For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to a topic in the Google Groups "phonegap" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/phonegap/urlBugTgVo8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to phonegap+unsubscribe@googlegroups.com.

Kerri Shotts

unread,
Sep 5, 2016, 12:29:32 PM9/5/16
to phonegap
I don't see any error-handling code there; did you just not include it? If not, you should add some, because otherwise there's no simple way to figure out why the AJAX request failed.

On Monday, September 5, 2016 at 8:12:45 AM UTC-5, Maha kanso wrote:
> ...

Maha kanso

unread,
Sep 6, 2016, 1:04:43 AM9/6/16
to phon...@googlegroups.com
include what ?


Kerri Shotts

unread,
Sep 6, 2016, 3:31:33 PM9/6/16
to phonegap
You don't have any code that handles an error condition. AJAX requests aren't guaranteed to succeed, and so you need error handling in order to determine why the request failed. I wanted to know if you had error handling code but didn't include it in your posts here.

If you truly don't have any error handling code, I would suggest adding some so that your app can react better when a failure does occur (at minimum by providing more diagnostic information).


On Tuesday, September 6, 2016 at 12:04:43 AM UTC-5, Maha kanso wrote:
> include what ?
...

Maha kanso

unread,
Sep 9, 2016, 4:43:20 AM9/9/16
to phonegap
thank you 
Reply all
Reply to author
Forward
0 new messages