-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.dart
More file actions
28 lines (27 loc) · 826 Bytes
/
main.dart
File metadata and controls
28 lines (27 loc) · 826 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import 'package:flutter/material.dart';
import 'package:app/main/env/env_config.dart';
import 'package:app/main/init.dart';
void main() async {
WidgetsFlutterBinding.ensureInitialized();
FlavorConfig(
flavor: Flavor.prod,
values: FlavorValues(),
);
//Add your firebase configuration here
/*await Firebase.initializeApp(
options: const FirebaseOptions(
apiKey: "your_key",
authDomain: "your_auth_domain.firebaseapp.com",
databaseURL: "https://your_db_url.firebaseio.com",
projectId: "your_project_id",
storageBucket: "your_storage_bucket.appspot.com",
// Add your messaging sender Id
messagingSenderId: "000000000",
// Add your App Id
appId: "----------",
// Add your measurementId
measurementId: "G-21AWEQTWR",
),
);*/
init();
}