Page is loading, just a sec...
  • Import debugg.it as .aar file
    • Download debugg.it file from here
    • Put your file in libs directory (<your project path>/app/libs). If you don't have this directory, create it
    • Add these lines to your app/build.gradle file:
      repositories {
        ...
        flatDir {
          dirs 'libs'
        }
      }
      
      ...
      
      dependencies {
        ...
        compile(name:'debuggit', ext:'aar')
      }
    • Sync your gradle files
  • Create class which extends Application class
    • Add application name into your AndroidManifest.xml file
      <manifest … >
      
        <uses-permission … />
        <uses-permission … />
      
        <application
          android:name=".MyApplication"
          … >
            <activity … />
            <activity … />
         </application>
      </manifest>
    • Add these permissions to AndroidManifest.xml file
      <uses-permission android:name="android.permission.INTERNET" />
    • Add one of this methods to your Application onCreate() method
      • DebuggIt.getInstance().initBitbucket("repoName", "ownerName");
      • DebuggIt.getInstance().initGitHub("repoName", "ownerName");
      • DebuggIt.getInstance().initJira("host", "projectKey");
      • If your host don't use SSL use this method:
        DebuggIt.getInstance().initJira("host", "projectKey", false);
  • Add these methods in your Activity classes
      • Add this method to onStart() method of your activities
        DebuggIt.getInstance().attach(this);
      • Add this method to onActivityResult() method of your activities
        DebuggIt.getInstance().getScreenshotPermission(requestCode, resultCode, data);

    Additional options: Record notes

    • debugg.it allows to record audio notes and add it to bug description.
      To enable this feature simply add this line in your Application class
    • DebuggIt.getInstance().setRecordingEnabled(true);
    • Ensure you have added RECORD_AUDIO permission in AndroidManifest.xml file:
      <uses-permission android:name="android.permission.RECORD_AUDIO" />
    • debugg.it is available through CocoaPods. To install it, add the following to your Podfile:
      use_frameworks!
      platform :ios, '9.0'
      pod 'DebuggIt'
    • Import the Pod in AppDelegate
    • import DebuggIt
    • Add one of these lines (at start of method) to initialize debugg.it
      • func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
            DebuggIt.sharedInstance.initBitbucket(repoSlug: "repo-name", accountName: "repo-owner-username")
            return true
        }
      • func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
            DebuggIt.sharedInstance.initGithub(repoSlug: "repo-name", accountName: "repo-owner-username")
            return true
        }
      • func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
            DebuggIt.sharedInstance.initJira(host: "jira-host-url", projectKey: "project-key")
            return true
        }
      • Note: If you are using JIRA and your host do not use SSL, use additional parameter in initialize method:
      • DebuggIt.sharedInstance.initJira(host: "jira-host-url", projectKey: "project-key", usesHttps: false)

    Additional options: Record notes

    • debugg.it allows to record audio notes and add it to bug description. To enable this feature simply add this line in your AppDelegate file
    • DebuggIt.sharedInstance.recordingEnabled = true
    • Ensure you have added Microphone Usage Description in your Info.plist file. For example:
      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
      <plist version="1.0">
      <dict>
      	<key>NSMicrophoneUsageDescription</key>
      	<string>debugg.it record notes</string>
      	<!-- 
      		Rest of Info.plist file... 
      	-->
      </dict>
      </plist>
    • debugg.it is available through CocoaPods. To install it, add the following to your Podfile:
      use_frameworks!
      platform :ios, '9.0'
      pod 'DebuggIt'
    • Import the Pod in AppDelegate
    • @import DebuggIt;
    • Add one of these lines (at start of method) to initialize debugg.it
      • - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
            [[DebuggIt sharedInstance] initBitbucketWithRepoSlug: @"repo-name" accountName:@"repo-owner-username"];
            return YES;
        }
      • - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
            [[DebuggIt sharedInstance] initGithubWithRepoSlug: @"repo-name" accountName:@"repo-owner-username"];
            return YES;
        }
      • - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
            [[DebuggIt sharedInstance] initJiraWithHost:@"jira-host-url" projectKey:@"project-key" usesHttps:YES];
            return YES;
        }
      • Note: If you are using JIRA and your host do not use SSL, use additional parameter in initialize method:
      • [[DebuggIt sharedInstance] initJiraWithHost:@"jira-host-url" projectKey:@"project-key" usesHttps:NO];

    Additional options: Record notes

    • debugg.it allows to record audio notes and add it to bug description. To enable this feature simply add this line in your AppDelegate file
    • [DebuggIt sharedInstance].recordingEnabled = YES;
    • Ensure you have added Microphone Usage Description in your Info.plist file. For example:
      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
      <plist version="1.0">
      <dict>
      	<key>NSMicrophoneUsageDescription</key>
      	<string>debugg.it record notes</string>
      	<!-- 
      		Rest of Info.plist file... 
      	-->
      </dict>
      </plist>

    “Loving debugg.it, it’s a very flexible great project! Easy-to-use testing environment makes everyone a QA expert. Now in VYDA we report bugs with screenshots and annotations in just few taps. Highly recommend.”

    photo

    Agnes Barath

    QA Specialist at VYDA