Android build crash when exitApp()

4 posts, 0 answers
  1. Andres
    Andres avatar
    30 posts
    Member since:
    Apr 2013

    Posted 28 Jan 2014 Link to this post

    Hi,
    After last telerik platform update, i found 2 problems:

    1. App crash when using navigator.app.exitApp(). It works on Cordova 2.7 but not on Cordova > 3.
    You can take whatever example from an app.

    2. More time installing the app.
    My app now takes 2-3 minutes to install and use most of the time on the step "First Install" loading.


    All works fine on IOS ION. 
        
  2. Zdravko
    Admin
    Zdravko avatar
    657 posts

    Posted 31 Jan 2014 Link to this post

    Hello Andres,

    Thanks for your feedback.

    1. Indeed, you are right. The app is crashing after exitApp function is called, even though adding a button that calls it is not a good practice. This seems to be a bug in Cordova and you can find numerous reports if you search for "cordova crash navigator.app.exitApp()"

    2. We haven't noticed such a latency in the installing process, but we will continue observing it and take care to be as fast as possible.

    Regards,
    Zdravko
    Telerik

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 31 Jan 2014 Link to this post

    Hello Andres,

    Just a quick follow up to let you know that we've found the culprit and it is related to our livesync bits that are included whenever you build your app in Debug mode. Should you build in Release mode, the problem should not exist. It is already logged and would be fixed for the next version of the product.

    Sorry for the temporary inconvenience.

    Regards,
    Steve
    Telerik
    Icenium is now Telerik AppBuilder, and is part of the Telerik Platform. For more information on the new name, and to learn more about the Platform, register for the free online keynote and webinar on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT)
  4. Andres
    Andres avatar
    30 posts
    Member since:
    Apr 2013

    Posted 13 Feb 2014 Link to this post

    Hi Steve,

    I make i built and install on Android devices and now it works like a charm. LiveSync and install, works like usually.

    Thanks.
Back to Top