App rejected in apple app store because it is crashing on load in an ipv6 environment

Thread is closed for posting
5 posts, 0 answers
  1. Joshua
    Joshua avatar
    2 posts
    Member since:
    Feb 2015

    Posted 20 Feb 2017 Link to this post

    I am having an issue where my app is being rejected in the itunes app store for ios.  They are saying it is crashing during launch in an IPV6 environment.  The only networking code my application is using is via the "fetch" module and I am not directly referring to any ip address.  All of my calls to fetch are using a domain name in the url.  This leads me to believe that there is something internal in native script that is crashing.

    Any help would be appreciated.

    Thanks.

  2. Nikolay Iliev
    Admin
    Nikolay Iliev avatar
    351 posts

    Posted 21 Feb 2017 Link to this post

    Hi Joshua,

    As far as I understand you are using NativeScript via Telerik Platform - correct me if I am wrong!
    In any case, we will need some additional information on the errors received from Apple store.
    You can also take a look at this issue where a possible workaround is provided (requires modifying the source code of connectivity module.

    in case you are unable to resolve this issue please send us as much information as possible regarding the error logs and your application package.json content.

    Regards,
    Nikolay Iliev
    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. Nikolay Iliev
    Admin
    Nikolay Iliev avatar
    351 posts

    Posted 22 Feb 2017 Link to this post

    Hi again Joshua,

    I've understood that you had some difficulties getting back to us due to a locked forum thread.
    I am sincerely apologizing for this situation - we are currently looking into it.
    Meanwhile, I have moved the thread to an open forum where you can reply and provide us with the additional info/code needed o investigate your case.

    Regards,
    Nikolay Iliev
    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  4. Joshua
    Joshua avatar
    2 posts
    Member since:
    Feb 2015

    Posted 22 Feb 2017 in reply to Nikolay Iliev Link to this post

    I was able to resolve this.  What I discovered was that the advise in the nativescript documentation for publishing an ios is incorrect.  It advises to do a tns prepare, then open the generated xcode project to publish.  Instead (I stumbled across this in a forum or ticket while searching for a solution) I had to do tns build ios --release, then open the generated xcode project and publish.  Once I did it that way it worked fine.

    The initial rejection from apple indicated a problem with ipv6, but at this point I don't think it truly had anything to do with this issue.

  5. Nikolay Iliev
    Admin
    Nikolay Iliev avatar
    351 posts

    Posted 22 Feb 2017 Link to this post

    Hi Joshua,

    Thank you for reporting back to us! I am glad that you were able to resolve your case. Meanwhile, I have taken steps to make sure that the documentation section will be properly updated via this PR.
    As an appreciation for your cooperation, I am giving you 1500 Telerik points.

    Regards,
    Nikolay Iliev
    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top