Skip to content

Make pub aware of used platforms #3932

@wujek-srujek

Description

@wujek-srujek

I'm writing a mobile app with Flutter and I'm using packages (wakelock and package_info_plus) that in their most recent versions have a conflict in their win32 dependency. For this reason, my project fails to resolve dependencies, even though I don't care about Windows at all (this is a fact and won't change, the app makes no sense on the desktop).

Pub could know about the platforms my project supports (I specify them when I create a new project with flutter create --platforms ...) and then it could decide to not report error conditions for irrelevant ones.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions