Submit and vote on ideas for the NativeScript framework and NativeScript plugins

Ability to embed resources

I want to be able to embed pdf files so that I can use the nativescript-pdf-view plugin to display. However, it only works from a url or the known file locations such as fs.knownfolders.documents() + filename

There currently is no way to copy a binary file from app/pdfs/filename.pdf to the know file locations (or from ~/pdfs/filename.pdf)

  • Gravatar Guest
  • Apr 22 2017
Link to GitHub issue
  • Attach files
  • Gravatar