Mike Wood
Posts: 0
Joined: Fri Apr 10, 2015 3:21 am

File downloads in pop up window not working.

I have basic android app with bottons to open a pop up page that goes to an http page with download links. The download links do not work. The test link on the appery.io page does allow downloading from these links and creating an html page also works.

Any ideas on what is wrong?

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

File downloads in pop up window not working.

Hello Mike,

Sorry, I'm not sure I understand you correctly, could you please clarify - you are able to download files when you test your app in a browser and unable to do this when your app is installed on a device?

Mike Wood
Posts: 0
Joined: Fri Apr 10, 2015 3:21 am

File downloads in pop up window not working.

That is correct.

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

File downloads in pop up window not working.

Mike,

Could you please detail do you have any errors in a browser console when you test your app?

Mike Wood
Posts: 0
Joined: Fri Apr 10, 2015 3:21 am

File downloads in pop up window not working.

Eugene;

In the browser window there are no problems. It will download the file from the link.
The app will not.
The button in app opens a pop up window that is configured to open an external http web page that has links on it to download files.
This is the link in the app button.
http://b4.caspio.com/dp.asp?AppKey=88...
Thanks

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

File downloads in pop up window not working.

Hi Mike,

Please following JS code on button click event:

pre

window.open("http://b4.caspio.com/dp.asp?AppKey=88ef1000f55f509e33f7409c86af", "_system");

/pre

Also please learn this document: https://devcenter.appery.io/tutorials...

Regards.

Mike Wood
Posts: 0
Joined: Fri Apr 10, 2015 3:21 am

File downloads in pop up window not working.

Yurii;

That works.
Thanks for the help.

Return to “Issues”