Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[@nativescript/firebase-storage] getDownloadURL closes app in IOS without error

Open
#260 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
ios, typescript
Domain
mobile

Research direction

Start by reproducing the provided getDownloadURL call on iOS 17.4.1, using the reported NativeScript and plugin versions, and compare it with the working Android behavior. Trace the iOS path for @nativescript/firebase-storage and capture the crash details; done means the call returns a download URL or invokes the error handler without closing the app.

Written by the indexing model from the issue text.

Description

I'm using the getDownloadURL in this form:

 firebase().storage().ref(“users/“ + id + "/profilel.png").getDownloadURL().then((url) => {
                console.log("Remote URL: " + url);
            }, (error) => {
                console.log("Error: " + error);
            });
  • The image exists in the storage in the path that is passed as parameter in the ref.
  • It works like a charm in Android, but in IOS closes the app and doesn't give any feedback.

Version of the plugin

"@nativescript/firebase-core": "^3.2.2",
"@nativescript/firebase-firestore": "^3.2.2",
"@nativescript/firebase-storage": "^3.2.2",

NS DOCTOR OUTPUT

✔ Getting environment information
No issues were detected.
✔ Your ANDROID_HOME environment variable is set and points to correct directory.
✔ Your adb from the Android SDK is correctly installed.
✔ The Android SDK is installed.
✔ A compatible Android SDK for compilation is found.
✔ Javac is installed and is configured properly.
✔ The Java Development Kit (JDK) is installed and is configured properly.
✔ Xcode is installed and is configured properly.
✔ xcodeproj is installed and is configured properly.
✔ CocoaPods are installed.
✔ CocoaPods update is not required.
✔ CocoaPods are configured properly.
✔ Your current CocoaPods version is newer than 1.0.0.
✔ Python installed and configured correctly.
✔ The Python 'six' package is found.
✔ Xcode version 15.2.0 satisfies minimum required version 10.
✔ Getting NativeScript components versions information...
⚠ Update available for component nativescript. Your current version is 8.6.5 and the latest available version is 8.7.0.
⚠ Update available for component @nativescript/core. Your current version is 8.6.2 and the latest available version is 8.7.2.
⚠ Update available for component @nativescript/ios. Your current version is 8.6.3 and the latest available version is 8.7.1.
⚠ Update available for component @nativescript/android. Your current version is 8.6.2 and the latest available version is 8.7.0.

IOS VERSION

iOS 17.4.1

Dominant language
TypeScript
Stars
62
Forks
53
Avg merge
8d 4h
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from NativeScript/firebase

All issues in NativeScript/firebase

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.