Skip to content

[android] Platform code from transitive plugin dependencies isn't linked into the build #45188

@blasten

Description

@blasten

For example: consider plugin maps which depends on plugin network. Both plugins contain platform code (e.g. an android/) directory. However, if an app depends on maps, the build will fail because network isn't visible to maps during the build.

.flutter-plugins will list all the pub transitive dependencies, however these aren't surfaced via Gradle since the app project will depend on each of these plugins directly.

cc @xster, @amirh.

Metadata

Metadata

Assignees

Labels

dependency: androidAndroid team may need to help usplatform-androidAndroid applications specificallyt: gradle"flutter build" and "flutter run" on AndroidtoolAffects the "flutter" command-line tool. See also t: labels.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions