Opening PDF file in Google PDF Viewer

Hello,

there has been a lot of discussion here about openning PDFs, but I was not able to find an answer to my problem.

I need to open a PDF file. Not directly in my app, but thru a default PDF reader. My code looks very simple just system.openURL(system.pathForFile(“name.pdf”)). This works for all pdf reader except Google PDF Viewer and Google Drive PDF… and I have no idea why. I tried everything, but with no results.

I think, there must be some kind of very easy solution. I was thinking permissions, but again no results.

I will be very happy for an answer, since I have been stuck over this problem for almost 4 hours :slight_smile:

Thanks again