Search docs/

ionic cordova platform

Contents

Manage Cordova platform targets

ionic cordova platform [<action>] [<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 iosionic cordova platform add androidionic 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)