1.9 KiB
title |
---|
Setting up Firebase Storage |
Setting up Firebase Storage
Prerequisites
- The latest version of Android Studio
- Have connected with Firebase manually or via Firebase Assistant (See Connecting to Firebase).
It is recommended that you do this so as to not be confused by partial instructions related to this in the docs mentioned below.
Setting it up with Android Studio
After adding Firebase to your project, you will need to add extra dependencies and do some other things in order to setup the Firebase Storage. There are following documentation about this:
There may be chance of confusion in that documentation or if you are new to firebase then you may face little bit hard to understand it. So follow the belows steps carefully:
Add Gradle Dependencies
In your app-level build.gradle file, add the following
dependencies {
implementation 'com.google.firebase:firebase-storage:16.0.2'
}
Installation of Firebase Android SDK, permissions and setup code
Detailed instructions for these can be found here.
Resources
To learn about how to read from and write to the storage in your Android application, refer to the docs listed below.
Sample Projects from Firebase Developers
You can follow up these samples from Firebase developers to get started Firebase storage Firebase Quickstart-Android android-sample
Note
Google now deprecated 'compile' and in place of that you need to use 'implementation'.