-
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from guyluz11/dev-multi-isolats
Fixed device scan hangs
- Loading branch information
Showing
15 changed files
with
558 additions
and
202 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import 'package:get_it/get_it.dart'; | ||
import 'package:injectable/injectable.dart'; | ||
import 'package:vernet/injection.config.dart'; | ||
|
||
final getIt = GetIt.instance; | ||
|
||
/// Saves the current environment for manual use | ||
late String currentEnv; | ||
|
||
@injectableInit | ||
void configureDependencies(String env) { | ||
currentEnv = env; | ||
$initGetIt(getIt, environment: env); | ||
} | ||
|
||
abstract class Env { | ||
static const String test = 'test'; | ||
static const String dev = 'dev'; | ||
static const String prod = 'prod'; | ||
|
||
/// Demo of the app with fake data | ||
static const String demo = 'demo'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.