ably / ably-java

Java, Android, Clojure and Scala client library SDK for Ably realtime messaging service
https://ably.com/download
Apache License 2.0
84 stars 38 forks source link

Update README for kotlin/ kotlin multiplatform usage #987

Open sacOO7 opened 5 months ago

sacOO7 commented 5 months ago

┆Issue is synchronized with this Jira Task by Unito

sync-by-unito[bot] commented 5 months ago

➤ Automation for Jira commented:

The link to the corresponding Jira issue is https://ably.atlassian.net/browse/SDK-4079

LaatonWalaBhoot commented 5 months ago

Hi patiently waiting for this for multiplatform. Any idea or timeline by when will this be supported?

sacOO7 commented 5 months ago

Hi @LaatonWalaBhoot, currently you can use ably-java for KMM desktop/android. For ios, you need to use https://kotlinlang.org/docs/native-objc-interop.html along with ably-cocoa sdk.

LaatonWalaBhoot commented 5 months ago

@sacOO7 Is there any documentation for this to get started? Any samples?

sacOO7 commented 5 months ago

We will add it soon : ) Meanwhile if your requirement is just desktop and android, you can get started with ably-java.

LaatonWalaBhoot commented 5 months ago

@sacOO7 Waiting for it. My requirements are iOS and Android. Also, I noticed that the SDK does not have first-class coroutines support. Is that something intentional or will be added in the future?

sacOO7 commented 4 months ago

@LaatonWalaBhoot It's not intentional as such. We always strive to develop SDK's that can cover multiple platforms. That said, as per usecase, this SDK can be used in all jvm based platforms including android. As mentioned here, as adoption of KMM increases, we will try adding necessary features.