Using Firebase Storage #266
-
Hello Gladly, Is there any known issue regarding using Firebase Storage? I cannot get my app to recognise the storageBucket and keep getting
I've tried copying in the Firebase config directly to my Firebase init file because I couldn't understand why it won't recognise the storageBucket (i.e. not using process.env...) but it still wont recognise it. I've built lots of projects with Firebase and have never experienced this before. I have followed the instructions from https://github.com/gladly-team/next-firebase-auth#using-the-firebase-apps:
I've even tried moving over to Supabase storage, but the app wont recognise the supabase instance either, but maybe that could be a different issue. It's a private account page, so I'm closing out the page with:
Many thanks for any guidance. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
I had the same issue for a while. Passing the bucket URL in the const storage = firebase.app().storage('gs://your-project.appspot.com');
const storageRef = await storage.ref(); |
Beta Was this translation helpful? Give feedback.
-
No known bugs, but please let me know if you identify any problems. FYI, the |
Beta Was this translation helpful? Give feedback.
I had the same issue for a while. Passing the bucket URL in the
firebase.app().storage('url')
function worked for me 😬