Document viewer plugin in Ionic 4

Hi all,

So I want to display my PDF in my ionic 4 app using https://ionicframework.com/docs/native/document-viewer
this method. However, I do not want to put it in my app www folder as it will increase my app size and that’s the last thing I want to do.

Does anyone have any kind suggestion where I can store my PDF without taking up my app space and display it in my ionic 4 app (with a native feel)?

Thank you.

i think u can even use a file plugin to store ur files elsewhere instead of WWW folder.

Yes, have consider but I guess I will stick to putting it in my local folder so users can access it without having internet access.

1 Like