Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Javier_M_3
Beginner
62 Views

IP6 iOS Issue

HI, i've read a lot about it, but i'm not using cordoba.

I'm just using the html5, like this:

<a href="index.html">Click here to start</a>

And i can not publish the app, apple response is:

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, we were unable to access your app upon tapping on the link at the end of the EULA.
 

So, what can i do ? It's a simple link!!!

I've updated the Intel XDK to the last version.... But it does'nt work, apple rejected again.

 

Thanks a lot!!

 

 

Tags (2)
0 Kudos
8 Replies
PaulF_IntelCorp
Employee
62 Views

Actually, you are building a Cordova app, the UI for the plugins has been disabled. I recommend you create a new Cordova project and move your code into that, so you can get more control over the plugins you use. You likely need to review your:

  • whitelist settings
  • CSP meta tags
  • usage of the inAppBrowser

There are many posts in the forum regarding the above subjects as well as issues posting apps to iOS, please search the forum for them. Hints on how to search the forum using Google can be found at the bottom of this page > https://software.intel.com/en-us/xdk/docs/xdk-doc-quick-links <

Javier_M_3
Beginner
62 Views

Thansk Paul, for your quick answer :)

I'm not using inAppBrowser, i'm not using any plugin. I just have a link to another page into the project.

The app is ok, it works fine, but the IPv6 issue. I've read that if i use InAppBrowser i can solve it using '_blank', but i's not my case.

My index.html body is:

<p>Wellcome to my page</p>

<a href="index2.html">Click here to enter</a>

-----

It's very very simple, that's why i can not find any solution, everybody seems to use InappBrowser...

Thanks again

PaulF_IntelCorp
Employee
62 Views

Javier -- ignore the IPv6 reference, every feedback message from the Apple store contains that reference, it has nothing to do with your issue. Your issue is this part of the message "Specifically, we were unable to access your app upon tapping on the link at the end of the EULA." which probably means that when they tapped on the EULA (somewhere in your app) there was no way to return. I don't know how you're displaying your EULA (perhaps the index2.html file), but if you use the inAppBrowser API directly you can get it to provide "a way back." See the inAppBrowser doc page > https://github.com/apache/cordova-plugin-inappbrowser#cordovainappbrowseropen < especially the iOS options. You would need to change your app so touching the EULA link takes you to a click or touch (or both) event handler that calls a function that then opens your page using the inAppBrowser API, instead of using an href.

Javier_M_3
Beginner
62 Views

Ufff. So you are telling me that the problem comes from the navigation logic, not the IP6 comment....

Thank you very much for your time, i will try your approach... I will tell you

bye!!

Javier_M_3
Beginner
62 Views

This is the last message :(

"We discovered one or more bugs in your app when reviewed on iPad iPhone running iOS 10.1 on Wi-Fi connected to an IPv6 network.
The app is stuck on the EULA page."
 

It's only on IPv6... :(

I've upload the project, it's very very simple...Please, can you take a look on it?

 

Thanks a lot!!

Javier_M_3
Beginner
62 Views

Sorry...So you are telling me that i can not use <a>, i should remake all my code to use cordoba?

 

Thanks

PaulF_IntelCorp
Employee
62 Views

Javier -- sorry, but I have not had time to review your app. Read this forum thread, starting here > https://software.intel.com/en-us/forums/intel-xdk/topic/696734#comment-1886932 < it may be of value to what you are trying to do. Again, I have not had time to review your app, so I'm can only guess about the specific details, but the error message from Apple, and what you describe, sound similar to what was solved by that thread.

In essence, Apple doesn't care for apps that are simply a bookmark for a web site, they want something that is an app first. It's okay to point to pages within your app, but your app needs to deal with things like no network connection and retaining a UI that is appropriate for an app, not a web site.

Javier_M_3
Beginner
62 Views

Hi Paul, I have some news...

Your last post is very interesting, and you were right, there was no problem about IP6 :)

I changed the <a href='main.html'> to a <button onclick='location.href='main.html'> ( using a function instead) and it worked and apple aproved my app. :)

But, then i have a lot of links like <li><a> and <img> and nothing works, the same problem.

I've set a simple * into the the White List fields, and may be this could be the problem. But if my application links to local pages as index.html,main.html, test.html....why this pages should be blocked and why it works changing location.ref ?

And, very strange for me, if i link to facebook...it works!!!

So..

<a href='index.html'>   -> Doesn't work

<a href='index2.html'>   -> Doesn't work

<a href='http://www.....html'>   -> It works

 

Ah, and it works fine using Intel App Preview.... :(

Thanks again!!

Reply