Fehler40
Fehler40

Reputation: 125

cordova 7.x add custom platform - which benefits do we get?

yesterday I read the release-notes about Cordova 7.0.0. they presented the new feature of adding custom platforms with

cordova platform add custom-platform-name

I didn't found any references about this. Can anybody tell me, which new possibilties we have with this feature? thanks a lot!

Upvotes: 1

Views: 56

Answers (1)

Connor
Connor

Reputation: 64644

It's mentioned on a discuss thread here. As far as I can tell, the main change was restricting that a platform must be "known" by Cordova in order to install. Now any platform that conforms to the API can be installed.

I think the use cases for this are supporting platforms that Cordova does not support, or creating alternate versions of the standard platforms where a fork would not apply. I haven't found much documentation for the feature, but there's an empty shell of a platform here to look at.

Upvotes: 1

Related Questions