My team works on a Mobile application, as well as a web application. The mobile apps are about 80% web views that live on the web server.
We have a Help page that now requires a link to a PDF File that also lives on the Web server.
When I attempt to make the controller return File("pdflink.pdf","application/pdf") everything works fine on the iOS application. When I try to use one of our Androids to hit the same link, the Android just shows a blank page and the PDF does not open.
I was wondering if anyone has ever had to create a mobile view on a web platform that was then called by mobile applications.
I have tried creating a view that used an iframe with the pdf in it, but that also did not work on either device (iOS/Android).
Any help with how to handle a web link to a pdf from mobile applications?