Ionic and Capacitor

This content was generated with the assistance of AI and should be verified against the official documentation before being relied on in production.

Ionic Framework is a UI component library for mobile-first web apps, and Capacitor is the native runtime that wraps a web app in an Android or iOS project and exposes device features through plugins. Together they let a web team ship a store app from a normal Angular, React or Vue codebase: the UI runs in the platform WebView and calls native code over a bridge. This subsection is a reference for web developers moving to mobile and for mobile developers evaluating the approach. The examples use Angular with standalone components and signals.

Version baseline

Checked against the npm registry and the Capacitor documentation on 2026-11-10.

Component Version

Ionic Framework (@ionic/angular, @ionic/core)

9.0.10

Ionic CLI

7.2.1

Capacitor (@capacitor/core, @capacitor/cli)

8.6.0

Angular

22.2.5

@capacitor/camera

8.2.6

@capacitor/geolocation

8.2.4

@capacitor/preferences

8.0.1

@capacitor/filesystem

8.1.5

@capacitor/network

8.0.1

@capacitor/app

8.1.2

@capacitor/haptics

8.0.2

@capacitor/splash-screen

8.0.2

@capacitor/live-updates

0.5.0

Playwright

1.65.0

Capacitor 8 requires Node.js 22 or later, Xcode 26.0 or later and Android Studio Otter (2025.2.1) or later. It targets iOS 15.0 and later, and Android with minSdk 24 and compileSdk and targetSdk 36. New iOS projects use Swift Package Manager by default. On any discrepancy the current official documentation is the authority.

What’s covered

Running example

Every page builds Trailhead, a hiking journal: a searchable trail list loaded from a REST API (https://api.example.com/v1), a trail detail page, favourites, a "log a hike" flow that attaches a camera photo and a GPS position, and an offline cache of the trails. The app id is com.example.trailhead. The same app is built with Flutter in Flutter and Dart.

Bibliography

No book was consulted for this subsection. The content is compiled from the official documentation listed under References, and on any discrepancy the current official documentation is the authority.