NativeScript / NativeScript/firebase
[@nativescript/firebase-storage] getDownloadURL closes app in IOS without error
Nessuno ha ancora preso questa issue.
- Lingua principale
- TypeScript
- Stelle
- 62
- Fork
- 53
- Merge medio
- 8g 4h
- PR unite (30g)
- 2
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia riproducendo la chiamata fornita a getDownloadURL su iOS 17.4.1, usando le versioni riportate di NativeScript e del plugin, e confrontala con il comportamento funzionante su Android. Segui il percorso iOS per @nativescript/firebase-storage e acquisisci i dettagli del crash; il lavoro è completato quando la chiamata restituisce un URL di download o invoca il gestore degli errori senza chiudere l’app.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- ios, typescript
- Ambito
- mobile
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100