メインコンテンツまでスキップ
Version: v6

ionic cordova platform

Manage Cordova platform targets

$ ionic cordova platform [options]

Like running cordova platform directly, but adds default Ionic icons and splash screen resources (during add) and provides friendly checks.

Examples

$ ionic cordova platform 
$ ionic cordova platform add ios
$ ionic cordova platform add android
$ ionic cordova platform rm ios

Inputs

action

Description

add, remove, or update a platform; ls, check, or save all project platforms

platform

Description

The platform that you would like to add (android, ios)

Options

--no-resources

Description

Do not pregenerate icons and splash screen resources (corresponds to add)