I have used iframe its working fine in browser not in app. and used file viewer plugin also its opening in a wps office .is there any way to open pdf url in the mobile app.
Hi Harish,
In my case, We have ios and android app.
I use InAppBrowser Plugin and use the "open" method to show the pdf
https://www.outsystems.com/forge/component-overview/1558/inappbrowser-plugin
Hi Ronny,
Thanks For replying, if we use the In app browser plugin the pdf will not be visible. its working only for websites. i am using this URL "https://www.africau.edu/images/default/sample.pdf" not working.
if you are okay, is there any error message?
my side is able to load the pdf from url. The pdf url is also set to hidden.
Hi,
Did you try also this forge component?
https://www.outsystems.com/forge/component-overview/6223/mobile-pdf-preview
Regards,
Daniel
Hello everyone! I was facing the same struggle with PDF handling for iOS and Android. So after a few days of search and trying differents approachs I came to this simple solution:
Basically you need to implement two solutions for the differents OS:1) In case of Android the "Save File" and "Open Document" works really well but not for iOS;2) In case of iOS you need to use the specific action "Open System Browser" that only works for iOS from the "InAppBrowserPlugin";*In my case I get a PDF "Binary Data" from a REST service so in iOS it opens the system's browser and for android downloads the PDF file and open the same.