apache / apache/cordova

Plugin support for breaking Cordova platform changes

Open
#58 1 comment 0 reactions 0 assignees View on GitHub
enhancement plugins
Dominant language
No language data
Stars
710
Forks
75
PR merge metrics
No merged PRs in 30d

Description

Nice suggestion by @j3k0 in that it should be possible for plugins to support breaking platform changes.

Example by @j3k0, with edits by @brodybits:

```xml













```

Keep in mind that I think `version` attribute should mean Cordova platform framework, not Cordova framework version, Android OS version, Android SDK version, etc. ~~I wonder if we can think of a smarter attribute name such as "platform-engine-version" or "cordova-platform-version" to make this clear?~~

I think it should be possible to do this in a way that `cordova-common` would abstract this mechanism away from the Cordova platforms.

I also think that the need to deal with such breaking changes should be considered an exceptional and avoided whenever practical.

P.S. The alternative to specify Cordova dependencies as described in means that a plugin author would have to support multiple versions in multiple branches in order to deal with breaking changes.

Related email forum thread:

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.