firebase icon indicating copy to clipboard operation
firebase copied to clipboard

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

Open pabloposada09 opened this issue 9 months ago β€’ 0 comments

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

pabloposada09 avatar May 10 '24 00:05 pabloposada09