Pdf-Viewer
Pdf-Viewer copied to clipboard
Allow download from HTTP website
Hello, thanks for your library. Currently only HTTPS connections are allowed. Could you add the possibility to get PDF from HTTP connection.
Cleartext HTTP traffic to ... not permitted
You could put an option to the current call:
fun launchPdfFromUrl(
context: Context?,
clearText: Boolean = false, //allow clear text (HTTP) connection
pdfUrl: String?,
pdfTitle: String?,
directoryName: String?,
enableDownload: Boolean = true
)