Capacitor CLI - cap sync
このコマンドは、copy
を実行した後、update
を実行します。
npx cap sync [options] [<platform>]
Inputs:
platform
(optional):android
,ios
Options:
--deployment
: Podfile.lock won't be deleted and pod install will use--deployment
option.--inline
: After syncing, all JS source maps will be inlined allowing for debugging an Android Web View in Chromium based browsers.
Hooks
The following hooks are available for sync command:
capacitor:sync:before
capacitor:sync:after