Back

KMP wrapper over REST API

  • 0
  • General
c.smith
27 May, 2023, 07:39

Hello, I wish to use the Appwrite client in my Kotlin multiplatform project, which targets Android, iOS, web, and desktop clients. AFAIK, there is a lack of client SDKs for desktop (Linux, Windows). So, I have two questions:

  • Is there a plan to support Linux and Windows clients as well?
  • Does it make sense to create such a wrapper?
TL;DR
The user is asking if there are plans to support Appwrite client SDKs for Linux and Windows, and if it would make sense for them to create their own wrapper. The response from the support team is that the Kotlin SDK is meant for server-side use and they do not have the resources to create a Kotlin client SDK. However, the user can create a feature request and contribute a Kotlin client SDK to the SDK generator repository. The support team also suggests generating a REST wrapper from the specifications.
Bouahaza
27 May, 2023, 08:31

I'll let appwrite team answer, but I suggest to create a rest wrapper, you can autogenerate it from specs : https://github.com/appwrite/appwrite/tree/master/app/config/specs

Drake
27 May, 2023, 15:54

The kotlin SDK is meant to be used server side and we won't change that.

I don't think we have the resources to work on creating a kotlin client SDK. You could create a feature request though and if there is a lot of 👍 it would move up on our radar.

You could maybe contribute a kotlin client SDK but it would need to be into the SDK generator repo.

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more