
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
- Can not migrate to self hosted instance ...
Hey! I want to migrate from Appwrite Cloud to a self hosted instance and it's a really frustrating journey for now. Exporting itself does not work, so I did w...
- Realtime didn't work in react native exp...
``` useEffect(() => { const { client } = createClient(); const unsubscribe = client.subscribe(`databases.${process.env.EXPO_PUBLIC_APPWRITE_DATABASE}.t...
- Is it possible to initialize an Appwrite...
If I provide a project repository to someone, and within that repo there is an `appwrite.json`, is it possible to initialize the project in Appwrite from scratc...
