Downloading PDF Files from WebCenter Portal on Android App Using WebView Returns: Cannot display PDF (PDF name is of invalid format)
(Doc ID 2740860.1)
Last updated on AUGUST 10, 2024
Applies to:
Oracle WebCenter Portal - Version 12.2.1.3.0 and laterOracle WebCenter Portal for OCI - Version 12.2.1.4_24.2 and later
Information in this document applies to any platform.
Symptoms
When attempting to download pdf files from WebCenter Portal on the Android App using WebView returns the below error:
ERROR
Cannot display PDF (PDF name.pdf is of invalid format)
STEPS
The issue can be reproduced at will with the following steps:
- Open WebCenter Portal page from Android App using WebView.
- Download a pdf file.
Here you will see the error.
- Access a non WebCenter page from Android App using WebView.
Download a pdf file via static link. - You will see the PDF file downloads completely fine on Android App.
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |