# Verify your first event and crash

Check one known event, distinguish handled errors from fatal recovery, and find the received records in the intended app and environment.

Source: https://appportal.io/docs/getting-started/verify-first-value

Use a test build and one app/environment for this check. Start with
[SDK setup](https://appportal.io/docs/getting-started/first-event), then keep the installed SDK version, app build,
host/renderer and OS version with your results. Calling a capture API does not by itself establish durable local acceptance, server receipt or
a queryable record. Use the actual observation and diagnostics to check its outcome.

## Choose where the record should arrive

| Destination | Prerequisites | What to inspect |
| --- | --- | --- |
| Hosted Dashboard | Signed-in account, authorized app, concrete environment and its SDK credential | The known persisted observation and its accepted receipt, followed by its session |
| Local DevSpace | Running local instance, persistent volume and that instance's app key | The new local record/session; confirm persistence using the same retained workspace |

DevSpace needs no hosted account and does not forward its data to the hosted Portal. A hosted
SDK key, upload key, Automation key or internal service key cannot replace a local app key.
For a physical device, use the [ingestion-only networking setup](https://appportal.io/docs/getting-started/devspaces-networking).

## Receive one recognizable event

1. Initialize at your platform's entry point and make the normal deliberate consent choice.
   Use [Swift](https://appportal.io/docs/sdks/apple), [Kotlin](https://appportal.io/docs/sdks/android),
   [native C#](https://appportal.io/docs/sdks/dotnet/native-mobile), [MAUI](https://appportal.io/docs/sdks/dotnet/maui),
   [Uno](https://appportal.io/docs/sdks/dotnet/uno), [plain .NET](https://appportal.io/docs/sdks/dotnet/telemetry#start-a-plain-managed-host),
   or [Flutter](https://appportal.io/docs/sdks/flutter) instructions.
2. In the hosted Dashboard, select your app and test environment. On the **Connect** screen,
   choose your application framework, then **Verify a test event**. For an app already receiving
   telemetry, open **App settings → SDK setup**. Under **Verify a test**, select
   **Custom event** and **New test marker**.
3. Copy the example into your test app. With consent granted, run the action once and keep the
   app online. Choose **Check for test event** on the Connect screen or **Check this test** in
   App settings. Wait for confirmation in the same environment.
4. Choose **Open Overview** when offered. In **Product analytics → Events**, find the
   `appportal.setup.test` event from your run and open its session. If you used **App settings**,
   use the **Received record** ID and **Server receipt created** time to locate the exact result.
   Compare the build, platform and available session details with your test run.

For DevSpace, use the event example in your SDK guide with a recognizable event name/property,
then inspect that new record in the local app's session. It does not have the hosted verification
panel's receipt contract. Do not use an old demonstration session as this run's evidence.

An app-wide connection badge or credential's **Last used** value can reflect another run or
environment. For an existing hosted event, select **Known event ID** and use its exact record ID.
The known-observation check can search across dates/platforms within the selected app/environment;
it does not identify the latest build for you.

## Check a handled error separately

Use your SDK guide's explicit error/exception API inside an ordinary caught failure. Find the
occurrence in **Crashes**, confirm it is handled, and follow its session context. This verifies
that explicit error path; it does not establish an unhandled crash, OS termination or native
signal recovery.

Use one opaque application-chosen user ID when you need to correlate a signed-in test user.
Keep the same exact ID through the check; do not replace it with an email address, display name
or user-traits payload. Clear user state when your application's user signs out.

## Verify a supported fatal path and restart

Use only your test application's deliberate fatal-test path for a target supported by its SDK.
Follow that target's crash/debugger instructions. Do not substitute a caught exception, a closed
browser tab or a force-stop and label it a captured fatal crash.

After the process ends, relaunch the same installed build with the same app credential and
normal consent policy. The SDK owns saved-report recovery and delivery; ordinary application
code does not need a flush/close ceremony. Do not uninstall, erase the queue, rotate credentials
or reinitialize another runtime to force a result.

Find the new fatal occurrence, inspect its exact ID, severity, app build and session, then use
the hosted verifier's corresponding crash test type when applicable. A raw occurrence, an attached
diagnostic and a symbolicated native stack establish different results. Retain matching symbols
for that build and follow [the upload workflow](https://appportal.io/docs/guides/cli-ci-uploads).

Check [host capabilities](https://appportal.io/docs/sdks/compatibility) first. A managed exception on one desktop does
not establish iOS/Android native recovery, BrowserWasm recovery or every renderer. Flutter's current
source [persists a bounded queue asynchronously](https://appportal.io/docs/sdks/flutter#know-the-current-limits), but
unfinished writes can be lost on abrupt exit; a compatible published package is unverified. This is
not native fatal-crash recovery. The BrowserWasm queue does not promise restart persistence.

## Record elapsed time and resolve a missing result

The five-minute integration goal is a usability target, not a promised result for every host.
Record prerequisite/package setup time, first-event receipt time, fatal exit/restart time and
crash receipt time separately. Include pauses and failed attempts; a compiled snippet or a copied
example is not a timed delivery result.

If a result is missing, check endpoint reachability, consent, the exact credential/environment,
SDK diagnostics, network/retry hints and current account access. Unknown/unavailable results are
not zero traffic. Follow [troubleshooting](https://appportal.io/docs/getting-started/troubleshooting), then continue to
[session investigation](https://appportal.io/docs/guides/investigate-session). App Center users can begin with the
[migration guide](https://appportal.io/docs/getting-started/migrate-app-center).
