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/5Score 0

Why does a Capacitor app's web build output directory (`webDir` in `capacitor.config.ts`) matter for the `cap sync`/`cap copy` workflow?

Questions in this quiz
  1. Why does a Capacitor app's web build output directory (`webDir` in `capacitor.config.ts`) matter for the `cap sync`/`cap copy` workflow?
  2. What does a Capacitor plugin's web implementation typically provide when a native capability has no direct browser equivalent (e.g. a native-only Bluetooth feature)?
  3. How is Capacitor architecturally similar to (and different from) Cordova?
  4. What does `npx cap run android` do differently from `npx cap open android`?
  5. How does Capacitor let you build a Progressive Web App (PWA) and native apps from the same codebase?
  6. What is a key architectural trade-off of Capacitor/Cordova-style WebView rendering versus a framework that renders true native UI widgets (like React Native or NativeScript)?
  7. What is a reasonable use case where a team would choose Capacitor over a native-rendering framework like React Native, given the WebView-vs-native-widget trade-off?
  8. Why might a native app developer need to manually edit iOS `Info.plist` or Android `AndroidManifest.xml` even when using Capacitor?
  9. What does the Capacitor CLI's `npx cap open ios` (or `android`) command do?
  10. What does `npx cap sync` do, and when is it typically run?
  11. How does a web app access native device functionality (like the camera) through Capacitor?
  12. What does `npx cap add ios` (or `android`) do in a Capacitor project?
Gaps to close?
Read the curated Capacitor notes — core concepts, patterns, interview prep.
Capacitor notes

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web