Pre-Informations:
I still have a Firebase project opened and I am successfully still using the Firebase Database (So the firebase.initializeApp(config)
works).
I uploaded several Images at my Firebase Storage in the folder "/Images/" and named them image1.jpg, image2.jpg,..
React-Native: 0.31.0, Firebase: 3.3.0
What I want:
I want to get the Image from the Firebase Storage and put them into an <Image>
What I actually did:
var storageRef = firebase.storage().ref('Images/image1.jpg');
//1. Try:
storageRef.getDownloadURL().then(function(url) {
console.log(url);
)}
//2. Try:
var sampleImage = storageRef.getDownloadURL().then(function(url) {
console.log(url);
)}
//3. Try:
var sampleImage = storageRef.getDownloadURL();
Informations about the code:
The code doesn't reach the
console.log(url)
point2.1. Tried to use the
sampleImage
assource
in a<Image>
object: empty Image2.2. Tried to
log
thesampleImage
:undefined
2.3. Tried to
log
theurl
: didnt reach this point3.1. Tried to use the
sampleImage
assource
in a<Image>
object: empty Image3.2. Tried to
log
thesampleImage
:{ F: 0, ka: undefined, o: { F: 0, ... } }
All tries returned the same error code after 2-3 minutes.
Firebase Storage: Max retry time for operation exceeded, please try again.
Thank you very much in advance for you help.