[SimpleViewer] SimpleViewer iOS

Forge Component
(5)
Published on 4 Aug by Caio Santana Magalhães
5 votes
Published on 4 Aug by Caio Santana Magalhães

Hello, the component works great in web and android but when i use iOS (iPhoneXS) the widget doesn't load the pdf.

Can you help me?

Solution

I found a way,

pass the logic of 


"var DEFAULT_URL = '" + EncodeJavaScript(URL) + "';"

from the preparation to the script itself, and now works on both android and iOS

Solution

Hi Everyone,

I am facing issue with PDF documents, instead of document preview, pdf files are getting downloaded, i am trying to preview pdf's stored in BLOB storage. This was working earlier but recently these are getting downloaded.

I tried with old and latest component version(in diff environments) both have this issue. 

Webapp and BLOB storage are in different domain. For CORS issue, webapp domain was added into BLOB storage application's Allowed Origin(with all allowed methods) and Allowed Header as any (*)

PDF preview working in Edge browser, not in Chrome

Please suggest.

Thanks in Advance!!!