Page 1 of 2

PDF on Android coming up blank. Using Appery Database.

Posted: Fri Mar 13, 2015 5:21 pm
by Andrew Kaplan

I have a app that I use a on-line data base with a link to each button. You click the button and it brings up a webpage with the pdf that is needed. My question is when I published it to the google app store and tested on a device the pdf does not open up. Only a white screen shows up. Any ideas? Thanks


PDF on Android coming up blank. Using Appery Database.

Posted: Fri Mar 13, 2015 10:41 pm
by Evgene Karachevtsev

Hello Andrew,

Could you please clarify, when you test it as the app installed on a device via QR-code from Appery.io do you get it working?


PDF on Android coming up blank. Using Appery Database.

Posted: Sat Mar 14, 2015 2:18 pm
by Andrew Kaplan

When I test in Appery it works without a hitch. I have used both of these without issue.

https://api.appery.io/rest/1/db/files...

window.open('https://api.appery.io/rest/1/db/files...', '_blank', ‘EnableViewPortScale=yes')

I then exported in Binary , after making sure to hit the release button in the app settings, for Android and updated my app on Google Play. When I open the app everything works till the point that I click/tap on the button that is supposed to be linked to my pdf. At this point nothing happens I hit the button and it is a no go.


PDF on Android coming up blank. Using Appery Database.

Posted: Sat Mar 14, 2015 2:19 pm
by Andrew Kaplan

I have this app shared with Appery.


PDF on Android coming up blank. Using Appery Database.

Posted: Sat Mar 14, 2015 2:25 pm
by Andrew Kaplan

It works on both Android and IOS when I scan the QR code. Another issue that just arose is even though I am using the

window.open('https://api.appery.io/rest/1/db/files...', '_blank', ‘EnableViewPortScale=yes')

It still downloads the file instead of just opening it.

I am running it as Javascript and as a URL link and for both it downloads instead of views


PDF on Android coming up blank. Using Appery Database.

Posted: Sat Mar 14, 2015 9:43 pm
by Andrew Kaplan

I still need help


PDF on Android coming up blank. Using Appery Database.

Posted: Sun Mar 15, 2015 8:02 am
by Illya Stepanov

Hi Andrew -

When you're sharing app with us, please specify its name.

This will helps us find your app quickly and take a look what could be wrong in it.


PDF on Android coming up blank. Using Appery Database.

Posted: Sun Mar 15, 2015 11:12 am
by Andrew Kaplan

Sorry, The app name is KCEMSS Protocols

To further specify my problem.

In my app under Protocols General Universal Patient Care I placed the following in a URL

https://api.appery.io/rest/1/db/files...

In my app under Protocols General Therapeutic Hypothermia I placed the following in Javascript

window.open('https://api.appery.io/rest/1/db/files...');

I published to the Google Play store. When I clicked the Universal Patient Care button in the app nothing happened but a white screen. This occurred for both the Java Script and the URL. I am trying to make it so that the end user can open the application, find the appropriate protocol, and pull up the required pdf. For now I just need it to work when the device has internet connection. I have searched though the articles pertaining to Phonegap and the threads here on Appery. Thank you for your time and patience.


PDF on Android coming up blank. Using Appery Database.

Posted: Sun Mar 15, 2015 3:11 pm
by e.d skovbo

I reported a similar issue with pdfs to the support email but have not received a reply on it. I have a page with several pdf links, and although it works fine in test mode, none of them respond to click/tap in the live app.


PDF on Android coming up blank. Using Appery Database.

Posted: Sun Mar 15, 2015 3:14 pm
by e.d skovbo

My app's name is SBI Mobile Coach, if that matters (and yes, it is shared with Appery).