Allow download of pdf files, with form connected to database

On my website, I currently have a form that allows me to download a dynamically generated file with data from the wordpress database, but when testing on the android device, this pdf file is not generated or downloaded. Is any additional module required to enable this app file download option?