-
Notifications
You must be signed in to change notification settings - Fork 66
Expand file tree
/
Copy pathmain.dart
More file actions
36 lines (24 loc) · 1 KB
/
main.dart
File metadata and controls
36 lines (24 loc) · 1 KB
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
29
30
31
32
33
34
35
36
// Copyright 2024, the dart_firebase_admin project authors. All rights reserved.
// Use of this source code is governed by an Apache 2.0 license that can be
// found in the LICENSE file.
import 'package:dart_firebase_admin/dart_firebase_admin.dart';
Future<void> main() async {
final admin = FirebaseApp.initializeApp();
// Uncomment to run auth example
// await authExample(admin);
// Uncomment to run project config example
// await projectConfigExample(admin);
// Uncomment to run tenant example (requires Identity Platform upgrade)
// await tenantExample(admin);
// await firestoreExample(admin);
// await functionsExample(admin);
// Uncomment to run messaging example (requires valid fcm token)
// await messagingExample(admin);
// Uncomment to run storage example
// await storageExample(admin);
// Uncomment to run app check example
// await appCheckExample(admin);
// Uncomment to run security rules example
// await securityRulesExample(admin);
await admin.close();
}