flutter / flutter/devtools

Deeplink tools should have build parameters

Offen
#9,219 3 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug P2 screen: deep links
Vorherrschende Sprache
Dart
Sterne
1.7k
Forks
404
Ø Merge
6 T. 17 Std.
Gemergte PRs (30 T.)
18

Beschreibung

My app will not compile like a barebones app. I have many flavours and `main` files.

When I try to use the deeplink tool I get the following error:

Image

As you can see, the deeplink tool is looking for a `main.dart` file, but I don't have one. I have `main_production.dart`, `main_staging.dart`, and etc.

If it's trying to compile, it will also need to setup a `--flavor` flag and for many apps out there, also `dart-define`.

If this tool needs to build an app, then it should allow for extra build parameters, to accommodate all possible scenarios provided by the `flutter build` tool.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.