added pdf generation sample using pdfMake, and jsPDF JavaScript libraries
Playground Link - https://play.nativescript.org/?template=play-ng&id=tZ5F9Y Detailed Writeup - https://link.medium.com/JOvUiyCdIU Github Repo - https://github.com/kumarandena/nativescript-pdf-generation
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Kumaran. This is most likely caused by a git client misconfiguration; please make sure to:
- check if your git client is configured with an email to sign commits
git config --list | grep email - If not, set it up using
git config --global user.email [email protected] - Make sure that the git commit email is configured in your GitHub account settings, see https://github.com/settings/emails
@kumarandena Can you fill out the CLA form? You should have received details in an email. Thanks!
This sample is cool - but I wonder if it's possible to load the PDF in a browser or a WebView automatically?
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Kumaran. This is most likely caused by a git client misconfiguration; please make sure to:
- check if your git client is configured with an email to sign commits
git config --list | grep email - If not, set it up using
git config --global user.email [email protected] - Make sure that the git commit email is configured in your GitHub account settings, see https://github.com/settings/emails
@rdlauer I tried the same but no luck! If I tried with the default browser, openUrl API from utilsModule will accept only the URL with a proper protocol or the pdf from a webserver.
Of course, the Webview module also requires the same input. Don't find a way to load the base64 content of the pdf automatically.
If we will get any way to do this in the future then we can add that along with other frameworks support of this same sample! What do you think?
@cla-bot check
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Kumaran. This is most likely caused by a git client misconfiguration; please make sure to:
- check if your git client is configured with an email to sign commits
git config --list | grep email - If not, set it up using
git config --global user.email [email protected] - Make sure that the git commit email is configured in your GitHub account settings, see https://github.com/settings/emails
The cla-bot has been summoned, and re-checked this pull request!
@rdlauer Can you please help me on this? I have already signed the CLA and also checked the local and global git config details. Both user name and email are correct only. Still, CLA status verification keeps failing...
Kumarans-MacBook-Pro:code-samples kumaran$ git config --list | grep email [email protected]
Kumarans-MacBook-Pro:code-samples kumaran$ git config user.name
kumarandena
@etabakov Can you check on why this isn't working for @kumarandena? (see above)
Regarding the sample itself - yeah I think unless you can show a PDF in the app, there isn't as much value in copying and pasting. We can wait until a better solution appears :)