# SDK compatibility and capabilities

Compare AppPortal SDK targets, initialization, automatic instrumentation, delivery guarantees, and optional messaging and location support.

Source: https://appportal.io/docs/sdks/compatibility

Choose the SDK for your application host, then check the capabilities and toolchain requirements
below before adding it to your app.

## Host and toolchain requirements

| SDK / host | Target and minimum requirements | Integration |
| --- | --- | --- |
| Native Swift | Selected binary release's compatible Xcode/Swift compiler; iOS / Mac Catalyst 13, macOS 11, tvOS 13, watchOS 6 | [Binary Swift package products](https://appportal.io/docs/sdks/apple#choose-your-libraries) |
| Native Kotlin | Android; JDK 17 for the SDK build; use the SDK's declared Android SDK levels | `io.appportal:telemetry` |
| Native C# Android / iOS | .NET 10 and the Android or iOS workload | `AppPortal.Telemetry` |
| Other managed .NET hosts | .NET 10; host-specific native runtime coverage must be checked | `AppPortal.Telemetry`; not a dedicated UI-framework integration |
| .NET MAUI | Android, iOS, Mac Catalyst, Windows WinUI; matching MAUI workload | `AppPortal.Telemetry.Maui` |
| Uno | .NET 10; Skia on Android, iOS / Mac Catalyst / tvOS, and Desktop (Linux, macOS, Windows Win32) | [`AppPortal.Telemetry.Uno` and host setup](https://appportal.io/docs/sdks/dotnet/uno) |
| Flutter | Flutter 3.38.1+; Dart 3.10+ and below 4.0 | `appportal` package |

Native Swift supports watchOS; the .NET Apple binding does not provide a watchOS target.
Uno's Desktop target covers Windows, Linux, and macOS using Skia. The single Uno integration package
does not include native Windows App SDK / WinUI host integration. BrowserWasm runtime hooks do not
establish a supported onboarding flow; see [host availability](https://appportal.io/docs/sdks/dotnet/uno#host-availability)
and the storage limitations below. The current source includes typed
[`AppPortal.Telemetry.Avalonia` lifecycle/navigation hooks](https://appportal.io/docs/sdks/dotnet#avalonia);
select an exact compatible package from your release channel before using them. Source support
is distinct from a published package or target-specific runtime qualification; generic managed
setup alone does not attach those hooks.
No browser credential setup is provided. Do not embed SDK or server credentials in browser code.

## Capability differences

| Capability | Apple / Android | .NET | Flutter |
| --- | --- | --- | --- |
| Initialization | One opaque app credential | One opaque app credential at native startup, before MAUI/Uno construction; DI registers the existing client | One opaque app credential through the synchronous builder |
| Events, screens, logs, handled errors, sessions, RUM API | Available | Available | Available |
| Automatic lifecycle / host instrumentation | Platform-specific lifecycle support | SDK-owned native observation on Android, Apple, Windows, Linux/X11 and BrowserWasm; framebuffer display lifecycle remains unsupported; MAUI visible-page visits are automatic, while Shell timing, Uno Frame and Prism Region navigation are opt-in | Manual navigation, startup, and HTTP instrumentation |
| Durable acceptance and background retry | Native journal and dispatcher | Native/managed journal; Uno WebAssembly queue is in memory | Current source: [bounded, asynchronous preferences queue](https://appportal.io/docs/sdks/flutter#know-the-current-limits); compatible published package unverified |
| Flush / close ceremony | None in normal application code | None in normal application code | None in normal application code; legacy methods remain compatible |
| Messaging | Separate optional product/artifact | Source/test capability; no shipping .NET package | `messaging.dart` capability library |
| Location | Separate optional product/artifact; OS permissions apply | Source/test capability; no shipping .NET package; host restrictions apply | `location.dart` capability library |
| App-defined geofence plans | Unavailable | [Distance, metadata, and time-window prototype](https://appportal.io/docs/sdks/dotnet/geofencing); applications must provide native monitoring | Unavailable |
| Crash capture / symbols | Platform-specific capture and symbol requirements | Depends on runtime and symbol artifacts | Do not equate handled Dart errors with native fatal-crash parity |

The Flutter umbrella `appportal.dart` remains compatible; new integrations should prefer
`telemetry.dart`, `messaging.dart`, and `location.dart` for the capabilities they use.
Its legacy scope fields are ignored; the server derives scope from the credential.
Flutter restores consent from platform preferences but does not preserve a stable installation
ID across launches or serialize user traits and crash breadcrumbs.

## Optional capabilities need additional setup

[Messaging](https://appportal.io/docs/sdks/messaging) requires channel configuration, consent, and a verifiable
user/installation binding for user-addressed operations. [Location](https://appportal.io/docs/sdks/location) requires
OS permissions and appropriate registration/lifecycle support. Installing a module does not enable
all of those behaviors automatically.

## Check your integration

Before rollout, record the app host, operating-system version, SDK version, and native dependency
versions. Verify [session and telemetry delivery](https://appportal.io/docs/getting-started/first-event), offline/restart behavior
where supported, consent changes, and each optional capability you intend to use.
Use the same resolved dependency versions in CI and local reproduction.
