Requirement: Generate pdf stream on server side and show pdf inside ionic app.
1. Install these two plugins file and document viewer from Ionic native
2. Get the pdf stream as array buffer or blob. You need to apps proper response type to http get request.
3. Now create and show pdf file from the server response.