MCPcopy Create free account
hub / github.com/NativeScript/firebase / getDownloadURL

Method getDownloadURL

packages/firebase-storage/index.ios.ts:411–421  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

409 }
410
411 getDownloadURL(): Promise<string> {
412 return new Promise((resolve, reject) => {
413 this.native.downloadURLWithCompletion((url, error) => {
414 if (error) {
415 reject(FirebaseError.fromNative(error));
416 } else {
417 resolve(url.absoluteString);
418 }
419 });
420 });
421 }
422
423 getMetadata(): Promise<Metadata> {
424 return new Promise((resolve, reject) => {

Callers

nothing calls this directly

Calls 1

fromNativeMethod · 0.45

Tested by

no test coverage detected