Search code examples
javascripttrigger.ioforge

"Open in..."-Link for PDF with Trigger.io


I'm still fighting with PDF documents and Trigger.io / Forge.

Is it possible to open a PDF document in an external application out of a Trigger.io app the same way the WebView / Safari does? If yes, how do I manage this?

Example in Safari


Solution

  • On iOS, you can use our modal views to display a PDF - I've put together a little demo app here to show that: https://github.com/goodgravy/forge-spikes/tree/master/pdf-reader

    Note that this wouldn't work on Android because the webview doesn't include a PDF reader.