Andrew Kaplan
Posts: 0
Joined: Sat Jan 03, 2015 6:57 pm

PDF on Android coming up blank. Using Appery Database.

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

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

PDF on Android coming up blank. Using Appery Database.

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?

Andrew Kaplan
Posts: 0
Joined: Sat Jan 03, 2015 6:57 pm

PDF on Android coming up blank. Using Appery Database.

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.

Andrew Kaplan
Posts: 0
Joined: Sat Jan 03, 2015 6:57 pm

PDF on Android coming up blank. Using Appery Database.

I have this app shared with Appery.

Andrew Kaplan
Posts: 0
Joined: Sat Jan 03, 2015 6:57 pm

PDF on Android coming up blank. Using Appery Database.

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

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

PDF on Android coming up blank. Using Appery Database.

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.

Andrew Kaplan
Posts: 0
Joined: Sat Jan 03, 2015 6:57 pm

PDF on Android coming up blank. Using Appery Database.

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.

e.d skovbo
Posts: 0
Joined: Sun Mar 15, 2015 2:53 pm

PDF on Android coming up blank. Using Appery Database.

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.

e.d skovbo
Posts: 0
Joined: Sun Mar 15, 2015 2:53 pm

PDF on Android coming up blank. Using Appery Database.

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

Return to “Issues”