Skip to content

[cleanup] Provide a single way for detecting if a project is using AndroidX #40800

Closed

Description

@blasten

Depending on the project type, AndroidX is determined by reading pubspec.yaml or gradle.properties.

Activity

  1. added
    toolAffects the "flutter" command-line tool. See also t: labels.
    on Sep 19, 2019
  2. escamoteur commented on Sep 19, 2019

    @escamoteur
    Contributor

    Maybe the Team understands what you mean, but could you elaborate what exactly the problem is?

  3. added
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Sep 19, 2019
  4. blasten commented on Sep 19, 2019

    @blasten
    Author

    The problem is that there are two ways of detecting if a project is using AndroidX, but the two ways belong to two different abstraction layers:

    • pubspec.yaml belongs to FlutterManifest.
    • gradle.properties belongs to AndroidProject.

    An AndroidProject instance doesn't know anything about FlutterManifest.

  5. removed
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Sep 19, 2019
  6. escamoteur commented on Sep 19, 2019

    @escamoteur
    Contributor

    You mean so that the App can access this information at runtime?

  7. blasten commented on Sep 19, 2019

    @blasten
    Author

    You mean so that the App can access this information at runtime?

    The tool. This information is not exposed to the app at runtime.

  8. blasten commented on Mar 10, 2020

    @blasten
    Author

    This is obsolete now.

  9. lock commented on Apr 5, 2020

    @lock

    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.

  10. locked and limited conversation to collaborators on Apr 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: proposalA detailed proposal for a change to FluttertoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions