AndroidPub
Published in

AndroidPub

Use Firebase Storage Without Using Firebase Authentication

No Firebase Authentication…

Image Source: https://code.tutsplus.com/tutorials/get-started-with-firebase-storage-for-ios--cms-30203

To use the Firebase Storage we need to authenticate a user via Firebase authentication.

The default security rules require users to be authenticated.

Firebase Storage is basically a powerful and simple object storage, in which you can store your files easily.

Firebase Storage Default Settings:

How you can see this, first you need to go the storage and then go to rules so that you can see like below screenshot.

Image From : Firebase Console

How You can change the default settings:

First, you need to select the storage and then go to rules after that change this line

request.auth != null;

To

request.auth == null;

How it will look after changed this line, see the below screenshot.

Image From: Firebase Console

Now, you are able to use Firebase Storage without using Firebase authentication.

Happy Coding…:-)

Thanks for reading this article. Be sure to clap to recommend this article if you found it helpful. It means a lot to me.

If you need any help then Join me on Twitter, Linkedin, Github, and Subscribe to my Youtube Channel.

--

--

The (retired) Pub(lication) for Android & Tech, focused on Development

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store