All quizzes
Free quiz · 20 questions in the bank

Capacitor quiz

Test your Capacitor knowledge with a free interactive quiz — 20 questions with answers and explanations. No signup needed to play.

Question 1/12Score 0

What does `npx cap run android` do differently from `npx cap open android`?

In this round
  1. What does `npx cap run android` do differently from `npx cap open android`?
  2. What is Capacitor?
  3. Why does a Capacitor app's web build output directory (`webDir` in `capacitor.config.ts`) matter for the `cap sync`/`cap copy` workflow?
  4. What is the purpose of `@capacitor/app` (the App plugin) and its events like `appStateChange`/`backButton`?
  5. What is Capacitor's Live Reload / development server support used for?
  6. How does a web app access native device functionality (like the camera) through Capacitor?
  7. How does Capacitor let you build a Progressive Web App (PWA) and native apps from the same codebase?
  8. What does `npx cap sync` do, and when is it typically run?
  9. What is `capacitor.config.ts` (or `.json`) used for?
  10. What does the Capacitor CLI's `npx cap open ios` (or `android`) command do?
  11. Why might a native app developer need to manually edit iOS `Info.plist` or Android `AndroidManifest.xml` even when using Capacitor?
  12. What is a Capacitor "plugin," and how does its structure typically look?
Gaps to close?
Read the curated Capacitor notes — core concepts, patterns, interview prep.
Capacitor notes

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web