Lars Holtet
Posts: 0
Joined: Sun Nov 24, 2013 5:47 pm

open pdf files internal in the app

Hi,

Im about to update one of my apps, but it looks like something has changed with the cordova versions you have implemented.

My issue is that i can't close the .pdf file after it is opened. Back in the day it used to be a toolbar at the bottom where you could click "Done" to get back to the app, this is now gone.

How can i get this back with the new version of cordova?

The code i have always used (Except the conent was online earlier):

window.open("../filer/tff562.pdf", '_blank', 'location=no');

Lars Holtet
Posts: 0
Joined: Sun Nov 24, 2013 5:47 pm

open pdf files internal in the app

iOS13.

Lars Holtet
Posts: 0
Joined: Sun Nov 24, 2013 5:47 pm

open pdf files internal in the app

The issue is that the "Done" button /close button is not showing after the .pdf is opened.

Lars Holtet
Posts: 0
Joined: Sun Nov 24, 2013 5:47 pm

open pdf files internal in the app

What i really need is just a solution that can open and close pdf files after pressing a button or a listview..

Lars Holtet
Posts: 0
Joined: Sun Nov 24, 2013 5:47 pm

open pdf files internal in the app

nevermind, got it to work :) please delete.

Lars Holtet
Posts: 0
Joined: Sun Nov 24, 2013 5:47 pm

open pdf files internal in the app

I readded inappbrowser to the project, 3.0.0 as standard. Now it works, but the pdf only displays 1 second before it disapears again.

Lars Holtet
Posts: 0
Joined: Sun Nov 24, 2013 5:47 pm

open pdf files internal in the app

I think this is a issue with iOS 13 and that everyone here will experience when opening pdf files.

Can you guys make a temp fix untill next appery.io update?

Lars Holtet
Posts: 0
Joined: Sun Nov 24, 2013 5:47 pm

open pdf files internal in the app

For more info about the issue, inappbrowser does not work with ios13:

https://github.com/apache/cordova-plu...

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

open pdf files internal in the app

Hello Lars,

Unfortunately, this is outside the scope of our support. We passed your issue to our development team to review, and if we have any ideas or suggestions we'll post them.

Return to “Issues”