We use cookies to ensure you get the best user experience on our website.Find Out More
Stuck on setup? Ask in our Slack community →
Add this line to your build.gradle file:
You may also need to add the following to your project/build.gradle file:
Then, update the following sdkVersion to your app's `build.gradle` file:
1. In your Launching activity add this line to your onCreate method. This initializes Shake Bug with the default invocation event, Shake.
Java
Kotlin
1. If you want add event to any screen or activity use following methods.
Java
Kotlin
2. Add the following for enabling/disabling first time tutorial screen.
Java
Kotlin
To integrate ShakeBug into your Xcode project using Swift Package Manager, add the repository URL below in Xcode under File > Add Package Dependencies...
Choose version 1.0.48 or later and add the package to your app target.
Note: Latest version of Shakebug iOS SDK is 1.0.48. Open Detail
1. Import the ShakeBug framework header into your app delegate.
Swift
Objective-C
Note: If you are working React Native exported project then you also need to mention this line too
2. Add the following to your app delegate's application:didFinishLaunchingWithOptions: method.
Swift
Objective-C
3. Add the following to your Info.plist to request permission to access the Photo Library.
Be sure to replace with your application key which given by ShakeBug website.
Note: NSPhotoLibraryUsageDescription must be added in info.plist.
Want to know moreShakebug provides an official React Native package (shakebug-react-native) supporting iOS and Android.
Note: The latest version of the Shakebug React Native SDK is 2.4.17. View on npm
Navigate to your React Native project directory and install shakebug-react-native:
Or if you prefer to use Yarn:
For iOS, install CocoaPods dependencies in your ios directory:
Import and wrap your application root with ShakebugView in App.js (or App.tsx):
Crash reporting is enabled by default. Shake the device to report a bug with screenshots, console logs, and device diagnostics.
Want to know more? Open the full React Native guideAdd Shakebug to your Flutter project from pub.dev — run this in your project root:
Or add it manually to your pubspec.yaml (see pub.dev for the latest version):
1. Import the Shakebug package:
2. Wrap your app with ShakebugSDK and pass your Android and iOS app keys from your Shakebug dashboard:
3. Build and run, then shake the device to report a bug. Shake-to-report is enabled by default.
Want to know more? Open the full Flutter guideThe official @softnoesis/shakebug-js NPM package delivers in-browser visual bug reporting, console logs, and session replays for React, Next.js, and modern bundled JavaScript applications.
Add the package to your React or Next.js project:
Or if you prefer Yarn:
Import the Shakebug stylesheet once in your root layout or main entry file (e.g. App.tsx or main.tsx):
Mount the Shakebug component near the root of your app using your App Key and Website URL from the Shakebug dashboard:
Set showFloatingButton={false} if you prefer to trigger the reporter exclusively via the global keyboard shortcut.
Anyone on your site can trigger the bug reporter instantly with a global keyboard shortcut:
The standalone Web SDK is a lightweight, zero-dependency browser bundle targeting Shakebug API v1.6. Works on any website — HTML, PHP, Laravel, Shopify, Webflow, Squarespace — or injected via Google Tag Manager (GTM). No bundler or build steps required.
Add this snippet right before the closing </body> tag of your website, or paste it as a Custom HTML Tag in Google Tag Manager (GTM):
Zero CSS Conflicts: All reporter styles, dialogs, and drawing canvas tools are isolated inside an open Shadow DOM. Host page stylesheets will never interfere with Shakebug.
Shakebug.init)Trigger the bug reporter from anywhere on your site with the global shortcut:
You can seamlessly integrate Shakebug into your web workflow without modifying your website's codebase using our official Google Chrome Extension:
First, ensure the URL of your website is added to your Shakebug account. Log in to your Shakebug account and navigate to the project settings to register your website URL.
Install the Shakebug Chrome Extension directly from the Chrome Web Store.
After installation, click the Shakebug Extension icon in your browser toolbar to capture full-page or visible screenshots, annotate issues with arrows, text, and blur tools, and send reports directly to your dashboard.
Want to know more? Open the Chrome Extension guideAdd Shakebug to any WordPress site with our official plugin — no code required. It captures bug reports with annotated screenshots, screen recordings, console logs, crashes, and user sessions straight from your site.
In WordPress admin, open Plugins → Add New, search for “Shakebug”, then click Install Now and Activate. You can also download the zip from wordpress.org/plugins/shakebug and upload it via Plugins → Add New → Upload Plugin.
Open Shakebug in your WordPress admin sidebar and paste your API key from your Shakebug dashboard. Don’t have an account yet? Create one free. Reports then flow into your Shakebug project automatically.
View the plugin on WordPress.orgStill stuck? Ask in our Slack community →