FirebaseError: Firebase Storage: This app does not have permission to access Firebase Storage on this project - firebase-storage

I've got such strange problem. I've got properly configured Firebase App with firebase iOS, android and web app. Everything were good and access to storage were without any problems but since something strange happened to billing account inside firebase, something strange started happening.
After everything were reconfigured again with billing account and selecting again Blaze plan I've started to receive such error -> FirebaseError: Firebase Storage: This app does not have permission to access Firebase Storage on this project
Whole error message is below:
FirebaseError: Firebase Storage: This app does not have permission to access Firebase Storage on this project. (storage/unauthorized-app)
{
"error": {
"code": 401,
"message": "Firebase App Check token is invalid."
}
}
This problems occurs on android, iOS and web app.
I've another firebase project with the same app for test purposes and there is no problem with that. I'm sure that this isn't problem with rules in storage because I've got the same configuration inside these 2 projects on firebase.
Could you help me with resolving this issue? I'm stuck here and I haven't found any answer how to repair it.

Related

Firebase Analytics debugview console not working

I've got Firebase Analytics configured for my Flutter app with -FIRDebugEnabled passed into the Xcode scheme. When I run the app, Firebase Analytics says that debug mode is enabled and that everything is working correctly. Events get logged with a successful upload.
However, nothing appears in Firebase Console. 0 active users, no devices found in DebugView and no events logged.
I ran flutter clean, reinstalled the app and still nothing is working. I've also added AdSupport.framework to the iOS app.
Anyone knows what might be happening?

Implementing google login flutter gives 12500 error

I implemented google login in flutter without using firebase in flutter (google cloud console). It was working in apk then later I needed push notification service for which I used firebase (fcm token and all) then I released the app to playstore but google login does not work. I keep getting apiexception error. Has anybody faced this issue? if yes any help would be highly appreciated.
I do not have a specific answer to your problem but I have also faced this problem once, I accidentally resolved it though.
But Error 12500 is a general error code that may occur when attempting to use the Google Sign-In feature and is caused by a few potensial issues:
An issue with the SHA-1 fingerprint of your app's signing
certificate: To use Google Sign-In, you need to configure your app's
SHA-1 fingerprint and package name in the Firebase console. Make
sure that the fingerprint and package name you have configured in
the Firebase console match the ones you are using to sign your app.
An issue with the Google Services configuration file: Make sure you
have properly added the Google Services configuration file to your
app.
An issue with the Google Play Services library: Make sure you have
the latest version of the Google Play Services library installed in
your app.
An issue with the device or emulator you are using: Make sure you
are testing on a device or emulator that has Google Play Services
installed and is up to date.
Possible fixes to try/check:
Double-check the SHA-1 fingerprint and package name: Make sure that
the SHA-1 fingerprint and package name you have configured in the
Firebase console match the ones you are using to sign your app.
Make sure you have added the Google Services configuration file: The
Google Services configuration file is required for your app to
communicate with Google services, including Google Sign-In. Make
sure you have properly added this file to your app.
Update the Google Play Services library: Make sure you have the
latest version of the Google Play Services library installed in your
app. You can check for updates by going to the "SDK Manager" in
Android Studio.
Test on a device or emulator with Google Play Services installed:
Make sure you are testing on a device or emulator that has Google
Play Services installed and is up to date.
I hope this helps! I will quickly search if I can find any other solution.

PERMISSION DENIED when using Firebase AppCheck in emulator suite

I'm implementing AppCheck in my app in order to prevent bad access to Firestore. I activated the service in Firebase Console and add this line await FirebaseAppCheck.instance.activate(); after Firebase initialization.
Now, if I try to access Firestore in my app through emulator it logs PERMISSION DENIED.
How could I develop updates for my app and continue testing while AppCheck is enabled?
After you have registered your app for App Check, your app normally won't run in an emulator or from a continuous integration (CI) environment, since those environments don't qualify as valid devices. If you want to run your app in such an environment during development and testing, you can create a debug build of your app that uses the App Check debug provider instead of a real attestation provider.
Refer documentation Flutter app Check details.
However, as per the documentation, the debug provider does not currently have a Dart API; you'll need to apply the changes separately for each of your platforms.
You may check the App Check debug provider available for other platforms like Apple, Web and Android.

Aws amplify facebook login app - broken url detected

Simple question really.
How do I make my facebook app live.
Steps taken...
I made a very basic project by running:
create-react-app;
amplify init;
Then I created a facebook app in facebook for developers.
Using the app id and app secret from that app I ran:
amplify add auth
amplify push
At which point my amplify project was created in AWS.
I took the user pool domain and added it to the facebook app:
App domains: [Userpool Domain]
Site url: https://[Userpool Domain]/oauth2/idpresponse
At this point I can use aws amplify in my react project to login using facebook, so it must be set up correctly.
But I can't set my facebook app to live, since it complains about a broken url detected.
And using the sharing debugger I see the https:///oauth2/idpresponse url returns a response code 400.
Can anyone please tell me.
How do I fix this??
This is the error thrown by facebook:

Google Cloud Storage download fails in some users' devices

I'm creating an app with Unity3d 2019.2.9f1, and trying to utilize Google Cloud Storage as a data store of asset bundle.
In some users' environment, there were network errors below:
400 GET https://storage.googleapis.com/storage/v1/b/...
'Unable to complete SSL connection' response: 'Unable to complete SSL connection'
This error occurred in Samsung S7 edge、Redmi Note 7S, but wasn't seen in iPhone or many other android devices.
If anyone knows about this error, please help me...
I asked one user who was facing the error to go directly to the storage.googleapis.com link in his Google Chrome app, and it failed with "net::ERR_CONNECTION_CLOSED".
However, by shutting down and restarting device and uninstall&reinstalling the app from Google Play Store, he said the app started to work fine.... So anyway it seems it was solved🙌