Firebase storage url - extra params - ionic 4


#1

I have uploaded a jpeg to firebase storage. The getDownloadUrl() for the storageref has extra params at the end
For example,
https://firebasestorage.googleapis.com/v0/b/accountinggurutest-firebase.appspot.com/o/1547184676309_abc.jpeg?alt=media&token=a49fd5b7-00a4-4a5b-adfc-c690a61ad296

I am using Ionic 4:

I am not able to display the above url in the “img” tag in the ionic app.
However, if I give a another normal url without extra params at the end, then the image is displayed.
It happens in ‘ionic serve’. I did not had a chance to test on the actual device or in ionic3.

There is no problem in a angular application on the browser. The image is displayed fine with the ‘img’ tag in the angular app.

Any ideas.