g0dkar / qrcode-kotlin

QRCode Generator implemented in pure Kotlin
https://qrcodekotlin.com/
MIT License
192 stars 20 forks source link

[iOS] Other shapes than squares #128

Open kubacizek opened 8 months ago

kubacizek commented 8 months ago

Describe the bug Hello, when I try to use other shapes than squares on iOS generated library than the QR code is not visible at all. I tried to change parameters like color and sizes but the result is always the same. It works perfectly on Android (with same parameters).

To Reproduce Steps to reproduce:

  1. Add .ofCircles() to QRCode builder
  2. Observe

Screenshots or other QRCodes rendered with other tools

Screenshot 2024-03-10 at 17 50 34 Simulator Screenshot - iPhone 15 - 2024-03-10 at 17 50 40

Additional context Xcode 15.2

Result is same on physical device and Simulator

g0dkar commented 8 months ago

Heya, I'll take a look on this! I found something similar on other platforms a while ago and I thought it has been solved for all the others as well.

Thanks for bringing it forth <3

g0dkar commented 7 months ago

Hello again ^^

Sorry for this taking longer than expected, I had some issues with my MacOS environment and had to pretty much rebuild it from scratch. This is the next fix I'll add to #131 :)