Skip to content

Commit

Permalink
Ensure Firestore example widgets are initialized (firebase#1859)
Browse files Browse the repository at this point in the history
  • Loading branch information
kroikie authored Jan 23, 2020
1 parent f440b87 commit 36b3880
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import 'package:firebase_core/firebase_core.dart';
import 'package:cloud_firestore/cloud_firestore.dart';

Future<void> main() async {
WidgetsFlutterBinding.ensureInitialized();
final FirebaseApp app = await FirebaseApp.configure(
name: 'test',
options: const FirebaseOptions(
Expand Down

0 comments on commit 36b3880

Please sign in to comment.