-
Notifications
You must be signed in to change notification settings - Fork 29.6k
Closed
Labels
p: firebaseFirebase pluginsFirebase pluginsp: firebase_databaseThe Firebase Database pluginThe Firebase Database pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.
Description
Future<void> loadFromFirebase() async {
var options = new FirebaseOptions(
googleAppID: "***",
apiKey: "**",
databaseURL: "**",
);
final FirebaseApp app = await FirebaseApp.configure(
name: "name",
options: options
);
var database = new FirebaseDatabase(app: app);
}
When app is created the options property shows a number of errors
Then when creating database the databaseURL is null which means it somehow has not been set up correctly in app (as my understanding is that it should grab it from app)
The logs don't indicate anything about this issue. What am I missing?
Metadata
Metadata
Assignees
Labels
p: firebaseFirebase pluginsFirebase pluginsp: firebase_databaseThe Firebase Database pluginThe Firebase Database pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.
