Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Commit

Permalink
stateleveltenantidconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
rahuldevgarg committed Dec 5, 2023
1 parent 65e4b1f commit 3114a0f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion frontend/mgramseva/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,11 @@ void main() {
};

WidgetsFlutterBinding.ensureInitialized();
await dotenv.load();
if(kIsWeb){
await dotenv.load();
}else{
await dotenv.load(fileName: 'assets/.env');
}
if(kIsWeb){
await Firebase.initializeApp(options: FirebaseConfigurations.firebaseOptions);
}else{
Expand Down
4 changes: 2 additions & 2 deletions frontend/mgramseva/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html

version: 1.2.17+33
version: 1.2.18+34

environment:
sdk: ">=2.12.0 <4.0.0"
Expand Down Expand Up @@ -112,7 +112,7 @@ flutter:
- assets/png/
- assets/icons/
- assets/svg/
- assets/
- assets/.env
# To add assets to your application, add an assets section, like this:

# - images/a_dot_ham.jpeg
Expand Down

0 comments on commit 3114a0f

Please sign in to comment.