Avalonia for mobile

Build iOS and Android apps with the XAML from your desktop app.

An Avalonia mobile interface showing an activity list with a date-range picker
An Avalonia mobile interface showing a balance, a bar chart and a list of transactions
An Avalonia mobile interface showing a spending overview with a donut chart and categories

These are Avalonia views running on a phone. The controls aren’t UIKit or Android widgets with a .NET wrapper around them, which is why the same XAML produces the same result on both operating systems and on the desktop.

Platform support

Windowing

Native iOS and Android integration

One Avalonia view hosted by each platform, not a web view.

Rendering

Skia, on the device GPU

Every control is drawn by Avalonia, so it matches your desktop build.

Architectures

ARM64, ARM32 and x64

iOS is ARM64; Android adds ARM32 and x64 for emulators.

Runtime

.NET 10.0

Higher than desktop because the .NET 10 SDK no longer carries the .NET 8 mobile workloads. OS versions follow the .NET MAUI support lifecycle.

Every tested OS version is published in the support matrix.

Avalonia 12 on Android

Re-architected from the ground up.

The Android backend in Avalonia 12.0 has been completely rebuilt, for measurably faster startup, smoother scrolling and less animation jank.

460 ms

Startup time, NativeAOT

4× faster, down from 1,960 ms

120 fps

Scroll FPS

3× smoother, up from 42 fps

60 fps

Animation FPS

On target, up from 49 fps

0.01%

Idle CPU usage

20× lower, down from 0.20%

Avalonia 12.0 measured against 11.x, on Android.

Native to the phone

Drawing your own controls doesn’t mean ignoring the device.

Avalonia doesn’t wrap the native toolkits. It replaces them.

A wrapped toolkit has to answer “what draws a button” twice and reconcile the two answers forever. Avalonia answers it once, which is why a fix on the desktop is a fix on the phone.

  • One widget set, drawn by us
  • Identical on both operating systems and on the desktop
  • Drawn by Skia, on the device GPU

Wrapping a native toolkit

XAML and view models
An abstraction over both
UIKit
Android widgets
GPU

Avalonia

XAML and view models
Avalonia
Skia
GPU

Your brand, at full strength, on both stores.

Because Avalonia owns every pixel, a colour, a corner radius or an animation curve lands the way the design team specified it, on both operating systems.

  • A single style set covers iOS, Android and the desktop
  • Changing the design system is a commit
  • Fluent built in, Material.Avalonia from the community
An Avalonia phone application: an account home screen with a balance card and recent transfers
The same application’s settings screen, with brightness, dark mode and text size controls

Notches, home bars, and edge-to-edge.

Since 11.1 Avalonia pads the root view to the safe area on its own, so the default is already correct. InsetsManager hands you edge-to-edge display when you want it.

  • Deep links and universal links open the right screen
  • Scene-based lifecycle on iOS, new in Avalonia 12
  • VoiceOver and TalkBack read your app
An Avalonia view on a phone, drawn edge to edge under the island and above the home bar: a balance, a bar chart and a list of transactions

The controls we don’t draw.

A WebView, a MapView or a platform media player has no Avalonia equivalent and shouldn’t have one. NativeControlHost hosts the real native view inside your layout, always on top of the Avalonia surface.

protected override IPlatformHandle CreateNativeControlCore(
    IPlatformHandle parent)
{
    var web = new WebView(((AndroidViewControlHandle)parent).View.Context);
    return new AndroidViewControlHandle(web);
}

Getting it shipped

The build and store path is the .NET one.

Avalonia mobile builds are ordinary .NET mobile builds, so the toolchain, the signing and the store submission are the ones Microsoft documents.

  • ipa, apk and aab. Standard output for both stores, produced by the same .NET mobile tooling that builds your desktop app.

  • Simulators and devices. Run and debug on a simulator or a physical device from Rider, Visual Studio or VS Code, with breakpoints through async code.

  • Follows the .NET lifecycle. Mobile OS support tracks the .NET MAUI support policy, so the versions we keep working are the versions Microsoft keeps working.

  • Worth knowing up front. Mobile is the youngest of Avalonia’s targets. The rendering engine and tooling are the same ones desktop already ships with, but the third-party control ecosystem is deeper on desktop than it is on phones.

Avalonia is MIT licensed on every target, phones included.

Every target

Phones are two targets of six.

A team that builds a desktop application in Avalonia already has most of a mobile application, and the reverse holds too. The shared part is the part you wrote.

Avalonia for Windows

Direct Win32 calls, x64 and ARM64.

Avalonia for macOS

A native backend, universal binaries.

Avalonia for Linux

X11, Wayland, and bare framebuffer.

Avalonia for WebAssembly

Static files, no server component.

Add the phone build your design system already supports.

The mobile templates install with the same .NET SDK as the desktop ones. Build the iOS and Android heads from your existing solution and see how much of it you already had.