firebase
firebase copied to clipboard
[@nativescript/firebase-storage] getDownloadURL closes app in IOS without error
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