Reedyuk / blue-falcon

A Bluetooth kotlin multiplatform "Cross-Platform" library for iOS and Android
https://bluefalcon.dev
Apache License 2.0
328 stars 43 forks source link

Add support for new Kotlin IR #60

Closed ln-12 closed 3 years ago

ln-12 commented 3 years ago

The library is currently not compatible with the new Kotlin IR . I setup a minimal example here. Please add support for this new backend.

Reedyuk commented 3 years ago

Hi, what sort of impact would this have on people using none kotlin IR projects? I would'nt want to restrict people using this library already.

ln-12 commented 3 years ago

I really don't know. That seems to be a big problem as you can't mix libraries that support and don't support IR. Maybe two artifacts would be appropriate?

Reedyuk commented 3 years ago

Its currently in alpha, is there a reason for the push to support it right now?

ln-12 commented 3 years ago

You must enable IR if you want to use Jetpack compose.

Reedyuk commented 3 years ago

I have added a PR to enable IR but i haven't had chance to update android example.

ln-12 commented 3 years ago

Great! Thanks for your fast reply 😄

ln-12 commented 3 years ago

I can conform that it works after updating to Kotlin 1.4.30.