# Introduction Nabrila turns a bug found in a Flutter app into a link with all the technical context. The person testing the app taps a floating button, marks up the screenshot, writes a note and sends. Whoever receives the link sees the screenshot, the last taps, the network requests, the console and the environment, and can open the report in their coding agent with one click. ## How it works 1. **You install the SDK** in your Flutter app and enable it only in your test builds. 2. **Someone finds a bug.** They tap the Nabrila button, draw on the screenshot, cover anything private and write what happened. 3. **The phone encrypts the report** before uploading it and returns a link. 4. **You share the link** wherever your team already works: an issue, a chat or your coding agent. ## What a report contains - The screenshot, with the sender's drawings and note. - The last taps, numbered on the screenshot and with what was tapped. - Route changes. - HTTP requests: method, URL, status, duration and size. - The output of `print` and `debugPrint`, plus Flutter and platform errors. - The environment: app and version, system, screen size, text scale and language. The exact details are in [What data it sends](https://nabrila.com/en/docs/data-collected). ## Where to go next - [Quickstart](https://nabrila.com/en/docs/quickstart): from zero to your first report. - [Encryption and keys](https://nabrila.com/en/docs/security): who can read a report and for how long. - [Open in your agent](https://nabrila.com/en/docs/coding-agents): send a report to Claude Code, Cursor, Codex or Zed. If something isn't here, write to us at support@nabrila.com. --- # Quickstart ## 1. Create your account and workspace Go to [nabrila.com/login](https://nabrila.com/en/login) with Google or GitHub. Nabrila only receives your name, email and photo; it doesn't ask for access to your repositories. The first time, you create your workspace: a name (your company or team) and an address with lowercase letters, numbers and hyphens. This is where you register your apps and where reports arrive. ## 2. Register your app and copy the appKey In the dashboard, open **Apps**, type your app's name and tap **Register app**. Nabrila shows you the `appKey` (it starts with `nbr_`) and the `main.dart` snippet ready to copy. The full `appKey` is shown **only once**. If you lose it, generate another from the same screen. It goes inside your app, so it isn't a secret: it makes reports reach your workspace. More details in [Workspaces and apps](https://nabrila.com/en/docs/workspaces). ## 3. Install the SDK The official Nabrila package on pub.dev is `nabrila`, from the verified publisher [nabrila.com](https://pub.dev/publishers/nabrila.com/packages), and it has no published version yet. Do not install a `nabrila` package that comes from another publisher. Wrap your app in `lib/main.dart`: ```dart import 'package:flutter/material.dart'; import 'package:nabrila/nabrila.dart'; void main() { Nabrila.run( appKey: 'nbr_...', enabled: const bool.fromEnvironment('NABRILA_ENABLED'), app: () => runApp(const NabrilaScope(child: MyApp())), ); } ``` ## 4. Build a test build Enable Nabrila only in the builds that go to your testers: ```sh flutter build apk --dart-define=NABRILA_ENABLED=true ``` Without that `--dart-define`, `enabled` stays `false`: no button, nothing is recorded and `runApp` runs as usual. More options in [Flutter SDK](https://nabrila.com/en/docs/flutter-sdk). To have every report say which commit the build came from, add `--dart-define=NABRILA_COMMIT=$(git rev-parse HEAD)` ([how](https://nabrila.com/en/docs/flutter-sdk#build-commit)). ## 5. Send your first report Open the test build, tap Nabrila's floating button, mark something on the screenshot and tap **Send**. The report appears under **Reports** in your dashboard, and the sender gets the link to share it. --- # Flutter SDK The SDK is the `nabrila` package, MIT licensed. It works on Android, iOS and desktop with Flutter 3.47 or newer (Dart 3.13). It works the same whether the app uses `material_ui` or the Material bundled with Flutter. It does not work on Flutter Web, because it uses `dart:io`. ## Install The official Nabrila package on pub.dev is `nabrila`, from the verified publisher [nabrila.com](https://pub.dev/publishers/nabrila.com/packages), and it has no published version yet. Do not install a `nabrila` package that comes from another publisher. ## Start Nabrila `Nabrila.run` replaces your call to `runApp`. The floating button only appears while `NabrilaScope` wraps your app. ```dart void main() { Nabrila.run( appKey: 'nbr_...', enabled: const bool.fromEnvironment('NABRILA_ENABLED'), app: () => runApp(const NabrilaScope(child: MyApp())), ); } ``` | Parameter | What it does | |---|---| | `appKey` | Your app's key, which you copy from the dashboard. It decides which workspace the reports go to. | | `enabled` | If `false`, the SDK does nothing: no button, nothing is recorded and nothing is uploaded. | | `app` | The function that starts your app; normally `runApp(...)`. | | `shake` | Optional, `true` by default. Opens the report when the phone is shaken. It needs no permission and only listens while the app is in the foreground. With `shake: false` only the floating button remains. | | `endpoint` | Optional. Changes the server, which defaults to `https://nabrila.com`. It must be `https://`; only *debug* builds accept `http://` to `localhost`, `127.0.0.1`, `::1` or `10.0.2.2` (the Android emulator). With any other address the SDK stays off and says so in the console. | | `keepKeyOnDevice` | Optional, `false` by default. With `true` the report key never leaves the phone, even when your plan keeps keys on the server. Your team can then open those reports only from their link, not from the dashboard. | ## Enable it only in test builds TestFlight and internal APKs are *release* builds, so the SDK ships in *release* and `enabled` decides whether it does anything. Pass it when you build for testers: ```sh flutter build apk --dart-define=NABRILA_ENABLED=true flutter build ipa --dart-define=NABRILA_ENABLED=true ``` In the build you publish to the stores, don't pass the `--dart-define`. ## Know which commit each build came from Add the commit when you build and every report says which code the build came from: ```sh flutter build apk --dart-define=NABRILA_ENABLED=true --dart-define=NABRILA_COMMIT=$(git rev-parse HEAD) ``` The commit travels encrypted inside the report, like everything else. You see it under **Environment**, in the text for your agent and in the issue, and the [MCP server](https://nabrila.com/en/docs/coding-agents) shows your agent what changed in the code since that build. If you leave it out, the report simply doesn't carry it. ## Record route changes Add the Nabrila observer to your `MaterialApp` (or `CupertinoApp`): ```dart MaterialApp( navigatorObservers: [Nabrila.navigatorObserver], // ... ) ``` With `go_router`, pass it in `observers`. It hands it to the navigators of its shell routes too, so bottom tabs are recorded as well. Routes are named by their path pattern. ```dart GoRouter(observers: [Nabrila.navigatorObserver], routes: [...]) ``` ## Add data from your app `Nabrila.setContext` adds your own data to every report (environment, test account, feature flags). Values are sent as text, up to 200 characters, with at most 30 pairs. A key that sounds secret (`token`, `password`, `session`…) is sent as `[REDACTED]`. ```dart Nabrila.setContext('env', 'staging'); Nabrila.setContext('plan', user.plan); Nabrila.setContext('plan', null); // removes it ``` ## Switching users in your app When the person using your app changes (sign-out or account switch), call `Nabrila.clearSession()` before the next screen shows. It deletes the taps, screens, console, requests, active route and replay recorded so far, so the next report carries nothing from the previous person. Pairs from `setContext` stay; if they are about that person, remove them with `Nabrila.clearContext()`. ```dart await auth.signOut(); Nabrila.clearSession(); Nabrila.clearContext(); // only if your context data was about that person ``` ## Report kind and pointed element A report is for anything a person notices: something fails, looks wrong, shows wrong data, or an idea. The tester picks the kind (optional) and can tap the screenshot to point at an element. The SDK finds it in the live app and sends its widget type and its visible text (never inside a `NabrilaMask`, and never the value of a text field). In *debug* builds it also sends the file, line and column where it was written, relative to your package (`lib/checkout/pay_button.dart:42`). *Release* builds do not track where widgets are created, so they send the widget and text only. Before sending, the **What gets sent** sheet lists everything the report carries. ## Saved reports If a report could not go out, it is saved on the phone and retried when the app opens or comes back. `Nabrila.discardSavedReports()` deletes every report still waiting, for apps that let testers opt out. A build with `enabled: false` does it on its own. ## Dependencies `cryptography`, `dio`, `http`, `package_info_plus` and `share_plus`. `dio` is only imported by `package:nabrila/dio.dart`, but pub still resolves it for every app, because Dart has no optional dependencies. ## Next steps - [Network requests](https://nabrila.com/en/docs/network): record `http` or Dio calls. - [Hide private data](https://nabrila.com/en/docs/masking): cover areas of the screen with `NabrilaMask`. - [Replay](https://nabrila.com/en/docs/replay): the moments before the report, as video or captures. - [Report delivery](https://nabrila.com/en/docs/delivery): retries, no duplicates and the status the tester sees. - [Known limits](https://nabrila.com/en/docs/limits): what the SDK doesn't capture yet. The reference for each class in the package will be on pub.dev, which generates it when the package is published. --- # Network requests The SDK doesn't intercept the network on its own. You choose which client to record, so there are no surprises or global changes in your app. ## package:http `package:http` has no interceptors, so you wrap the client: ```dart import 'package:http/http.dart' as http; import 'package:nabrila/nabrila.dart'; final client = NabrilaHttpClient(http.Client()); ``` Use that `client` wherever you used `http.Client()` before. ## Dio The Dio integration lives in its own library, so an app without Dio never imports it: ```dart import 'package:nabrila/dio.dart'; dio.interceptors.add(NabrilaDioInterceptor()); ``` ## What is kept By default, each request keeps only the method, the URL (with sensitive *query* values covered), the status, the duration and the size. ## Headers and bodies With `captureBodies: true`, in either integration, headers and a preview of the bodies are also kept. Before leaving memory, the values of `authorization`, `cookie`, `token`, `password`, `secret` and `api_key` are replaced with `[REDACTED]`. The preview covers only text bodies (JSON, forms, XML and plain text), up to 64 KB. Files, images and any binary body are never read: they go out untouched. Responses still reach your app as they arrive, without waiting for the download to finish. Use it only if you need it: a body can contain personal data that the filter doesn't recognize. In the viewer, each request has **Copy cURL** to replay it from your terminal (bash, zsh or fish). More in [Reading a report](https://nabrila.com/en/docs/viewer). --- # Hide private data ## NabrilaMask Wrap any widget that shows private data: ```dart NabrilaMask(child: CardNumberView()) ``` In the screenshot and the video, each line of text in that area is wiped with the background behind it and drawn as a row of dots in the text's color and each image by a plain placeholder; the card's background, border, shadow, dividers and icons stay visible. Anything not known to be safe (`CustomPaint`, `Texture`, native views) is covered whole. Taps inside it never carry the label of what was tapped. For hand-drawn content, `NabrilaMask.solid(child: ...)` covers the whole area with a single neutral gray block. ## Text fields Since version 0.3.0, the value of every text field on screen is covered by a row of dots per line, on the field's own background, in the screenshot and the video; the label, border and hint stay visible. An empty field draws nothing, and a password field always gets dots of the same width, whatever its length. The dots take the text's color, a little softer, and only show how long the line is, never its letters or the length of its words; nothing is blurred. When the SDK cannot tell what background is behind (an image, a gradient), the line is covered by an opaque bar. A tap on a field names it by the words the app's developer wrote: its label (`labelText`) or, without one, its hint (`hintText`, or a Cupertino field's `placeholder`). Without them it says `TextField`. It never carries what was typed. ## What the tester covers Before sending, the tester can also draw opaque rectangles over the screenshot to cover anything they want. ## What isn't covered automatically Masking is partial. It helps to know what it doesn't detect: - **Text inside images or `CustomPaint`.** Nothing detects it; wrap those widgets in `NabrilaMask`. - **The app's plain text.** Titles, buttons and ordinary text stay visible, because whoever reads the report needs to see the screen. A sensitive value in a plain `Text` (a balance, a name) is visible unless you wrap it in `NabrilaMask`. If you'd rather the video cover all text, use `NabrilaReplay(maskAllText: true)` ([Replay](https://nabrila.com/en/docs/replay)); the screenshot doesn't change, and the tester reviews it before sending. - **Tap labels.** A tap can carry the button's text or the label that was tapped. If that text is sensitive, wrap the widget in `NabrilaMask`. The value of a text field is **never** read. --- # Replay ## How it works While the SDK is enabled, it keeps the last moments of the app as small masked pictures, in memory: at most one per second and only when something changed on screen, so an idle app costs nothing. They are copies of what Flutter painted, so the phone asks for no permission and nothing outside the app is seen. Text fields and `NabrilaMask` zones are covered in every picture. When someone opens the report, the pictures become one H.264 video while they write the note. If the phone has no usable encoder, the pictures travel as they are. Nothing leaves the phone until someone taps **Send**. In the viewer, the replay plays in sync with the timeline. More in [Reading a report](https://nabrila.com/en/docs/viewer). ## Tune it ```dart Nabrila.run( appKey: 'nbr_...', enabled: true, replay: const NabrilaReplay( maxFrames: 120, // pictures kept; idle moments add none maxMemoryBytes: 4000000, // memory they may use imageQuality: 45, // JPEG quality in memory, 10 to 100 videoQuality: 0.5, // where the encoder takes a constant quality maskAllText: false, // cover every text, not only text fields maskAllImages: false, // cover every image ), app: () => runApp(const NabrilaScope(child: MyApp())), ); ``` ## Turn it off `replay: NabrilaReplay.off` turns it off. Reports then carry the screenshot only. ## What it costs Measured on a 40-second shopping flow in *debug* builds: no extra slow frames on the iOS simulator, about 0.6 ms on the UI thread per picture, and a video of 190 KB (iOS simulator) or 182 KB (Android 16 emulator) for 31 to 33 pictures. ## Android and desktop - **Replay needs Android 8 (API 26) or newer.** On Android 7 reports carry the screenshot only, because the system's software video encoder crashes there. - **Every video is checked on Android.** Before sending, it is decoded back and compared with its pictures. If an encoder wrote a black or empty video (seen with software encoders on Android 9 and 11), the report carries the pictures instead. - **Desktop** keeps the replay as PNG pictures, with no video. ## Remote switch If a phone model's video encoder turns out to crash, Nabrila can turn the replay off for that model without a new build of your app. The SDK asks once a day and keeps the answer, so the switch applies from the next start, even offline. --- # Report delivery A report is never lost to a dropped connection, a timeout or the app being closed mid-send. ## Saved before it is sent The report is written to the app's private storage **before** the first attempt: Application Support on iOS, excluded from iCloud backups, and `noBackupFilesDir` on Android. It is deleted once the server confirms it or refuses it for good. The key waits next to its report, inside that private storage, until it is sent. ## Retries If a report could not go out, the tester sees that it was saved. It is sent again on its own when the app starts, when it comes back to the foreground, and after 30 seconds, 1, 2 and 4 minutes and so on, up to an hour, with some jitter. When it goes out, a banner shows the link to copy or share; the link stays until the tester has seen it, even across restarts. Upload time grows with the size (30 seconds plus 1 second per 16 KB), so a 2 MB report still makes it over a weak 2G link. ## No duplicates Every retry sends the very same encrypted bytes, and the server answers a repeat with the report it already made: no duplicates, and the monthly quota counts it once. A double tap on **Send** makes one report. On iOS the app asks for time to finish the upload if the tester leaves it right after sending. ## How long it waits At most 10 reports wait, for up to 7 days. They go out when the app opens or comes back to the foreground; there is no background upload while the app stays closed ([Known limits](https://nabrila.com/en/docs/limits#saved-reports)). ## When a report is dropped Only a refusal from the Nabrila API itself drops a report: an invalid key, a suspended account, the monthly quota or an invalid report. A public Wi-Fi login page, a proxy or a firewall answering instead is retried, and the server's `Retry-After` is respected. A report keeps the key and server it was made for, so a new build with another `appKey` never sends it to the wrong app. ## Status for the tester Each upload carries a hash derived from the report key. Whoever holds the link can mark the report as fixed, needing more details or won't fix, with a short note encrypted with the report key ([Reading a report](https://nabrila.com/en/docs/viewer#status)). The tester's app asks for the status of the reports it sent, when it opens or comes back and at most every 15 minutes, and shows it: "Your report was fixed. Try it again." Nabrila never sees the key or the note in clear. If the team wrote the version with the fix, the app says which version has it and, once the tester installs that version or a newer one, asks "Does it work now?". After an update the app asks right away, without waiting the 15 minutes. The answer goes out with a secret only that phone has (it is not in the link, so nobody else can answer for the tester), names the "fixed" it was asked about and marks the report as confirmed or still failing. If the tester closes the question without answering, it is not asked again. To ask, the phone keeps the sent ids and their keys for up to 31 days, at most 50 reports. `Nabrila.discardSavedReports()` deletes everything saved, and a build with `enabled: false` does it on its own. --- # What data it sends ## What it records The SDK keeps only the **last 150 events**, in memory and never on disk: route changes, taps (relative position and a short label of what was tapped), the output of `print` and `debugPrint`, Flutter and platform errors, and the HTTP requests from the [network integrations](https://nabrila.com/en/docs/network). A report also carries your app's name and version, the system, the screen size, the text scale and the language, and the build's commit if you pass it with `NABRILA_COMMIT`. It does not include the device model. In addition, each report can carry: - **Kind:** the one the tester picked (something fails, looks wrong, wrong data or idea), if they picked one. - **Pointed element:** the widget type and its visible text (never inside a `NabrilaMask`, and never the value of a text field). In *debug* builds also the file, line and column where it was written. - **App data:** the pairs you add with `Nabrila.setContext` (up to 30, 200 characters each; keys that sound secret are sent as `[REDACTED]`). - **Status header:** a hash (`X-Nabrila-Status`) derived from the key. The server stores only the hash, not the key. Before sending, the **What gets sent** sheet lists all of this. With `enabled: false` the SDK collects nothing. When it is active, a report is sent **only when someone taps Send**. ## For Google Play and the App Store For Google Play's *Data safety* form and the App Store's *App Privacy* form: - **Photos and screenshots:** the screenshot of the current screen, with the tester's drawings and note, and the [replay](https://nabrila.com/en/docs/replay) of the moments before it. Areas wrapped in `NabrilaMask` are covered, and text fields too in the replay. - **App interactions:** route changes and taps (relative position and a short label of what was tapped). - **Diagnostics:** the output of `print` and `debugPrint`, Flutter and platform errors, app name and version, system, screen size, text scale and language. - **Network activity:** method, URL, status, duration and size of the requests from the integrations; headers and bodies only with `captureBodies: true`, with secrets replaced by `[REDACTED]`. ## What it does not collect Device identifiers, advertising identifiers, the device model, location, contacts, or anything typed into text fields. ## What the phone keeps To be able to ask for a report's status, the phone keeps the ids of the reports it sent and their keys for up to 31 days, along with a random secret per report that never leaves the phone (Nabrila keeps only its SHA-256 fingerprint and uses it to check that the "Does it work now?" answer comes from that phone), at most 50. The note your team answers with, and the version that fixes the report, travel end-to-end encrypted: Nabrila cannot read them, and the app opens them on the phone. If the tester answers whether it works now, Nabrila keeps only that answer as the report's status. A build with `enabled: false` deletes everything saved, and `Nabrila.discardSavedReports()` does it on request. ## Who is responsible Reports travel over HTTPS and, on the Free plan, are encrypted on the phone first. Your app is the controller of this data and Nabrila is the processor, under the [data processing agreement](https://nabrila.com/en/dpa). Tell your testers what is sent and, where the law requires it, ask for their consent. --- # Known limits ## Native views Native views appear blank or don't appear in the screenshot: Google Maps, WebView, video, ads, the camera, the system keyboard, the status bar and permission dialogs. Native views (`AndroidView`, `UiKitView`, `PlatformViewLink`, `HtmlElementView`) are marked with a veil and a dashed edge in the screenshot and in the replay, labeled "Native view · may differ", so a blank area is not mistaken for a bug. The capture screen also warns the tester. ## Console Only `print` and `debugPrint` are captured. `dart:developer.log` is not captured. ## Tap labels They are best effort: they come from semantics labels, the widget's text or the widget type. In *release* builds, type names may appear minified. ## Floating button - The button only appears while `NabrilaScope` wraps your app, and it sits above your own dialogs and routes. ## Shake Shaking opens the report: it uses the accelerometer on Android and the system shake gesture on iOS (the one behind "Undo"). On iOS, with a text field focused, the system may also offer "Undo Typing". ## Saved reports A report saved on the phone goes out when the app opens or comes back to the foreground (and on iOS for about 30 seconds after leaving it). There is no background upload while the app stays closed. ## Pointing at an element The element is found in the live app, below the capture flow. If your app changes screen on its own while the tester points, the report may name what is there at that moment. ## Platforms Android 7 (API 24) or newer, iOS 13 or newer, and desktop. The replay needs Android 8 (API 26) and is kept as pictures on desktop ([Replay](https://nabrila.com/en/docs/replay#platforms)). Flutter Web is not supported, because the SDK uses `dart:io`. The Flutter version is not included in reports. ## Encryption performance Encryption is written in pure Dart (`package:cryptography`), so it can be slow in *debug* builds. In *release* it is much faster. ## Size caps - PNG screenshot up to 1440 px on its longest side and 1.5 MB; if it goes over, it is retaken at a lower resolution. - Full report up to 2 MiB. - Note up to 1000 characters. ## Monthly quota Each workspace has a monthly report quota based on its plan ([pricing](https://nabrila.com/en/pricing)). When the quota is reached, the tester sees a message saying the app has reached its monthly limit. --- # Reading a report A report opens at `nabrila.com/r/…`. The viewer downloads it and decrypts it in your browser with the key at the end of the link. You can see what it looks like in the [example report](https://nabrila.com/en/r/example). ## Screenshot and note At the top is the sender's note, as the title, with a badge for the report kind (something fails, looks wrong, wrong data or idea) if the tester picked one. Next to it, the screenshot with its drawings and the last taps numbered on the screen. If they pointed at an element, it is marked with a ring and, below, its widget, its text and the source file and line (the last only when the report comes from a *debug* build). ## Video and captures If the report has the replay, the viewer plays it as video or, if the phone could not build one, as captures (images). The player is synced with the timeline, so you see what was on screen next to each event. If the report has no replay, you see the screenshot only. ## Views | View | What it shows | |---|---| | **Steps** | The steps to reproduce the problem, built from the events. No AI writes them. | | **Timeline** | Everything together, in order: routes, taps, requests, console and errors. | | **Network** | HTTP requests as a waterfall: each with its status, duration and size, and a bar on a shared axis that shows when it left and how long it took, with a mark where the video is. | | **Console** | The output of `print` and `debugPrint`, and errors with their *stack trace*. | | **Taps** | Each tap with its position and what was tapped. | | **Environment** | App and build, system, screen, pixel density, text scale, language, active route, SDK version and the app data you added with `Nabrila.setContext`. | The search above keeps only what matches what you type: in **Network**, the URL, method or status; in **Console**, the message or stack trace; elsewhere, also the screen or what was tapped. **Only errors** filters the view so only failed requests and errors remain. Esc clears the search. ## Request detail Opening a request shows its full URL (with every value the app hid marked), the status with its name (“404 Not Found”), the duration and, if the app captures them, the headers and the bodies sent and received. A JSON body shows as a tree: each object or list folds and each value copies on its own; **Copy body** copies all of it, exactly as it came. **Copy URL** copies the address and **Copy cURL** copies the request as a command to replay from your terminal (bash, zsh or fish; it does not work in PowerShell or cmd.exe). To capture headers and bodies, see [Network requests](https://nabrila.com/en/docs/network). ## Share - **Copy link** copies the full URL, with the key, if you opened the report with that link. - If you opened it from the dashboard with your team's key, the button reads **Copy internal link**: that link has no key and only team members can open it. To share it outside the team, pick **Copy link with key** in its menu; anyone who has it can open it, no account needed. - Its menu offers the system share sheet and email, plus **Copy as text**. If your browser has no share sheet, it offers WhatsApp and Telegram, noting that their website receives the link with the key. - On a phone there is a single button, **Share**, which opens the system share sheet. To send the report to your coding agent, see [Open in your agent](https://nabrila.com/en/docs/coding-agents). ## Export as an issue The export menu has three options: - **Copy as issue** copies the report as Markdown, with the steps to reproduce. - **Linear** opens a new issue with the summary and the link. - **GitHub** opens a new issue in your repository. The viewer asks for the repository once and stores it only in your browser. It all happens in your browser: nothing goes through Nabrila's server. ## Status for the reporter Whoever holds the link can mark the report as **Fixed: please test again**, **Need more info** or **Won't fix**, with a short note. The note is end-to-end encrypted with the report key: Nabrila cannot read it. The tester's app checks the status of what it sent and shows it, with the note. The control only appears if the report came from an SDK that supports it. When you mark it **Fixed** you can write the **version with the fix**, as in `pubspec.yaml` (`1.4.2` or `1.4.2+37`). It travels inside the encrypted note. Once the tester's app has that version or a newer one, it asks them whether it works now, and their answer shows here: **Confirmed by the reporter** or **Still failing, says the reporter**. If it still fails, reply again. ## Report footer The footer says whether the report was encrypted on the phone, who keeps the key and when the link expires. **Report this link** is also there, and it shows even when the report does not open because the key is missing. More in [Encryption and keys](https://nabrila.com/en/docs/security). --- # Open in your agent ## Open in your agent On a computer, the viewer has an **Open in Claude Code** button and a menu with the other agents. Picking one opens its app with a Markdown message already written: the note, the app and its version, the route, the pointed element, the steps to reproduce, the failed request, the error, the app's context and the link to the full report. Everything that comes from the report sits inside code blocks, and the text first tells the agent that this content is data to investigate, not instructions. That way a note or an error written to give orders is not mistaken for your request. The text is **not sent automatically**: you review it and send it yourself. The viewer remembers the last agent you picked. | Agent | How it opens | |---|---| | Claude Code (terminal and desktop app) | `claude-cli://` | | Claude Code in VS Code | `vscode://` | | Cursor | `cursor://` | | Codex | `codex://` | | Zed | `zed://` | Only each app's local links are used. The text never goes through a web form or a third-party server. ## Length limit Cursor accepts up to 10,000 characters and the others up to 5,000. If the text is longer, it is trimmed and the link to the full report always stays at the end, so your agent can open the rest. ## Copy as text For any other agent, use **Copy as text** in the **Copy link** menu. It copies the same Markdown so you can paste it anywhere. ## Before you paste The text contains the decrypted report and the same link **Copy link** shares. If you opened the report with a link that carries the key, the text has that full link, and anyone who sees it can open the report until it expires. If you opened it from the dashboard with your team's key, it has the internal link, which only team members can open. Paste it only where you trust the audience. More in [Encryption and keys](https://nabrila.com/en/docs/security). ## Local MCP server `@nabrila/mcp` is an MCP server that runs **on your machine**. It downloads the encrypted report by its id and decrypts it right there with the key in the link (`#k=`). The key never leaves your computer: your agent sees everything and Nabrila's servers see nothing. It needs Node.js 20 or newer. Your agent downloads it and starts it with `npx`, with nothing else to install. The code is `MIT` and lives at [nabrila/nabrila-mcp](https://github.com/nabrila/nabrila-mcp). For Claude Code (add `--scope user` to have it in every project): ```sh claude mcp add nabrila -- npx -y @nabrila/mcp ``` For Cursor, in `~/.cursor/mcp.json` (all projects) or `.cursor/mcp.json` (one project): ```json { "mcpServers": { "nabrila": { "command": "npx", "args": ["-y", "@nabrila/mcp"] } } } ``` Then ask, for example: "Open https://nabrila.com/r/…#k=… and fix the bug." These are its tools: | Tool | What it returns | |---|---| | `open_report` | Downloads and decrypts the report and returns a summary: app, version, kind, the note, the pointed element with its file and line, the app data, the steps to reproduce and the first failure. | | `get_events` | The numbered timeline, filterable by kind or errors only. | | `get_request` | One full HTTP request, with an equivalent `curl`. | | `get_screenshot` | The screenshot with the tester's drawings. | | `get_replay` | The replay, in a private temp folder, with the time of each frame. | | `symbolize` | The obfuscated stack traces of a *release* build, with file and line (it uses `flutter symbolize`). | | `get_changes` | What changed in the code since the tester's build: the commits after it, the last ones in it and the files touched, with the diff of one if you ask. It runs `git` in your repository and needs reports from builds with [`NABRILA_COMMIT`](https://nabrila.com/en/docs/flutter-sdk#build-commit). | | `set_status` | Answers the tester (fixed, needs more info or won't fix) with no free text, so a report cannot make your agent send code. For fixed it can carry the version with the fix, encrypted on your machine; a written note goes through the viewer. It writes to a real person: your agent should ask you first. | Every output with report data starts by saying it is content from the tester's app, not instructions. ## These docs, for your agent Every page of this documentation has **Copy for your agent**, which copies the page as Markdown. The site also publishes [`/llms.txt`](https://nabrila.com/llms.txt) and [`/llms-full.txt`](https://nabrila.com/llms-full.txt) so your agent can read all the documentation at once. --- # Encryption and keys ## Encryption on the phone The SDK encrypts each report on the phone with AES-256-GCM **before** uploading it. The server receives an encrypted file. ## The key is in the link The key travels at the end of the link, after `#k=`. That part of a URL (the fragment) isn't sent to the server when you open the link: the browser uses it to decrypt the report on your computer. That's why **anyone with the full link can open the report**. Share it only where you trust the audience: if you paste it in an issue, a chat or an email, anyone who sees that message can open it until it expires. ## Who keeps the key - **Free plan:** the key lives only in the link. Nabrila doesn't keep it and can't read your reports. - **Paid plans:** Nabrila keeps a copy of the key so your team can open reports from the dashboard, so technically it could read them. If you would rather the key never leave the phone, start the SDK with [`keepKeyOnDevice: true`](https://nabrila.com/en/docs/flutter-sdk#run): those reports then open only from their link, not from the dashboard. The footer of each report says which of the two cases applies. The full comparison is in [pricing](https://nabrila.com/en/pricing). ## When it expires On the Free plan, a link expires after 30 days. The file is usually deleted within the following 24 hours. The report footer shows the exact date. Each plan's timeframes are in [pricing](https://nabrila.com/en/pricing). ## Report a link If you receive a link with content that shouldn't be there, use **Report this link** in the viewer footer. A person at Nabrila reviews it and, if appropriate, takes it down: the link stops opening. Today a takedown does not delete the encrypted file right away: the storage expiry rule deletes it within the plan's period. ## Report a vulnerability If you find a vulnerability in Nabrila, write to [support@nabrila.com](mailto:support@nabrila.com) before making it public. - **What to include:** what you found, the steps to reproduce it, what it affects and, if you can, a minimal proof. Do not include other people's data. - **Scope:** `nabrila.com`, its API (`/api/`) and the `nabrila` SDK for Flutter. - **What we do:** we confirm we received it and tell you what we will do. - **Good-faith research:** we take no legal action against good-faith research that does not access third parties' data, does not degrade the service and tells us before going public. - **Rewards:** there is no bounty program. ## Envelope format The encrypted file is an `NBR1` envelope: an 18-byte header (magic, version, flags and a 12-byte IV) followed by the AES-256-GCM ciphertext and tag, with the first 6 header bytes as additional authenticated data. Only the JSON inside is gzip-compressed. The SDK, the viewer and the MCP server reproduce the same test vectors byte for byte. ## More detail - [Privacy policy](https://nabrila.com/en/privacy) - [Data processing agreement](https://nabrila.com/en/dpa) --- # Workspaces and apps ## Workspace It's your team's space: this is where you register your apps and where reports arrive. You create it the first time you sign in, with a name and an address. You can change the name from **Settings**. ## Apps and appKey Each app has its own `appKey` (it starts with `nbr_`). The SDK uses it to upload reports to your workspace. - **It's shown only once.** When you register the app or add a key, copy it right then. - **It isn't secret.** It goes inside your app. What decides what it can do is your workspace, not the key. - **Several keys:** each app can have up to 3 live keys. **Add key** does not cut the others, so builds you already shipped keep uploading while you release the new one. Next to each key you see when it was last used. - **Revoke a key:** it stops working at once, and only that one. Use it when a key leaked. The last live key cannot be revoked: revoke the app for that. - **Daily cap:** you can set how many reports the app accepts in 24 hours. Once it is reached, reports wait on the phone and upload when there is room again. - **Held reports:** if far more reports than usual arrive within an hour, the rest of that hour is held. It does not use the quota or show up in **Reports**, and its link does not open yet. From **Apps** you release it (it counts against the month's quota) or discard it (it is deleted). - **Revoke:** the app stops receiving reports. ## Members On the Free and Pro plans the workspace belongs to one person: whoever created it is its owner. Members, with their roles, arrive with the Team plan. The **Members** screen shows who has access. ## Report quota Each plan has a quota of apps and of reports per month. The **Reports** screen shows how many you've used this month. When the quota is reached, the SDK tells the tester that the app has reached its limit. Each plan's numbers are in [pricing](https://nabrila.com/en/pricing). ## Delete your account From **Settings** you can delete your account. The workspaces you own are deleted, along with their reports, and you leave the others. If your last sign-in is not recent, it asks you to sign in again. It does not go through while one of your workspaces has a paid plan that will renew or you own a workspace with other people in it: first cancel the subscription from the Polar portal or remove those people. If part of it fails, the deletion stays pending and finishes when you try again. --- # Troubleshooting ## The Nabrila button doesn't appear - Check that the build has `--dart-define=NABRILA_ENABLED=true`. Without it, `enabled` stays `false` and the SDK does nothing. - Check that `NabrilaScope` wraps your app inside `Nabrila.run`. ## This link is missing its key The report is encrypted and the key is at the end of the link, after `#k=`. Ask whoever sent it for the full link. ## This key does not open the report The key doesn't match the report. The link may have been cut when it was copied or sent in a chat. Ask them to copy it again with **Copy link**. ## This link has expired Reports live for a limited time depending on the plan ([Encryption and keys](https://nabrila.com/en/docs/security#expiration)). Ask the sender to create a new one. ## This report was taken down It was removed after a complaint or by its creator, and it can no longer be opened. ## The app reached its monthly limit The workspace reached its plan's report quota. You can see it under **Reports** in your dashboard. Quotas are in [pricing](https://nabrila.com/en/pricing). ## Reports stopped arriving If you generated another `appKey` or revoked the app, builds with the old key can no longer upload reports. Build again with the current key. ## Still stuck Write to us at support@nabrila.com with what you tried and, if you can, the report link.