Created
December 8, 2021 02:16
-
-
Save csells/74512c9f2a5ec9a38878e384f22e14bf to your computer and use it in GitHub Desktop.
This file contains hidden or 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
import 'package:firebase_core/firebase_core.dart'; | |
import 'firebase_options.dart'; // generated via `flutterfire` CLI | |
Future<void> main() async { | |
// initialize firebase across all supported platforms | |
WidgetsFlutterBinding.ensureInitialized(); | |
await Firebase.initializeApp(options: DefaultFirebaseOptions.currentPlatform); | |
runApp(MyApp()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment