Skip to content
This repository has been archived by the owner on Jun 15, 2024. It is now read-only.

in iOS the pdf file is not showing up? #33

Open
sagar1911 opened this issue Jul 17, 2018 · 9 comments
Open

in iOS the pdf file is not showing up? #33

sagar1911 opened this issue Jul 17, 2018 · 9 comments

Comments

@sagar1911
Copy link

sagar1911 commented Jul 17, 2018

Hi,

It looks like there is an issue with the path in iOS. the pdf is showing up in Android but not showing anything in iOS. page is showing blank in app and when we copy & paste path in browser file content is loading..
Please help

@sagar1911 sagar1911 changed the title in iOS the pdf file is now showing up? in iOS the pdf file is not showing up? Jul 17, 2018
@two-bridges
Copy link

me too

@two-bridges
Copy link

@sagar1911 it's working for me now.

You have to set a height on the PDFView.

I achieved this by placing the PDFView in a DockLayout as follows:

<DockLayout stretchLastChild="true">
    <PDFView [src]="this.url" (load)="this.onLoadPdf($event)"></PDFView>
</DockLayout>

@sagar1911
Copy link
Author

sagar1911 commented Jul 18, 2018

Thanks @two-bridges for the quick response. HTTP URL's are working fine but the local paths are not working. I'll post the path for the understanding.

@two-bridges
Copy link

okay I see. This maybe beyond my knowledge of the plugin unfortunately (I'm just a user, not the plugin author). Hopefully, someone comes along who can fix this bug or provide a workaround

@lieutandat
Copy link

Hi, I have nearly with your issue, I downloaded file pdf then load it, however the screen only show grey color. Any suggesst for my case ?

@nolleto
Copy link

nolleto commented Jan 23, 2019

Same grey screen it's happening to me =/

@AliKalkandelen
Copy link

Same thing for me is happening but only when switching tabs in

@seveneye
Copy link

help, nothing shows up in iphone XR, tried placing in in docker layout and setting the height of pdfview, but still it is not working on IOS. any ideas?

@woeckener
Copy link

Has anyone found a fix or workaround for this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants