Is there kmp ready `Url` type?
# multiplatform
u
Is there kmp ready
Url
type?
j
For Compose? https://github.com/JetBrains/compose-multiplatform-core/pull/1610 For not Compose? There's a few standalone libraries, such as one porting Android's
Uri
to common code.
u
for kmp common in general, 1st party since yes now I handroll it and I'd like to ditch it
j
There are no first-party ones, no
u
shame, thanks!
j
Ktor has a URL type. Not sure if you actually need a URI or a URL is okay. You also would drag along all of Ktor...
u
just curious if there's plans since UUID & Base64 support has been added recently, and I think URL/URI is the last thing
j
I'm not seeing how UUID and Base64 are related, but no there are no proposals for it. Both URIs and URLs are dramatically more complicated than those.
u
just a bunch of
java
equivalent stuff that has been brought into kotlin std lib recently, so I can use them in common
e
There's a few standalone libraries, such as one porting Android's Uri to common code.
https://github.com/eygraber/uri-kmp
u
i'm aware of that one, thanks 😄