Reputation: 4274
First I have to say I'm new to the Flutter and related technologies. Resonantly I have started working with opensource Flutter project. I faced this problem during setup the project in my local environment. In the README section this step described as follows,
Configure the
lib/config.dart
using the format provided inlib/config_example.dart
.
So as they said I have created new file inside the lib directory called config.dart
and added the code snippet from the mentioned example folder.
const String API_BASE_URL = "";
Now what the problem is I don't know what should I add to the API_BASE_URL
I have refereed internet and slimier stack overflow questions but still unable to find an answer. Any help will be greatly appreciated.
Upvotes: 0
Views: 579
Reputation: 2956
For implementing firebase in a flutter, you must require google-services.json
file in the project.
Check out this for the implementation of a firebase and this for configuration in flutter for better understanding.
Upvotes: 1