Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/madmas/nativescript-pdf-experiment
Show of an example to create a PDF within a NativeScript app⚡️
https://github.com/madmas/nativescript-pdf-experiment
nativescript pdf pdfmake
Last synced: 7 days ago
JSON representation
Show of an example to create a PDF within a NativeScript app⚡️
- Host: GitHub
- URL: https://github.com/madmas/nativescript-pdf-experiment
- Owner: madmas
- Created: 2022-08-24T06:59:33.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-24T13:54:42.000Z (over 2 years ago)
- Last Synced: 2024-11-08T10:52:28.308Z (about 2 months ago)
- Topics: nativescript, pdf, pdfmake
- Language: TypeScript
- Homepage:
- Size: 919 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PDFmake on NativeScript
Sample to use PDFMake on Native Script.
Adopted some code from https://github.com/kumarandena/nativescript-pdf-generation in order to provide a working sample for current NativeScript version.
PDFmake docs: https://pdfmake.github.io/docs/0.3/
Had no luck with jsPDF due to some reference error when jsPDF tries to bin atob and btoa functions.
More references:
* https://medium.com/@kumarandena/pdf-generation-in-nativescript-using-javascript-libraries-864ecf4e9a3a