Add plugin tooling to enforce documentation of minimum supported OS versions #84200
Open
2 of 3 tasks
Labels
c: contributor-productivity
Team-specific productivity, code health, technical debt.
d: api docs
Issues with https://api.flutter.dev/
p: tooling
Affects the flutter_plugin_tools package
P3
Issues that are less important to the Flutter project
package
flutter/packages repository. See also p: labels.
team-ecosystem
Owned by Ecosystem team
triaged-ecosystem
Triaged by Ecosystem team
Currently we don't document what the minimum OS version of our plugins is, for any platform. On iOS, it's mostly a non-issue at the moment since like Flutter they all support iOS 8 (at build time at least; camera doesn't mostly work before iOS 10), but there's no guarantee of that being true in general; on Android it's already a build-time issue (#34999).
The risk of such documentation is of course that it isn't the source of truth, so could become outdated. We should
s.platform
in the podspecminSdkVersion
in build.gradleThe check needs to be "no lower" rather than "equal" so that we have the ability to express things like the current iOS camera plugin situation, where we may want to allow the plugin to build in projects that target older iOS versions, but not work at runtime.
The text was updated successfully, but these errors were encountered: