Progress will discontinue Telerik Platform on May 10th, 2018. Learn more

Analytics Plugin Causes the App to Freeze or Crash

Environment

Service Code (AppBuilder), Analytics
Plugin Progress Telerik Analytics
Mobile development type Hybrid (Apache Cordova) app

Description

When you include the Analytics plugin to your app, you might experience a number of issues. The app might become unresponsive or crash on start-up.

Possible Causes

  1. The app crashes on launch because two Analytics monitors are created simultaneously When you have enabled the automatic exception and app feature tracking and additionally use the Analytics JavaScript API to create a separate monitor to track exceptions manually.
  2. The app hangs because you are using an older version of Kendo When you are using an outdated version of Kendo UI (2013.x.x and older), the Analytics monitor cannot find a proper view on which to attach.

Solution

  1. Use either the automatic tracking feature or the JavaScript API, but not both at the same time.
    • To disable the automatic tracking, you should modify the plugin variables of the Analytics plugin by setting the AUTO_TRACK_EXCEPTIONS and AUTO_TRACK_KENDO_EVENTS options to False.
  2. Update the Kendo UI framework to a more recent version (2015.x.x or newer).

Notes

Kendo UI Professional Is Not Available in the Package Manager

See Also

1-click Analytics Integration in Hybrid Apps

Start a free trial Request a demo
Contact us: +1-888-365-2779
sales@telerik.com
Copyright © 2016-2017, Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.