Iframe is not loading pdf data, after generating build in ionic3?

I have to load the PFD data in the HTML content using iframe, it is working properly in the localhost but after generating the build, pdf data is not loading in the body section of the HTML.i have attached both local and server screenshots, in local data, is loaded but in the server it didn’t work. Can you guys please help to solve my issue.

Check below screenshort 1st scscreenshort show after generated APK and not load data document setion is blank:

2nd is that the local in which data load properly:

    <p><iframe *ngIf="pdfLink" [src]="pdfLink" width="100%" height="100%" frameborder="0" ></iframe></p>

please tell me anyone how to fix this issue sir ?

Hi, I am facing the same issue, did you find a way to resolve it?