Hi, i have a problem with their component, the page is coming white blank at a times. Can you tell me how to resolve this issue?

This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal.

i have add the pdf viewer component,

While i configure to set up the pdf viewer, when i try it's still blank white.

@Mvx Wilson​ @Bevuden Hollowvy​ can you please take a look. Thanks!

Hi

Could you share the following details to help us understand the issue.

  1. On which channel (Android/iOS) are you trying to build?
  2. Visualizer version?
  3. Rendering online URL or local pdf?
  4. Share a sample app so that it can be debugged.

Hi @Mvx Wilson​ sorry for late response,

1.I tried to build both on android and iOS

2..i used the visualizer Version 8 Service Pack 4 Fix Pack 83

3.i used the online URL

4. here's i attached the sample app that might you can help this issue

Hi @Bevuden Hollowvy​

User​ shared the necessary details. Could you check this issue?

Hi

PDF Viewer component won't work in th form preShow, init or postShow. because internally pdfviewer component uses NativeContainer which will be created after those events.

So when we try to to call the pdf in those events the nativecontainer view is not yet created and it won't render the pdf.

Thanks

Hi @Bevuden Hollowvy​

can you give me an sample apps for this component that might be help to solve this issue?

Hi @Bevuden Hollowvy​ ,

i give an update on this issue, i've done on your reply on android and its worked, thanks.

But, on IOS it still blank because there is an webViewObject and its undefined, how should i do to fix this issue on iOS?

Thanks.

@Stephvnie Wwight​ Can you help here.

hi @Bevuden Hollowvy​

any update?

Hi​ ,

To make it work, please update your PDFViewer component or add WebKit framework to the project.

Click on Project-> Edit->Manager Native Function API(s)->Add->search for webkit.

This will solve your problem.