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
- Subscription Problem
I'm making an app in RN with Expo and Appwrite and there's a functionality which allows the user to create a task/test (i'll be reffering to them collectively a...
- Auth not working on expo react native
I'm trying to launch a development server with expo go and appwrite as a backend. On my windows pc, I've got a local docker instance of appwrite running as my b...
- 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...