I am trying to register users auth and database client side Android JAVA-SDK, setKey(****) throws an error
// Initialize the Appwrite SDK
Client client = new Client();
client.setEndpoint("https://[ENDPOINT]/v1").setProject("[PROJECT_ID]").setKey("[API_KEY]");
error message Cannot resolve method 'setKey' in 'Client'
Hi 👋
In Java, you dont need to set key if this is a client side app. setKey is needed only for server to server communication.
ok. THanks.
[SOLVED] Cannot resolve method 'setKey' in 'Client'
Recommended threads
- Bug Report: Crash when trying to createR...
https://github.com/appwrite/sdk-for-android/issues/96 I think the bug is related with this one https://discord.com/channels/564160730845151244/1443887021314539...
- updateSession not working anymore
Was something changed recently on Cloud since updateSession is no longer working and I get 400 when calling it, with following error: ``` { "message": "The...
- Transactions from Android Kotlin client ...
I have a database where I want to create transactions directly in my android client. I can create a transaction with `val tx = tablesDb.createTransaction()`, an...