Ionic shareViaFacebook Firebase Storage Image


#1

Hi I am trying to use the Ionic Native Social Sharing function:

shareViaFacebook(message, image, url)

I have some images stored in firebase storage.

I am passing the image.downloadURL from firebase into the image argument and the url argument and neither of them are working.

The url I am passing is the
// “Public” unguessable URL, accessible by anyone with the link
// This is secured because that token is very hard for someone to guess
https://firebasestorage.googleapis.com/v0/bucket/object?alt=media&token=

I tried using encodeURL and encodeURLComponent but cannot get the ionic app to share the firebase stored image to facebook.

I am able to share other photos, such as any random google image photo by passing the url of the image to the image argument.