A storage implementation for React Native Build Hub that uses Google Cloud Storage to save native builds.
npm install --save-dev @rn-buildhub/gcp-storage
Just use a .env
file in the root of your project to set some of the following environment variables
or populate the remote.config
object in your rn-buildhub.json
file.
Parameter | Description | Environment Variable / .env |
---|---|---|
Google Service Account file | The json file of the service account credentials | RNBH_GOOGLE_APPLICATION_CREDENTIALS |
Bucket Name | Name of the bucket for cache storage. | RNBH_GCP_BUCKET |
🔗 How to create a Google Cloud Storage_Bucket 🔗 Create a service account to access your data
Package | Storage |
---|---|
@rn-buildhub/s3-storage | Amazon Web Services |
@rn-buildhub/azure-storage | Azure Cloud Platform |
@rn-buildhub/storage-interface | Abstract storage |