dart_pdf icon indicating copy to clipboard operation
dart_pdf copied to clipboard

Provide a way to skip pdfium binary download

Open Tanish2002 opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe. I'm trying to package a app for NixOS. NixOS builds a package in a sanbox where internet access isn't present. Due to this issue, I can't build the app.

Describe the solution you'd like I can think of 3 solutions on top of my head.

  1. Either include the pdfium binary with package itself.
  2. Provide some sort of way to skip the download process and get the binary from somewhere else (maybe PATH?).
  3. Instead of downloading the file it checks a env var which is equal to the downloaded .tgz file, if present then use it instead of downloading..

Tanish2002 avatar Feb 24 '24 18:02 Tanish2002

Hi, is there a good workaround I can use for now?

CodeDoctorDE avatar Aug 10 '24 14:08 CodeDoctorDE