Files
react-native-firebase/docs/storage/quick-start.md
2019-11-04 09:02:11 +00:00

45 lines
1.0 KiB
Markdown

---
title: Quick Start
description: Getting started with Cloud Storage in React Native Firebase
---
# Cloud Storage Quick Start
## Installation
This module depends on the `@react-native-firebase/app` module. To get started and install `app`,
visit the project's <Anchor version={false} group={false} href="/quick-start">quick start</Anchor> guide.
Install this module with Yarn:
```bash
yarn add @react-native-firebase/storage
# Using iOS
cd ios/ && pod install
```
> Integrating manually and not via React Native auto-linking? Check the setup instructions for <Anchor version group href="/android">Android</Anchor> & <Anchor version group href="/ios">iOS</Anchor>.
## Module usage
Import the Cloud Storage package into your project:
```js
import storage from '@react-native-firebase/storage';
```
The package also provides access to the firebase instance:
```js
import { firebase } from '@react-native-firebase/storage';
```
### Choosing a storage bucket
### File uploading
### File downloading
### Changing bucket