7,247 questions
2
votes
0
answers
55
views
How to read all files in a folder using Flutterfire?
I've been trying to simply read out all the files of a folder, so I can detect new files uploaded by users and parse them. However, I cannot get any output from a listResult, always just []
The thing ...
0
votes
0
answers
42
views
Firebase storage image urls keep returning access denied response
I have a small app where I am using firebase functions to upload an image into firebase storage.
Once done, I store this image url against an object in firebase db and then reuse this image in the app ...
0
votes
1
answer
59
views
Firebase storage security rules accessing Firestore - Invalid function name: get
I'm writing Firebase Storage security rules to ensure that only the user who created a specific order can access the associated files. However, when I deploy the rules using firebase deploy --only ...
0
votes
1
answer
84
views
iOS Firebase Storage Upload Task Unknown Error
I am attempting to upload a zip file to Firebase storage. The zip file is located in the documents directory for my app.
I create the reference and use putFile to start the upload
let storageReference ...
0
votes
0
answers
47
views
Images stored in firebase storage is not displaying on expo development build
I am trying to use firebase storage as a backend for my Images in my new react native app.
I use the following function to upload the photos
const uploadPhoto = async (uri, userId) => {
const ...
1
vote
1
answer
70
views
Firebase Storage permission error when security rules get document from Firestore
FirebaseError: Firebase Storage: User does not have permission to access 'vehicles/LwDaUZiAn8WIfye5Oj6S/backgroundPic'. (storage/unauthorized)
I am completly stuck with firebase rules. It's not ...
0
votes
1
answer
119
views
Google Cloud Document AI cannot access Firebase Storage bucket - permission error
I'm trying to import documents from Firebase Storage into Google Cloud Document AI but I'm getting a persistent permission error even after adding the Storage Admin role to the Document AI service ...
1
vote
0
answers
50
views
Firebase App Check: Unverified requests on iOS (1-10%)
We have set up App Check for our app. In our production environment (used for TestFlight testing, not yet publicly released), we are seeing a certain percentage of unverified requests.
For Firebase ...
0
votes
1
answer
80
views
The CORS policy on firebase storage is blocking any upload from flutter web app even though it has been set
I have set the CORS configuration on my firebase storage bucket like this :
[
{
"origin": ["https://arptc-connect.web.app", "*"],
"method": [&...
0
votes
0
answers
20
views
Issue while creating location for storage in firebase.error :The location for this project is already set to another value [duplicate]
In firebase i created fire-store in location of asia-south1
when i try to set same location for this firebase storage (asia-south1)
getting error of The location for this project is already set to ...
1
vote
0
answers
34
views
Firebase CLI: "Cloud resource location is not set" error even after setting location for Cloud Storage
I'm trying to set up Firebase Storage in a new Angular project using firebase init storage.
I already set the Cloud resource location (europe-west3) in the Firebase Console, but when I run the init ...
1
vote
0
answers
76
views
Image doesn't upload to storage In firebase
I am doing an app in flutter and I try to upload image to firebase but I get error each time.flutter: Starting upload for: image_1745500221837.jpg
flutter: File path: /Users/elenaraluca/Library/...
0
votes
0
answers
24
views
Why does Glide require an additional module or manual registration to load Firebase Storage references?
I’m working on an Android app that uses Glide to load images from Firebase Storage (using StorageReference). Initially, I was using the following standard Glide call:
Glide.with(context).load(...
1
vote
1
answer
66
views
Firebase Storage security rules: get() to Realtime Database dont work
I’m trying to create a Firebase Storage rule that only allows access to files under /approved/ if the user has a permission: true field in the Realtime Database, located at this path:
/Users/{uid}/...
1
vote
1
answer
331
views
Firebase Cloud Function - Can't find the storage bucket region
Trying to deploy my firebase cloud function and getting the following error:
Error: Can't find the storage bucket region
The function I'm trying to deploy looks like:
import {initializeApp} from &...
0
votes
1
answer
50
views
Handling CORS origin sites with wildcard in url
Im running a site with google firebase. Our github repo makes a preview deployment when we make a PR. I would like to have those temporary build urls to be approved by cors. Here is what I have in the ...
0
votes
0
answers
97
views
How to force Background Uploads with Firebase Storage using Swift?
I am uploading small files to Firebase Storage, approximately 276KB a piece. The app can choose to do a small handful of these uploads per day from the background. The desired behavior is that ...
2
votes
1
answer
75
views
Image not uploading to Firebase Storage plus Image URL not uploading to Firestore
I am building a Flutter app where there is a page for creating an account. When I click the button next it is supposed to call the createAccount method that will upload fields to Cloud Firestore. ...
1
vote
2
answers
68
views
image cannot be shown in Firebase with flutter but the URL link is valid
I am making an application with Firebase using Android Studio for my FYP. I am making a forum page for users to use. I am using file picker to retrieve and input images. The problem is images cannot ...
4
votes
2
answers
2k
views
Flutter Web not showing images . Giving EncodingError: The source image cannot be decoded
I am using Flutter web for my application.
I used --web-renderer html previously but now I have updated Flutter which no longer supports web-rendering flags.
This is how my code looks like.
...
0
votes
0
answers
33
views
Firebase storage unit tests: Timeout when trying to upload files using emulator
When running the below test via npm test, I get the following output:
Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure ...
3
votes
2
answers
53
views
Can not catch exception in android firebase
I try to catch an exception while sending a request to Firebase Storage when no internet connection. But it seems the code in the catch block has not been reached. Here is my code:
...
0
votes
0
answers
45
views
Can you download large files to mobile from Firebase Storage?
I've built a React app using Firebase where a list of files is presented to the user to download from Firebase Storage.
This all works fine on a desktop, and it works fine on mobile if the file is ...
0
votes
0
answers
39
views
An issue regarding reading data from my sqlite and sending it as a csv file to storage database
I'm having a persistent issue with my flutter app.
I have only two functions where the issue is happening.
The first function inserts data and reads the last 10 recrods from my sqlite database.
Future&...
2
votes
1
answer
62
views
Next.js fails to upload image to firebase
I am trying to upload images to firebase firestorage from our Next.js app. We already have our firebase firestorage credentials set up in our environment variables, and I believe we have initiated ...
3
votes
1
answer
770
views
Loading image from Firebase storage doesn't work after update to latest Flutter [closed]
After updating to the latest Flutter, I got issues loading images from Firebase storage. This error in detail: Another exception was thrown: HTTP request failed, statusCode: 0, (link of image from fb ...
0
votes
0
answers
31
views
cannot upload MP3 to app and firebase issue
import SwiftUI
import FirebaseStorage
import FirebaseFirestore
import AVFoundation
import UIKit
import FirebaseAuth
struct Phonogram: Identifiable {
var id = UUID()
var name: String
var ...
0
votes
0
answers
38
views
Image can't upload to Firebase
I'm trying to make a Portfolio using React.Js + Firebase, my goal is to add text and images from my Admin Panel to Portfolio. Since I'm working with a partner, my role is to make the Admin Panel but ...
0
votes
0
answers
79
views
PDF generation not working in production - Next.js
I have an error where my code isn't executing the pdf generation function in production, but it's working perfectly in development.
This is the error on the console:
https://firebasestorage.googleapis....
0
votes
1
answer
70
views
Flutter & Firebase - Image loading failure from Firebase Storage on Android test device
I'm developing a clothing management app for Android devices using Flutter. Text data related to clothes (material, color, season, imageUrl...) is stored in Firebase Database, and images are stored in ...
0
votes
2
answers
81
views
my flutter app don't read firebase url's images from my firestore
my networkimage can read images from other links, but when it's from firestore it can't read, I don't know why, I've already checked and the link that the console shows is working normally, the ...
0
votes
0
answers
87
views
firebase/storage-resize-images fails to deploy after installation
After installing firebase/[email protected] via command line as:
firebase ext:install firebase/[email protected]
After this, I go through all the steps. As part of the logs ...
0
votes
1
answer
133
views
How can I manage write to Firestore and Cloud Storage while offline?
I have a flutter app where I have a Stream<DocumentSnapshot<Map<String, dynamic>>>? listening to a users account in my Firebase Firestore database.
I ran into an issue when testing ...
0
votes
0
answers
15
views
I upload multiple images to firebase storage but can not assign their urls to array in view model
here is my code. I have multiple selected images, for each image first I upload it to Firebase Storage and trying ti fetch that url. When I debug it I can print url string but it can not be appended ...
0
votes
2
answers
154
views
TypeError: functions.storage.object is not a function with firebase
I am trying to use Firebase Functions to listen for file upload events in Cloud Storage, but I encountered an error during deployment that says:
functions.storage.object is not a function.
...
2
votes
1
answer
1k
views
Firebase-Storage Access to fetch at '..' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource
I am tying to load an image using the following code:
const blob = await fetch(
"https://firebasestorage.googleapis.com/...?alt=media"
)
.then((r) => r.blob())
const reader = ...
0
votes
1
answer
3k
views
Firebase Storage Bucket Domain Shows " firebasestorage.app " Instead of " appspot.com " [closed]
I’m currently working on a Firebase project where I’m trying to configure Firebase Storage. I’m using the Spark Plan (free tier), and I noticed two issues:
1.The storageBucket in my Firebase config ...
1
vote
0
answers
141
views
Firebase Storage Images not loading in Flutter Web - CORS Error in Chrome and Safari
I'm building a Flutter web app that loads images from Firebase Storage. The app works fine on mobile but images fail to load on web browsers with CORS errors:
Failed to execute 'texImage2D' on '...
-1
votes
1
answer
698
views
Firebase cloud storage ( for projects) [closed]
I'm working on a new project and was planning to use Firebase Storage to handle file uploads. In some of my previous projects, I was able to use Firebase Storage for free under the Spark Plan for ...
0
votes
0
answers
44
views
How to Upload profileImage to Firestore Database?
i make the register user in firebase
in registerViewcontroller
i have username, email, password and profileImage
below image is Firestore structure
this is what i save user information in firestore ...
0
votes
0
answers
57
views
Get Firebase AppCheck Token on .NET backend
I'm trying to upload an image to the Firebase Storage from the .NET backend. Everything is working till I activate AppCheck for Storage. And I started to get the error "Firebase App Check token ...
1
vote
0
answers
45
views
Firebase Storage with Angular SSR app “ERROR Error: Service storage is not available”
I'm trying to use Firebase Storage in my angular SSR app, but I get
ERROR Error: Service storage is not available initializing the app.
I'm using this code in providers applicationConfig:
...
1
vote
0
answers
82
views
Anyone know how to fix this Firebase & SwiftUI app "Network is down" error
I'm using Firebase and getting an error which leads to perpetual loading on my loginView.
Here is the error I get in the console when I try to create an account (it save the info to the database ...
0
votes
0
answers
69
views
Flutter Firebase Storage Error: [firebase_storage/unknown] cancelled during image upload (iOS emulator)
I am trying to upload an image to Firebase Storage in my Flutter app. Firebase initializes successfully, and the upload begins, but it fails midway with the error:
Error ::
[firebase_storage/unknown] ...
2
votes
1
answer
87
views
How can I avoid a read error from the Cloud Storage emulator?
I have closed access for some rules, to authorise only Firebase Admin SDK from a Cloud Functions, to read or write a file in Cloud Storage.
storage.rules content:
rules_version = '2';
service ...
0
votes
1
answer
38
views
How to update Firebase Storage URL before displaying items in SwiftUI View
I'm retrieving list of exercises from Firebase and filtering it. After that I need to make another async request to resolve video URL and update it (see code below). The issue is that exercises are ...
0
votes
1
answer
109
views
Can't upload files to firebase cloud storage. Error: "No objects exists with the desired reference"
All requests using the firebase cloud storage sdk result in a "no objects exists with the desired reference". The same code built with expo and react native runs perfectly well on a friend's ...
0
votes
2
answers
126
views
Firebase Storage error: [firebase_storage/object-not-found] No object exists at desired reference. why that code can't upload images to firebasestore
I am new to work with firebase. ı am treying to develop an app which tere is profe page for users. to get banner iamge from the user ı wrote the code below.
File? _bannerImage;
Future<void> ...
0
votes
2
answers
339
views
Can't init firebase cloud storage due to cloud resource location
I’m using Firebase emulators to develop and test Cloud Functions locally, and one of my use cases involves uploading a file to Cloud Storage. As part of this process, I initialize Firebase emulators ...
0
votes
0
answers
62
views
How to send large data from service worker to firebase in chrome extension?
I have been trying to send 4mb mp3 audio file from service worker to firebase storage for days now, still couldn't able to work.
Here is what I tried
Tried sending small(in kb) mp3 file and it worked ...