Skip to content

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

Closed

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.

Activity

  1. added
    t: gradle"flutter build" and "flutter run" on Android
    platform-androidAndroid applications specifically
    on Nov 19, 2019
  2. added this to the November 2019 milestone on Nov 19, 2019
  3. self-assigned this
    on Nov 19, 2019
  4. blasten commented on Nov 19, 2019

    @blasten
    Author

    Is this something we want to support though? It means that the platform code has versioning implication.

  5. assigned and unassigned on Nov 19, 2019
  6. amirh commented on Nov 19, 2019

    @amirh
    Contributor

    Is this something we want to support though? It means that the platform code has versioning implication.

    Can you elaborate?

  7. added
    toolAffects the "flutter" command-line tool. See also t: labels.
    on Nov 19, 2019
  8. github-actions commented on Aug 25, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  9. locked as resolved and limited conversation to collaborators on Aug 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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