#Android Kotlin SDK ApiKey authentication

1 messages · Page 1 of 1 (latest)

warped shale
#

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?

PS: How many concurrent connection can i make with it?

Thanks

frail notch
#

If this is client side

#

You're using Appwrite cloud? Or self-hosting Appwrite?

warped shale
#

Self-hosted

frail notch