Docs
Ionic and Capacitor
Hybrid apps run the web chat inside the app. One command.
Ionic and Capacitor apps are web apps in a native shell, so they use the same one-line web install. No extra SDK is needed.
1. Run the setup command
npx @octokan/cli init app_xxxxxxxxxxxx https://YOUR-BACKEND
It finds your index.html and adds the script tag before </body>.
2. Sync and run
npx cap sync npx cap run ios # or: npx cap run android
Leave Allowed sites empty in Octokan settings for now: the WebView's address (capacitor://localhost) can't be listed there yet.