solana-mobile webshell command generates that Android project and builds a signed release APK from it.
A WebView shell needs no Digital Asset Links setup, and it keeps Mobile Wallet
Adapter working: browsers are rolling out Local Network
Access restrictions
that break wallet connections for web apps, including Trusted Web Activity
wrappers such as Bubblewrap APKs. The shell handles wallet intents natively
instead.
1
Host your web app
Make sure your web app is reachable at a public URL. If it has a web
manifest, the CLI
seeds the app name, icons, and start URL from it.
2
Update Mobile Wallet Adapter
If your app uses Mobile Wallet Adapter, update
@solana-mobile/wallet-standard-mobile to v0.5.1 or later so it detects
the shell and skips the browser permission flow. See Local Network
Access. Apps that do
not connect to a wallet can skip this step.3
Wrap into an Android APK
Run
webshell init to generate the project
and webshell build to produce a signed
release APK.4
Publish to the dApp Store
Submit your signed APK through the standard dApp Store publishing process.
Wrap a Web App as an APK
Follow the full step-by-step guide in the Web App tab of the APK building
guide.
