This is a migrated thread and some comments may be shown as answers.

Android build crash when exitApp()

3 Answers 24 Views
Report a bug
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Andres
Top achievements
Rank 1
Andres asked on 28 Jan 2014, 12:57 PM
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. 
    

3 Answers, 1 is accepted

Sort by
0
Zdravko
Telerik team
answered on 31 Jan 2014, 12:01 PM
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.

0
Steve
Telerik team
answered on 31 Jan 2014, 12:27 PM
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)
0
Andres
Top achievements
Rank 1
answered on 13 Feb 2014, 09:15 AM
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.
Tags
Report a bug
Asked by
Andres
Top achievements
Rank 1
Answers by
Zdravko
Telerik team
Steve
Telerik team
Andres
Top achievements
Rank 1
Share this question
or