Viewing documents

Does anybody know why the native.showWebPopUp no longer displays documents? We use it to view .pdf and .docx documents downloaded from an ftp on the device however recently its stopped working - It just displays a large white box with nothing in it. Does anybody know why this doesn’t work anymore or could provide me with a work around? I have checked the document on my PC and it downloads OK and is perfectly view-able.

I am running the latest public build (Version 2015.2646 (2015.5.27)) and have update both xcode and Mac OSX just yesterday.

Bump

did you try?

system.openURL("http://www.mydomain.com/my.pdf")

Thanks for your reply, I’ll do a build today and see what happens. Do you use it to view documents?

no. but i was curious to see if that worked and it did. i’ve made a build with a pdf file and made that resquest and it opened the pdf file.

So, the web URL does work, however when its pointed at a file within the file system it fails to load…

Bump

did you try?

system.openURL("http://www.mydomain.com/my.pdf")

Thanks for your reply, I’ll do a build today and see what happens. Do you use it to view documents?

no. but i was curious to see if that worked and it did. i’ve made a build with a pdf file and made that resquest and it opened the pdf file.

So, the web URL does work, however when its pointed at a file within the file system it fails to load…