This is a migrated thread and some comments may be shown as answers.

DocumentHandler z-index?

1 Answer 33 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Don
Top achievements
Rank 1
Don asked on 16 May 2016, 10:19 PM

I am trying to use DocumentHandler to display PDF documents that are created in an InAppBrowser using PhoneGap Build.

DocumentHandler opens the PDF without any problem... but on iOS the Quick Look window is hidden behind the PhoneGap InAppBrowser window. I can only see the PDF if I close the InAppBrowser window that was used to create it.

Is there some type of z-index option for layering the windows?

It works fine on Android.

I suspect this is a PhoneGap or InAppBrowser bug, but thought I would ask here also.

 

 

config.xml: 

<plugin name="ch.ti8m.documenthandler" spec="0.2.1" source="pgb" />

index.js:

    displayStraightFromURL: function (uri) {
        alert("showing pdf:" + uri);
        try {
            handleDocumentWithURL(
                function () { alert('success'); },
                function (error) {
                    alert('failure:' + error);
                    if (error == 53) {
                        alert("Your device does not have an apop to display PDF. Please download one from the Store.");
                    }
                },
                uri);
        }
        catch (err) {
            alert("err:" + err.message);
        }

 

1 Answer, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 18 May 2016, 10:17 AM
Hi Don,

Thank you for posting in the Telerik forums.

However this particular forum is dedicated to Telerik UI for Android. If you are using the Telerik Platform you can refer to its relevant forums, otherwise you can submit an issue in the DocumentHandler's github repository as suggested on the page of the plugin.

Regards,
Todor
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussion
Asked by
Don
Top achievements
Rank 1
Answers by
Todor
Telerik team
Share this question
or