I am trying to open a “pdf” file in corona sdk app. What is the best way to do it. RIght now I have uploaded to google drive and open it through “openurl” which takes us to a browser and then view inside browser. I want to see if there is any better way to do it.
Corona SDK cannot inherently display PDF files. Android and iOS are different in how they handle PDF’s accessed through system.openURL. On iOS we have this plugin: https://docs.coronalabs.com/plugin/CoronaProvider_native_popup_quickLook/ which will display different kinds of documentation types including PDFs. It’s not available on Android though.
Rob
Corona SDK cannot inherently display PDF files. Android and iOS are different in how they handle PDF’s accessed through system.openURL. On iOS we have this plugin: https://docs.coronalabs.com/plugin/CoronaProvider_native_popup_quickLook/ which will display different kinds of documentation types including PDFs. It’s not available on Android though.
Rob