flutter / flutter/devtools

Deeplink tools should have build parameters

Aperta
#9,219 3 commenti 2 reazioni 0 assegnatari Vedi su GitHub
bug P2 screen: deep links
Lingua principale
Dart
Stelle
1.7k
Fork
404
Merge medio
6g 17h
PR unite (30g)
18

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.