I'm currently learning to implement angularfire2 in my project. Unfortunately I'm currently stuck. I set up my Angular-Project like described here
https://github.com/angular/angularfire2/blob/master/docs/install-and-setup.md
I also set up a database in firebase with a the rule set
{
"rules": {
".read": "true",
".write": "true"
}
}
But when I try to run the application in my console in the browser gives me the following error
ERROR Error: The Cloud Firestore API is not enabled for the project
Now I found a way to enable the API here
https://console.cloud.google.com/apis/library/firestore.googleapis.com/?project=projectname
leaving me now with the error
ERROR Error: Missing or insufficient permissions
My problem now is I can set up API keys (but also also got a different API-key from my firebase console?) and OAuths, but I have no idea how to implement those is my code. Just simply generating an API key and using that one in the environment.firebase config didn't work. Would be great if someone knew anything. I'll keep on trying and let you know if I get it to work as well.