Aus dem Quell-Repository gerendert; Überschriften, Beispiele, Code, Tabellen, Links und Bilder bleiben erhalten.
Quasar Capacitor Development
Use this skill with quasar-development for shared UI and application concerns.
Respect the native boundary
- Inspect
quasar.config.* > capacitor,src-capacitor/, Capacitor config, native platforms, plugins, and supported OS versions. - Read the current Quasar Capacitor documentation and the installed Capacitor/plugin documentation.
- Add the mode with
quasar mode add capacitor. - Keep web dependencies in the app root and Capacitor/native dependencies where the generated mode structure expects them.
Implement device behavior safely
- Use maintained Capacitor plugins and verify their version compatibility with the installed Capacitor major.
- Request permissions at the point of use and handle denied, restricted, and permanently denied states.
- Handle pause, resume, back button, keyboard, status bar, safe areas, deep links, and network changes deliberately.
- Validate external URLs and untrusted data crossing plugin boundaries.
- Keep signing material, API secrets, and store credentials out of source control and client bundles.
- Make manual native-project changes reproducible and document why they cannot live in configuration.
- Use live updates only with a reviewed rollback, integrity, compatibility, and store-policy strategy.
Validate on real platforms
- Run
quasar dev -m capacitor -T androidor-T iosas appropriate. - Test changed native behavior on a real device when it involves permissions, lifecycle, hardware, deep links, or release signing.
- Build with
quasar build -m capacitor -T <target>and open the native project for final packaging. - Test fresh install, upgrade, background/resume, offline behavior, rotation, safe areas, and denied permissions.
- Run web tests, typecheck, lint, formatting, and native platform checks.

