<engine>

engine

Specifies details about what platform to restore during a prepare.

Attributes(type)
Only for platform:
Description
name(string) Required
Name of the platform to be restored
spec(string) Required
Details about the platform to be restored. This could be a major.minor.patch version number, a directory containing the platform or a url pointing to a git repository. This information will be used to retrieve the platform code to restore from NPM, a local directory or a git repository. See Platform Spec for further details.

Examples:

<engine name="android" spec="https://github.com/apache/cordova-android.git#5.1.1" />
<engine name="ios" spec="^4.0.0" />
doc_cordova
2017-01-31 03:39:49
Comments
Leave a Comment

Please login to continue.