Capacitor CLI - cap sync
Sync
Run the Copy and Update commands together.
npx cap sync [options] [platform]
platform
(optional):android
,ios
--deployment
: Podfile.lock won't be deleted and pod install will use--deployment
option.
โ Copying web assets from www to android\app\src\main\assets\public in 3.37s
โ Copying native bridge in 5.80ms
โ Copying capacitor.config.json in 2.59ms
โ copy in 3.43s
โ Updating Android plugins in 11.48ms
Found 1 Capacitor plugin for android:
capacitor-mapbox (0.0.1)
โ update android in 105.91ms
โ copy in 409.80ฮผp
โ update web in 6.80ฮผp
Sync finished in 3.563s