Mobile App crash reporting- Fabric Tool.

Brief:

We are doing mobile application development for windows, Android, iOS. We found some time that application is not working properly on certain devices, It is crashing. Getting the crash data from the different mobile users and resolving it, was the problem.

We needed lightweight functionality which will get this data on the server and also send alerts. For the application crash monitoring, we use crashlytics to resolve our problem.

How It Works:

For this we have used a Fabric tool which provides many powerful tools in one easy platform mentioned below.  Fabric is a mobile platform with modular kits you can mix and match to build the best apps. Fabric is tightly integrated into your dev environment, making adding new services a breeze.

To get up and running with Fabric, sign up for a free account and follow the on-screen instructions to quickly get set up! Once your account is configured, install the fabric kit to your local environment. Kits can be installed using the Fabric OS X app or using CocoaPods.

Here are some tools provided by Fabric.

Answers - Real-time analytics and event tracking (iOS, OS X, tvOS)

Beta - App distribution for beta testing (iOS)

Crashlytics - Best-in-class crash reporting (iOSOS XtvOS)

Digits - Phone number sign-in (iOStvOS)

MoPub - In-app monetization (iOS)

Twitter Kit - Twitter login and content (iOS)

For detecting crash report we need to use crashlytics.

Steps to integrate crashlytics.

1. Install fabric application on your mac.

2. Register or login on fabric.

3. Follow the steps which are mention in fabric app.

When the complete configuration is done the following code gets added in your AppDelegate Class.


(BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions

{
    [[Crashlytics sharedInstance] setDebugMode:YES];
    [Fabric with:@[[Crashlytics class]]];
return YES;
}


Once crashlytics integration done in your app you have to just use your app. When app will crash crashlytics detect the crash details and mail to you.


Following are the advantages which makes us choose crashlytics:

  • Logging non-volatile errors.
  • Real-time insights on reports such as system diagnostics.
  • Crash grouping.
  • Error monitoring with actionable diagnostic information.
  • User management for sharing access.
  • Email alert.

Boston Byte Grabs a Spot in Clutch’s List of Top Software Developers in Massachusetts

Boston Byte is a collective of highly-skilled and highly-professional developers dedicated to solving your technological ...