Search docs/

ionic capacitor sync

Contents

Sync (copy + update) an Ionic project

ionic capacitor sync [<platform>] [options]

ionic capacitor sync will do the following:

  • Copy web assets to all Capacitor native platforms
  • Update each Capacitor native platforms, such as any dependencies that need updating.
  • Install any discovered Capacitor or Cordova plugins.

Inputs

platform

Description

The platform to sync (e.g. android, ios, electron)