I’m trying to use the InAppBrowser plugin to provide an “open attachment” type functionality where a user views a document that may contain links to files (.doc or .pdf) or images (.png). These will be in the form of URL’s i.e they are not local files on the device. I’d like the user to be able to click on any file and have it open up immediately - without requesting that the file be downloaded (and then opened).
This seems to work iOS but I am having no luck on Android - I can only get the InAppBrowser to open a window and at the bottom of the screen you get a “Do You Want To Download this file” prompt.
Is this a limitation in Android that I won’t be able to get around? Does it simply depend on what apps the user has installed on their phone (e.g PDF viewer or whatever)
Would I need to use the File and File-Opener plugins for this instead of the InAppBrowser plugin? (I didn’t want the user to actually download the file unless they requested to do so)