ably-java icon indicating copy to clipboard operation
ably-java copied to clipboard

Update README for kotlin/ kotlin multiplatform usage

Open sacOO7 opened this issue 1 year ago • 7 comments

  • Current ably-java SDK supports kotlin but not mentioned anywhere in the doc.
  • About kotlin multiplatform, ably-java supports desktop and android apps, for ios/ web it needs interops with ably-cocoa and ably-js - There should be a separate section in the README mentioning the same.
  • Link to internal discussion -> https://ably-real-time.slack.com/archives/C030C5YLY/p1707222360250929

┆Issue is synchronized with this Jira Task by Unito

sacOO7 avatar Feb 06 '24 13:02 sacOO7

➤ Automation for Jira commented:

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

sync-by-unito[bot] avatar Feb 06 '24 14:02 sync-by-unito[bot]

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

LaatonWalaBhoot avatar Feb 06 '24 14:02 LaatonWalaBhoot

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.

sacOO7 avatar Feb 06 '24 14:02 sacOO7

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

LaatonWalaBhoot avatar Feb 06 '24 19:02 LaatonWalaBhoot

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

sacOO7 avatar Feb 06 '24 21:02 sacOO7

@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?

LaatonWalaBhoot avatar Feb 06 '24 21:02 LaatonWalaBhoot

@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.

sacOO7 avatar Feb 11 '24 03:02 sacOO7