Capacitor CLI - cap update
Native プラグインと依存関係を package.json
を参照してアップデートします。
npx cap update [<platform>]
Inputs:
platform
(optional):android
,ios
Options:
--deployment
: Podfile.lock won't be deleted and pod install will use--deployment
option.
Hooks
The following hooks are available for update command:
capacitor:update:before
capacitor:update:after