Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.59 KB

File metadata and controls

33 lines (22 loc) · 1.59 KB

@rn-buildhub/gcp-storage

A storage implementation for React Native Build Hub that uses Google Cloud Storage to save native builds.

Setup

npm install --save-dev @rn-buildhub/gcp-storage

Configuration Details

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

Guides

🔗 How to create a Google Cloud Storage_Bucket 🔗 Create a service account to access your data

See Also

Package Storage
@rn-buildhub/s3-storage Amazon Web Services
@rn-buildhub/azure-storage Azure Cloud Platform
@rn-buildhub/storage-interface Abstract storage