Skip to content

fix(ios): set count to at least 1#5

Merged
OS-pedrogustavobilro merged 1 commit intomainfrom
fix/ios-image-count
May 7, 2026
Merged

fix(ios): set count to at least 1#5
OS-pedrogustavobilro merged 1 commit intomainfrom
fix/ios-image-count

Conversation

@OS-pedrogustavobilro
Copy link
Copy Markdown
Contributor

@OS-pedrogustavobilro OS-pedrogustavobilro commented May 6, 2026

Specific to image generation on iOS

OutSystems usually sets integers with default value of 0, causing count to be sent as 0 even if not explicitly provided by the user - in such scenario the plugin returns success but with 0 generated images. I don't think that's a use case that we want to support, so I changed a line of code to always have count be at least 1.

@OS-pedrogustavobilro OS-pedrogustavobilro changed the title fix(ios): Set count to at least 1 fix(ios): set count to at least 1 May 6, 2026
@OS-pedrogustavobilro OS-pedrogustavobilro merged commit 95bc496 into main May 7, 2026
3 of 4 checks passed
@OS-pedrogustavobilro OS-pedrogustavobilro deleted the fix/ios-image-count branch May 7, 2026 08:34
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.

2 participants