D
D
Danila2015-11-11 14:34:33
Android
Danila, 2015-11-11 14:34:33

How to generate pdf file in Ionic?

Hello.
In general, there is a project, a mobile application. There is a product catalog, where you can add a product to the order list. From there, a pdf with this product will already be generated.
Now I use the pdfmake library to generate pdf, I have connected scripts everywhere, and so on. Separately, it works, but only by adding some kind of product, that's all. And somehow it works in ionic lab, that is, in the browser it generates PDF from 10 times. But as soon as I compile and upload apk, that's it.
Finita la comedy.
Are there any alternatives? I look at pdf.js, but xs, it will start or not.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Danila, 2015-11-11
@lega111

Found a solution. But if there are other options, I will be glad.
https://github.com/akrennmair/ng-pdfviewer

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question