Android Setup
Voltra renders Widgets and Live Updates through Jetpack Compose Glance, so you need an Android host app that embeds the Lynx SDK and registers Voltra's native module. The fastest path is the reference host: a working Gradle project with the module + Glance widget receiver already wired up.
One-shot AI build prompt
Build and install the Voltra Lynx Android demo on a connected device or emulator.
Working tree:
voltra-lynx/host/android/. JS bundle source:voltra-lynx/packages/example-app/.Read
voltra-lynx/host/android/README.md§Rebuild from clean. Start the Lynx dev server (pnpm devinpackages/example-app) BEFORE./gradlew installDebug.LynxViewloadshttp://10.0.2.2:3000/main.lynx.bundlefrom the emulator (host loopback) at runtime. Useadb reverse tcp:3000 tcp:3000if testing on a physical device.Acceptance:
adb shell am start -n com.voltra.lynx.demo/.SplashActivityfollowed byadb exec-out screencap -p > /tmp/android-app-launch.pngshowing a non-blank Voltra demo screen.
Prerequisites
A running emulator (API 26+ for Glance widgets) or a connected device with USB debugging enabled.
Build + install
First build downloads Gradle 8.x + the Android Gradle Plugin + Lynx SDK artifacts. Expect 3 to 10 minutes the first time, sub-30s incrementally.
Verify
You should see the Voltra demo navigation. Tap Material Colors Widget or Chart Widget to drop a Glance widget onto the home screen.
What's in the host
VoltraLynxModule.kt is 558 LoC of new code exposing 28
@LynxMethod-annotated methods. Everything else under voltra/ is
byte-identical to the upstream Voltra Android native code.
