open pdf files internal in the app

This forum contains topics that were moved from Get Satisfaction
Lars Holtet
Posts: 0
Joined: Sun Nov 24, 2013 5:47 pm

open pdf files internal in the app

Post by Lars Holtet »

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

Post by Lars Holtet »

iOS13.

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

open pdf files internal in the app

Post by Lars Holtet »

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

Post by Lars Holtet »

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

Post by Lars Holtet »

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

Post by Lars Holtet »

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

Post by Lars Holtet »

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

Post by Lars Holtet »

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

Post by Evgene Karachevtsev »

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.

Post Reply