---
title: "Report bugs from a mobile app"
description: "How customers report bugs from your iOS, Android, Flutter or React Native app, what each report captures, and how to log crashes and hide views."
url: https://help.gleap.ai/en/articles/16751980-report-bugs-from-a-mobile-app
collection: "Capture bug reports"
updated: 2026-11-23
language: en
---

# Report bugs from a mobile app

How customers report bugs from your iOS, Android, Flutter or React Native app, what each report captures, and how to log crashes and hide views.

Gleap's SDKs for iOS, Android, Flutter, React Native and Capacitor let customers report a bug without leaving your app. Each report comes with a screenshot, device details and logs, so your team and Kai can see what happened. In-app bug reporting is on every plan, Hobby included. App replays need Growth (Team on older plans). The setup code for each platform is in the developer docs for [iOS](https://docs.gleap.ai/documentation/ios/README), [Android](https://docs.gleap.ai/documentation/android/README), [Flutter](https://docs.gleap.ai/documentation/flutter/README), [React Native](https://docs.gleap.ai/documentation/reactnative/README) and [Capacitor](https://docs.gleap.ai/documentation/ioniccapacitor/README).

### How customers start a report

-   **From the messenger**: the Report an issue item on the home screen opens your bug report form or a conversation with Kai. See [Set up bug report and feedback forms](https://help.gleap.ai/en/articles/16751982-set-up-bug-report-and-feedback-forms.md).
    
-   **Shake or screenshot**: the Shake gesture and Screenshot gesture switches in Settings → Widget → Look → Launcher → Other ways to open open the messenger when the device is shaken or the user takes a screenshot. Both are off by default. On Android, the screenshot gesture also needs your app to have permission to read images.
    
-   **The floating button**: set it up in **Settings → Widget → Look → Launcher**. Pick **Hidden** to remove it, or show and hide it from code with `showFeedbackButton`.
    
-   **Your own button**: call `open`, or `startFeedbackFlow` with the form key `bugreporting`.
    

You can also set the gestures in code. A list set in code replaces the dashboard switches.

<table style="min-width: 75px;"><colgroup><col style="min-width: 25px;"><col style="min-width: 25px;"><col style="min-width: 25px;"></colgroup><tbody><tr><th colspan="1" rowspan="1"><p>Platform</p></th><th colspan="1" rowspan="1"><p>Values</p></th><th colspan="1" rowspan="1"><p>Method</p></th></tr><tr><td colspan="1" rowspan="1"><p>iOS</p></td><td colspan="1" rowspan="1"><p><code>SHAKE</code>, <code>SCREENSHOT</code>, <code>NONE</code></p></td><td colspan="1" rowspan="1"><p><code>Gleap.setActivationMethods</code></p></td></tr><tr><td colspan="1" rowspan="1"><p>Android</p></td><td colspan="1" rowspan="1"><p><code>GleapActivationMethod.SHAKE</code>, <code>SCREENSHOT</code>, <code>NONE</code></p></td><td colspan="1" rowspan="1"><p><code>Gleap.getInstance().setActivationMethods</code></p></td></tr><tr><td colspan="1" rowspan="1"><p>Flutter</p></td><td colspan="1" rowspan="1"><p><code>ActivationMethod.SHAKE</code>, <code>ActivationMethod.SCREENSHOT</code></p></td><td colspan="1" rowspan="1"><p><code>Gleap.setActivationMethods</code></p></td></tr><tr><td colspan="1" rowspan="1"><p>React Native</p></td><td colspan="1" rowspan="1"><p><code>'SHAKE'</code>, <code>'SCREENSHOT'</code></p></td><td colspan="1" rowspan="1"><p><code>Gleap.setActivationMethods</code></p></td></tr><tr><td colspan="1" rowspan="1"><p>Capacitor</p></td><td colspan="1" rowspan="1"><p>None</p></td><td colspan="1" rowspan="1"><p>Dashboard switches only</p></td></tr></tbody></table>

### Turn off the shake gesture

1.  Go to Settings → Widget → Look and scroll to Launcher.
    
2.  Expand Other ways to open and switch off Shake gesture.
    

The change saves straight away. Your app picks it up the next time the SDK loads its settings, usually when the app starts. To keep the gestures off whatever the dashboard says, set them to `NONE` in code: `Gleap.setActivationMethods([NONE.rawValue])` on iOS, or `Gleap.getInstance().setActivationMethods(new GleapActivationMethod[]{GleapActivationMethod.NONE})` on Android after initialising. Flutter and React Native have no NONE value, so use the dashboard switch there.

![Shake and screenshot gesture controls under Widget → Look → Launcher → Other ways to open in the Pied Piper demo project.](https://staticfiles.gleap.io/p613b5dd730aed737108f87ab/I2g4P1EuqZsdnftnxi2xkuUwjvpz6d5AvciDmehspXVn1FCNxTagx25xiTTabse0Fg5v9QkMTCN.png)

![Mobile replay and network-log settings in the Pied Piper demo project.](https://staticfiles.gleap.io/p613b5dd730aed737108f87ab/bPqpTMu3hzNd1vjzQ39hDlfB6TwzLs61HglsuDs1LTYfBgiKkbBLUThj01Cr5WN8HOXJL4v7ibG.png)

### What a report captures

-   **A screenshot** of the current screen.
    
-   **Env data**: device model, OS version, screen size, locale, battery and more. Leave keys out with `setEnvDataPropsToIgnore`, or stop it with `setDisableEnvData`.
    
-   **Console logs**: on iOS, what your app prints, NSLog included; on Android, your app's logcat output. Turn them off with `disableConsoleLog`.
    
-   **Custom data, events and attachments** that you add from code.
    
-   **App replays**: a screenshot every few seconds before the report. Switch on **App replays** in Developer options. They're in beta, need Growth (or Team on older plans), and aren't recommended for production apps yet.
    
-   **Network logs**, set up per platform:
    

<table style="min-width: 50px;"><colgroup><col style="min-width: 25px;"><col style="min-width: 25px;"></colgroup><tbody><tr><th colspan="1" rowspan="1"><p>Platform</p></th><th colspan="1" rowspan="1"><p>How requests are logged</p></th></tr><tr><td colspan="1" rowspan="1"><p>iOS</p></td><td colspan="1" rowspan="1"><p>Automatic once <strong>Network logs</strong> is on in Developer options. Covers every NSURLSession request, including Alamofire.</p></td></tr><tr><td colspan="1" rowspan="1"><p>Android</p></td><td colspan="1" rowspan="1"><p>Add <code>GleapOkHttpInterceptor</code> to your OkHttpClient (built into the SDK since 19.0). For HttpURLConnection, log requests with <code>logNetwork</code>.</p></td></tr><tr><td colspan="1" rowspan="1"><p>Flutter</p></td><td colspan="1" rowspan="1"><p>Add the <code>gleap_dio_interceptor</code> or <code>gleap_http_interceptor</code> package. On iOS, the <strong>Network logs</strong> switch also records native requests.</p></td></tr><tr><td colspan="1" rowspan="1"><p>React Native</p></td><td colspan="1" rowspan="1"><p>Automatic once <strong>Network logs</strong> is on, or after <code>startNetworkLogging()</code>. On Android this covers fetch and XMLHttpRequest, so axios too.</p></td></tr><tr><td colspan="1" rowspan="1"><p>Capacitor</p></td><td colspan="1" rowspan="1"><p>fetch and XMLHttpRequest in the web view, once <strong>Network logs</strong> is on.</p></td></tr></tbody></table>

Every platform masks Authorization and cookie headers, and applies the **Ignored keys** and **Excluded domains** you set under Network logs. See the [network logs guide for Android](https://docs.gleap.ai/documentation/android/network-logs) or [for Flutter](https://docs.gleap.ai/documentation/flutter/network-logs) for the setup code.

### Log crashes

Gleap doesn't catch crashes by itself on any platform. Call `sendSilentCrashReport` from your own error handler or crash reporter. It sends a report in the background with a screenshot and the usual logs, without showing anything to the user. The severity, LOW, MEDIUM or HIGH, becomes the ticket's priority. You can also pass the data to leave out.

```swift
Gleap.sendSilentCrashReport(with: "Checkout failed", andSeverity: HIGH, andDataExclusion: nil) { success in }
```

```java
Gleap.getInstance().sendSilentCrashReport("Checkout failed", Gleap.SEVERITY.HIGH);
```

```dart
Gleap.sendSilentCrashReport(description: 'Checkout failed', severity: Severity.HIGH);
```

```javascript
Gleap.sendSilentCrashReport('Checkout failed', 'HIGH');
```

### Hide private views

When a workflow, Kai or your team asks a customer to show the issue, the customer sends a screenshot or recording of your app. On iOS and Android (SDK 19.1 and later), `maskView` blacks out a view in those captures, and `unmaskView` shows it again. Password, one-time code and card number fields are masked automatically. Flutter, React Native and Capacitor have no `maskView`. There, `setCaptureEnabled(false)` turns these captures off and the customer can upload a file instead.

> **Warning:** maskView doesn't cover the screenshot attached to a bug report, or app replays. If a screen shows data that must never leave the device, exclude Screenshot and Replays in the form's Exclude data and keep app replays off.

### React Native and Expo

The React Native SDK needs React Native 0.75 or later (Expo SDK 52 or later) and iOS 15. It doesn't run in Expo Go, because it has native code. Use a development build instead: `expo prebuild`, `expo run:ios` or `expo run:android`, or EAS Build. No config plugin is needed. The [Expo guide](https://docs.gleap.ai/documentation/reactnative/react-native-expo-guide) has the steps.

### What's web only

A few features exist only in the JavaScript SDK for websites:

-   Product tours
    
-   The AI chatbar
    
-   Starting an agent from code with `startAgent`
    
-   `setEnvironment`, which keeps staging reports apart from production
    
-   `setUrlHandler`. iOS and Android have their own link handlers instead.
    

Surveys, news, checklists, banners, the help center and conversations all work in apps too.

### Related

-   [Install the Gleap SDK](https://help.gleap.ai/en/articles/228-install-the-gleap-sdk.md)
    
-   [Set up bug report and feedback forms](https://help.gleap.ai/en/articles/16751982-set-up-bug-report-and-feedback-forms.md)
    
-   [Control what the SDK captures](https://help.gleap.ai/en/articles/365-control-what-the-sdk-captures.md)
