https://kotlinlang.org logo
Title
w

wenjie.lu

04/14/2023, 2:38 AM
the compose repo of github almost is ui widget,and we need more cross platform lib like permission request on all platform
p

Pablichjenkov

04/14/2023, 2:49 AM
As it matures there will be more off the shelf ready to use libraries. In the meantime you can either expect/actual on each platform or depend on abstraction in common code and inject implementations from each platform. That's what most of the libraries do, nobody wants to reimplement the wheel unless is critical reimplementing the wheel in pure kotlin side
w

wenjie.lu

04/14/2023, 2:52 AM
yep ,looking forward
t

Tijl

04/14/2023, 7:34 AM
p

Pablichjenkov

04/14/2023, 1:39 PM
It is great work, my feedback: it would be better to split all those utilities in smaller libraries. I wouldn't have to bring the full library just for something little I might need, like only Bluetooth, for example
Oh nevermind, I saw the readme and it seems modularized somehow
t

Tijl

04/14/2023, 1:41 PM
they are split already, they just share some base code. if you want only bluetooth permissions you just do
implementation("com.splendo.kaluga:bluetooth-permissions:$kalugaVersion")
the base module will probably slimmed down more in the future though.
p

Pablichjenkov

04/14/2023, 1:43 PM
I just realized right, sorry I didn't check the readme or the gradle files.
t

Tijl

04/14/2023, 1:46 PM