Firebase Emulator - upload suddenly stopped working - firebase

Currently building a spa using firebase emulator and Vue. All of a sudden its stopped being able to write to storage and firestore.
After drilling down into the debug.log I've found what I think could be the issue
command requires scopes
Https://www.googleapis.com/auth/cloud platform projects.readonly
Really not sure where to start resolving this so any guidance would be appreciated

Related

How do I use putFile function to add the image in uplaod function? [duplicate]

Firebase Storage Image not showing for 2/3 days. I have some published apps, inside those apps have some Images showing from Firebase Storage and now suddenly it is not showing/viewing. I have also checked those images from Browser > Firebase Console > Storage, but it is not showing image preview and shows: "Error loading preview". But My Firebase Firestore data is showing without any error. I checked Storage Quota, no issue about that. My Firebase Plan is "Blaze" Pay as you go.
Now, what steps should I take to solve the problem? Can anybody help me regarding this issue?
This is not firebase problem, i already contacted with firebase team.
This problem happening from 29th December from Bangladesh.
I think this is an mistake from BTCL, now you can use VPN but this is not solution,
We have to wait or have to communicated with BTCL for solve this issue.
I even couldn't deploy firebase functions using firebase-tools from Bangladesh.
So I contacted firebase team and seems they have nothing to do as this is a country specific problem.
For now I am deploying functions from a headless remote environment.
This issue needs to be sort out either BTRC or google.

Log errors from app on Google Play using Crashlytics

Probably silly question, but is it possible to send errors using Crashlytics from users that downloaded my app from Google Play? Until now I was using Crashlytics to collect errors from my app distributed by Firebase (so it was only for me and invited people). But I have released my app on Google Play and I can't see any errors from devices that downloaded my app in Google Play. I read that when I link my Google app with Firebase I can see purchase and subscription and analytics but no mention of Crashlytics. So my question is.. Is it even possible? Thank you very much.
Is the package name the same on your "release" version on the store? If your test one was called com.patrik.coolapp.debug (which is the default if you're using a debug build) then you'll need to add com.patrik.coolapp as an App in your Project in the Firebase console.
If you already had Crashlytics set up (all the dependencies, added the plugin, FirebaseCrashlytics.getInstance().setCrashlyticsCollectionEnabled(true) somewhere in your app) then it should just work - here's some advice on testing:
https://firebase.google.com/docs/crashlytics/test-implementation?platform=android
So I finally made it..
I'd like to thanks to #cactustictacs for help.
The problem was that I did not integrate Google Play in project settings in Firebase, although it is saying that it is just for Analytics and Subscription.
Before I integrated Google Play in Firebase I tried to add FirebaseCrashlytics.getInstance().setCrashlyticsCollectionEnabled(true) .. it did not work, but I believe it could be usefull to someone.
It wouldn't be such a problem, but it is required to have Owner or Admin permissions on both Firebase account and Google Play console account (which I did not have). After I get the permissions, integration was enabled and I could see test crashes in Crashlytics.

Firebase not loading the data

Has anyone experienced this kind of issue?
Firebase's started not loading the data on deployed and virtual devices all of a sudden 🙂
Tryed out to clone the code and implement with the new database on another Google profile, but it doesn't help so far.
Deployed on:
Apple AppStore (TestFlight)
Google Play Market
Vedeo: https://imgur.com/6ZrZ8u1
It appears to be the issue was caused by config files on Firebase somehow those configs are affected the entire database and deleting them and reconfiguring has helped to resolve it.
To be more precise I went to Project settings -> Your apps -> SDK setup and configuration section then added the new config files for each Android, iOS, Web apps. And voila the app is back on :)

Error while trying to create Firebase Firestore Database

I am new to Firebase. When I am creating a new Firestore database am getting this error
Enabling Cloud Firestore will prevent you from using Cloud Datastore with this project, notably from the associated App Engine app
All solutions I found online are completely targeting experts/individual who knows their way around Firebase and Google Cloud. To me, this error is a roadblock. I tried using my other Gmail accounts, creating new projects and the same error appears. even the cancel and close buttons seen are not working I have to refresh just to get back.
Kindly help or guide me what should I do.
Based on #JoshL.Minga and #RenaudTarnec comments, the issue was narrowed down to a specific browser. After switching to Safari it didn't reproduce.
This issue has been reported to Google support.
Aside from that, you may want to try creating a Frirestore DB using a brand new project. Make sure that your new project is created via the Firebase console and not in the GCP console.

Cloud Functions deployment failiure from Firebase

I seem to be unable to deploy Google Cloud Functions successfully.
I have created a project on Google Cloud Platform and then proceeded to link it to Firebase via the Firebase console. I select ADD PROJECT and Add Firebase to an existing project. Everything seems to link.
When I try to deploy a cloud function (the simple helloWorld that comes with installing firebase-tools) I keep getting deployment errors. This also happens when trying to deploy functions from Google Cloud Functions dashboard as well.
The error is something aboud setting up the environment.
After ttrying to rename the function to something else, I seem to have luck with deploying but then the function but there is a communication error Function load error: Error: cannot communicate with function.
I am unable to deploy functions on two of my projects, and firebase has been acting very strangely in the last few days, so can somebody please tell me if I am doing something wrong or is it a Firebase glitch
Maybe because there is an outage starting from early this morning. Check status here: https://status.firebase.google.com

Resources