Hi I need to authenticate using the API key in a kotlin android app. I'm actually using the io.appwrite:sdk-for-android:4.0.0 version (self hosted Version 1.4.3)
I tried adding setKey when creating the client but it won't resolve the reference:
val client = Client(this.applicationContext) .setEndpoint(syncCredentials.cliEndpoint) .setProject(syncCredentials.cliProject) .setKey(syncCredentials.cliApiKey)
What version of SDK should i upgrade to, to be able to use it?
Thanks
Recommended threads
- Error upgrading from 1.8.1 to 1.9.0
DO Self-hosted server failed to upgrade with this error "Error response from daemon: client version 1.52 is too new. Maximum supported API version is 1.42". U...
- MariaDB refuses to connect to appwrite
Earlier, I tried updating my Appwrite version from 18.1.x to the latest release because my Flutter package required it to function properly. I used the official...
- executeFunction intermittently throws Fo...
Environment: Flutter app using the Appwrite Flutter SDK, calling executeFunction for [describe endpoint, e.g. live-stream-related function]. *Description*: Int...