Skip to content

Android

The native Android shell is a standard Hotwire Native Android app that loads your Inertia application in a web view. The package handles the web side; the Android app provides the navigation stack, path configuration, and any bridge components.

Reference app

A runnable example lives in inertia-native-android-demo. Clone it to see a working setup end to end.

Outline

  1. Create a Hotwire Native Android app (Gradle).
  2. Point its navigation at your app's URL.
  3. Add a path-configuration JSON to control which routes present as modals, pushes, etc.
  4. Register the bridge components your web pages use (form, menu, …) if any.

Work in progress

A full step-by-step walkthrough is being written. For now, the demo app is the source of truth.