Storage Get Started - tuarua/Firebase-ANE GitHub Wiki

The contents of this page are based on the original Firebase Documentation

Set up Cloud Storage

You must initialize Firebase before any Firebase reference is created or used. If you have already done this for another Firebase feature, you can skip this step.

FirebaseANE.init();
var storage:StorageANE = StorageANE.storage;

Use multiple storage buckets

If you want to use a storage bucket other than the default provided above, or use multiple storage buckets in a single app, you can create an instance of Storage that references your custom bucket:

// Get a non-default Storage bucket
StorageANE.url = "gs://my-custom-bucket";
var storage:StorageANE = StorageANE.storage;