CrashOps monitors your app's stability and vulnerability.


Keywords
crashes, ios-sdk, monitor
License
MIT
Install
pod try CrashOps

Documentation

CrashOps iOS SDK

License: MIT

CrashOps lets you monitor your app's stability and vulnerability by giving you error and crash reports, supported by CrashOps servers.

Installation

🔌 & ▶️

Install via CocoaPods

You want to add pod 'CrashOps' similar to the following to your Podfile:

target 'MyApp' do
  pod 'CrashOps', '0.3.15'
end

Then run a pod install in your terminal, or from CocoaPods app.

Usage

Set Application Key

To recognize your app in CrashOps servers you need an application key, you can set it via code (programmatically) either via config file.

Set an application key via code

import CrashOps

// Swift
CrashOps.shared().appKey = "app's-key-received-from-CrashOps-support"
#import <CrashOps/CrashOps.h>

// Objective-C
[CrashOps shared].appKey = @"app's-key-received-from-CrashOps-support";

Set an application key via config file

Use the CrashOpsConfig-info.plist file and place it in your project.

How do I turn CrashOps off / on?

By default, CrashOps is enabled and it runs automatically as your app runs (plug n' play) but you always can control and enable / disable its behavior with two approaches: dynamically or statically.

Dynamically: Programmatically change the value (using code) of the variable isEnabled as demonstrated here:

import CrashOps

// Swift
CrashOps.shared().isEnabled = false // The default value is 'true'
#import <CrashOps/CrashOps.h>

// Objective-C
[CrashOps shared].isEnabled = NO; // The default value is 'YES'

Statically: Add a CrashOpsConfig-info.plist file to your project and CrashOps will read it in every app launch (using this method can still be overridden by the dynamic approach).

Acknowledgments

CrashOps iOS library produces advanced error crash reports by using KZCrash which originally forked from the awesome KSCrash library.

Enjoy!