PDF iframe viewer works only in emulator

Hello everyone,
I was trying to view a pdf locally within my app ionic, I tried using iframes and object but the pdf appears only in the emulator, when I try the device is blank, all white.
How can I do?
please help me :smiley: