Open vetter99 opened 3 years ago
I am also getting this, @JJVetter you ever figure out whats going on?
Figured this out, just confusing documentation, if youre on @nativescript/firebase you need to import like this
import { storage } from '@nativescript/firebase/storage'
I also discovered the build process isn't un-commenting the pods in the plugins podfile for storage, so I had to manually uncomment the pod in the plugins podfile. I'll probably just add to my AppResources podfile to make sure it always makes it in.
Whenever any firebase storage function is called I receive:
CONSOLE ERROR: ERROR TypeError: Cannot read property 'listAll' of undefined
This same app is able to use firestore to retrieve collections and documents, but storage functions do not seem to be recognized.firebase.nativescript.json