We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I just tried following your blog post, Compressing and Optimizing PDFs in Pure Golang using UniPDF using a compiled binary with my offline key. For example:
UNIDOC_LICENSE_FILE="unidoc_license.key" UNIDOC_LICENSE_CUSTOMER=<customer_name> unipdf license_info
And I get the following output:
License: License Id: Customer Id: Customer Name: Unlicensed Tier: unlicensed Created At: 30 August 2023 at 17:23 UTC Expires At: Never Creator: <>
The keys I'm providing are used in production so I know they're correct. I then dug into your source code and I found the bug:
unipdf-cli/pkg/pdf/pdf.go
Lines 17 to 25 in b3344a3
If you look at line 24, the customer name is hard coded as an empty string. Change that line to pass the customer variable and everything works.
customer
The text was updated successfully, but these errors were encountered:
Hi @ARolek,
Thank you for posting this issue and provide the solution.
We opened the PR based on your solution #58.
Best regards
Sorry, something went wrong.
Hi @ARolek
As the PR #58 is merged to the master branch, we closing this issue.
No branches or pull requests
I just tried following your blog post, Compressing and Optimizing PDFs in Pure Golang using UniPDF using a compiled binary with my offline key. For example:
UNIDOC_LICENSE_FILE="unidoc_license.key" UNIDOC_LICENSE_CUSTOMER=<customer_name> unipdf license_info
And I get the following output:
The keys I'm providing are used in production so I know they're correct. I then dug into your source code and I found the bug:
unipdf-cli/pkg/pdf/pdf.go
Lines 17 to 25 in b3344a3
If you look at line 24, the customer name is hard coded as an empty string. Change that line to pass the
customer
variable and everything works.The text was updated successfully, but these errors were encountered: