Mobile apps
Use the Emulator project for quick layout iteration, then run the Mobile project on an actual Android or iOS target. Desktop emulation does not validate native keyboard composition, lifecycle, GPU presentation, or system accessibility integration.
Prepare the target toolchain
The maintained Mobile host targets net10.0-android and net10.0-ios and uses MAUI for bootstrap and packaging. Xui owns its view tree and rendering; you do not build these pages from MAUI controls.
Android requires the MAUI Android workload, JDK 21, Android SDK, and NDK for Xui's native bridge. iOS requires macOS, a compatible Xcode installation, and the MAUI iOS workload. Use the workload versions that match the SDK selected for the project. The Mobile project uses MAUI packaging, so installing only the standalone android or ios workload is insufficient.
Install the workload for your target:
dotnet workload install maui-android
# On macOS, for iOS:
dotnet workload install maui-ios
From a generated MyApp folder, select one framework explicitly:
dotnet build MyApp.Mobile.csproj -f net10.0-android
dotnet build MyApp.Mobile.csproj -f net10.0-ios
Supply toolchain paths, runtime identifier, and signing settings appropriate to the target. These commands do not select a connected device or install an app by themselves. A simulator build is not evidence that device signing or store packaging works.
Check the experience on the device
Verify safe areas in both orientations, keyboard appearance and dismissal, editing and selection, interruption during a gesture, app background/resume, and resource cleanup. Use real text entry, not only synthetic key presses. Verify assets in the packaged app rather than relying on files available in the checkout.
The current Android host starts at API 29. Its backdrop materials are an approximation, its first Vulkan path has a restricted mesh contract, and native semantic accessibility/autofill integration remains incomplete. iOS has its own lifecycle and text-input adapter; shared Core interfaces alone do not establish parity.
Keep platform code at the edge
Put host resources, application identifiers, and startup hooks in the platform folders. Keep page layout and business behavior shared. If a native capability is missing, expose a clear alternative through an app service rather than spreading platform conditionals through every view.
Use platform support and fallbacks to decide what to promise for a release.