Hi there
From an api I get a link to a pdf or txt file. I would like to download it and generate the “open with” prompt on iOS.
It this possible? How would I approach this?
Thanks
Andreas
Hi there
From an api I get a link to a pdf or txt file. I would like to download it and generate the “open with” prompt on iOS.
It this possible? How would I approach this?
Thanks
Andreas
Hmmm not sure if it is possible … For pdf I would by default use the preview pdf flow function to view it in iOS, have you tried using that?
I submitted this as a feature request a while back. Please upvote:
For text files you could handle displaying that in your app. You could check for a “.txt” file extension of the filename, and then use a ‘Read File’ flow function to read that into a page variable which you could display in a Text component.