I'm trying to setup firebase for my flutter macos app. I followed the steps in the setup guide, meaning I have done:
- Created the macos platform with
flutter create . - flutterfire configure --project=PROJECT_NAME --platforms=macos
- Initialize the app with
await Firebase.initializeApp(
options: DefaultFirebaseOptions.currentPlatform,
);
The flutterfire configure command created the macos app in my Firebase project and I made sure it uses the correct Bundle Id.
However my documents from firestore are not loading and I get the following error
Unhandled Exception: [cloud_firestore/unavailable] The service is currently unavailable. This is a most likely a transient condition and may be corrected by retrying with a backoff.
I'm using the latest firebase package versions. Nothing I have tried works so far.
What could this error mean? All I found so far was this, but this describes only a offline issue, which is not the case here.