mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-11-27 20:24:55 +00:00
curtain changes
This commit is contained in:
@ -16,7 +16,7 @@ void main() {
|
|||||||
//to catch all the errors in the app and send them to firebase
|
//to catch all the errors in the app and send them to firebase
|
||||||
runZonedGuarded(() async {
|
runZonedGuarded(() async {
|
||||||
//to load the environment variables
|
//to load the environment variables
|
||||||
const environment = String.fromEnvironment('FLAVOR', defaultValue: 'development');
|
const environment = String.fromEnvironment('FLAVOR', defaultValue: 'production');
|
||||||
await dotenv.load(fileName: '.env.$environment');
|
await dotenv.load(fileName: '.env.$environment');
|
||||||
|
|
||||||
// //this is to make the app work with the self-signed certificate
|
// //this is to make the app work with the self-signed certificate
|
||||||
|
|||||||
Reference in New Issue
Block a user