You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The URL passed to PreviewAnyFile.previewPath does not work if it's a Firebase Storage URL
I noticed another user proposing to use a decoder, however if you decode the Firebase URL and replace the %2F with a /, Firebase will not return you an image anymore.
Code:
Error:
I tried passing both a name.ext (name.jpeg) and mime type (image/jpeg). I also tried adding the extension to the Firebase URL, which doesn't break the URL, but still doesn't work in the plugin.
Cheers
The text was updated successfully, but these errors were encountered:
This is an example URL, I'm having the same issue as the person above. The app name, folder names, file name, and token id were replaced for safety sake.
Ionic:
Ionic CLI : 6.12.4 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/react 6.0.0-beta.5
Utility:
cordova-res : 0.15.3
native-run : 1.4.1
System:
NodeJS : v14.4.0 (/usr/local/bin/node)
npm : 6.14.5
OS : macOS Big Sur
Running an Ionic Application using React.
The URL passed to PreviewAnyFile.previewPath does not work if it's a Firebase Storage URL
I noticed another user proposing to use a decoder, however if you decode the Firebase URL and replace the %2F with a /, Firebase will not return you an image anymore.
Code:
Error:
I tried passing both a name.ext (name.jpeg) and mime type (image/jpeg). I also tried adding the extension to the Firebase URL, which doesn't break the URL, but still doesn't work in the plugin.
Cheers
The text was updated successfully, but these errors were encountered: