Skip to content

michalcickan/Instabug-iOS

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CocoaPods Compatible Twitter

Bug Reporting and In-App Chat for Mobile Apps

For more info, visit Instabug.com.

Installation

CocoaPods

To integrate Instabug into your Xcode project using CocoaPods, add it to your Podfile:

pod 'Instabug'

Then, run the following command:

$ pod install

Manually

  1. Download the Instabug SDK

  2. Extract it then drag & drop the Instabug.framework and Instabug.bundle files to your project, and make sure that the "Copy items if needed" checkbox is checked.

  3. Make sure your project links to the following system frameworks. You can add these under your project's Build Phases tab, under Link Binary With Libraries.

    • AVFoundation.framework
    • CoreGraphics.framework
    • CoreMotion.framework
    • CoreTelephony.framework
    • SystemConfiguration.framework
    • UIKit.framework

Usage

  1. Import Instabug framework header

    // Swift: In your bridging header
    #import <Instabug/Instabug.h>
    // Objective-C: In your app delegate
    #import <Instabug/Instabug.h>
  2. Add the following to your app delegate's application:didFinishLaunchingWithOptions: method.

    // Swift
    Instabug.startWithToken("{{app_token}}", invocationEvent: IBGInvocationEvent.Shake)
    // Objective-C
    [Instabug startWithToken:@"{{app_token}}" invocationEvent:IBGInvocationEventShake];

    Make sure to replace {{app_token}} with your application token. Find it here.

More

You can also check out our API Reference for more detailed information about our SDK.

About

Bug reporting tool for iOS apps

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 76.4%
  • Shell 16.6%
  • Ruby 7.0%