Opening pdfviewer inside android webview

Detailed description of issue
We are trying to embed viewer in our native android app using webview method and we are getting error.
[INFO:CONSOLE(221)] “[object Object]”, source: BASEURL+/pdfexpress/ui/webviewer-ui.min.js (221).
Where as it works in mobile browser

Expected behaviour
It works in mobile browser so it should work in inbuilt android webviewer also

Link to document
{Provide a link to the document in question if possible}

Code snippet
{Provide a relevant code snippet}

Hi!

Are you able to figure out what [object Object] is (maybe set a breakpoint and inspect it)? That error message isn’t very helpful to us unfortunately.

Thanks,
Logan

We were able to fix it.

It was an layout issue - orientation was not mentioned

Thanks

1 Like