Skip to content

Fix android build: Getting error "No value passed for parameter 'forPrint'." - #566

Closed
manpreet-airoc wants to merge 3 commits into
ScerIO:mainfrom
manpreet-airoc:render-add-forPrint
Closed

Fix android build: Getting error "No value passed for parameter 'forPrint'."#566
manpreet-airoc wants to merge 3 commits into
ScerIO:mainfrom
manpreet-airoc:render-add-forPrint

Conversation

@manpreet-airoc

Copy link
Copy Markdown

The error getting: No value passed for parameter 'forPrint', in the pdfx package is because the method being called in Messages.kt requires a new parameter (forPrint) which is missing in your build.

Fix: Add forPrint parameter to render method
@manpreet-airoc
manpreet-airoc marked this pull request as draft April 9, 2025 09:38
@manpreet-airoc
manpreet-airoc marked this pull request as ready for review April 9, 2025 09:38
@emakar

emakar commented Apr 13, 2025

Copy link
Copy Markdown
Contributor

see #564

@xeinebiu

Copy link
Copy Markdown

Seems we have duplicate Pulls, but this one #578 also does migrate the project to support android api 35, so similar issues should be caught before release next time.

I would propose to close #566

@vicajilau

Copy link
Copy Markdown
Member

Closing as superseded: both fixes here are already present on main. The Android forPrint parameter is passed correctly in the current Messages.kt, and the iOS side already uses UIColor (kept alongside NSColor for macOS) in Hooks.swift. That's also why this PR shows as conflicting. Thanks for the report and the fix at the time.

@vicajilau vicajilau closed this Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants