Open Documents in ionic 4 app : step by step Integration guide

So you have a remote url of a PDF file which is being shown in your page content. When the user clicks on it, by normal behaviour it will try to open up in an external browser or an in-app browser (if you have one integrated in your app). What we want is that, when user clicks on the link, it will download the file in background and open the file swiftly in the device’s default pdf reader.