Skip to content

request: Support running in Jaspr projectsΒ #421

@schultek

Description

@schultek

Is there an existing feature request for this?

  • I have searched the existing issues.

Command

No response

Description

Jaspr is a popular Dart web framework and recommended by the Flutter team for building websites in Dart. It has the special feature to use Flutter plugins (like the firebase plugins) while not directly requiring a flutter project. However, users of Jaspr cannot currently use flutterfire_cli because every command executed in a Jaspr project fails with:

FlutterAppRequiredException: The current directory does not appear to be a Flutter application project.

It would be great to enable users of Jaspr to use the cli as well and not need to do workarounds or manually setup the plugins. I propose one of two possible solutions:

  1. Detect Jaspr directly and skip this exception.
  • Pro: Seamless experience for Jaspr users.
  • Con: Jaspr-specific logic inside the cli, which I can understand if this is not desired.
  1. CLI flag to disable the flutter check.
  • Pro: Independent of Jaspr, can be used in any Dart project
  • Con: Needs to be set on every run.

Reasoning

This would make the firebase plugins a lot easier to use for Jaspr users.

Additional context and comments

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs AttentionOP created or responded to issue and it needs attention.triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions