after generating an api key how to set it up in the client side in flutter
- 0
- Android
- Flutter
- Apple
after generating an api key how to set it up in the client side in flutter/dart
You should never use an API key in the client side.
API keys that you generate in the Appwrite console should only be used for cloud functions
Mind if I ask why you're trying to use an API key in the client-side?
i am making a chat app and i need to make new collections for each user everytime there is a new group of two trying to chat
i am using no-signal approach for making this app
it is there in awesome appwrite
okay that's good. but i'm still not sure why ypu need to use an API key in the client side?
because without an api key you cant make new collections
you can create a cloud function to create a collection for the new user, which requires an API key. But that's supposed to be set inside the function itself
if you are executing the function on the client side, just call createExecution with the functionID
Recommended threads
- Problem with getting rows from related t...
Hi, I migrated the Appwrite SDK to 1.8.0 and the package in my Flutter app to version ^20.3.2. I noticed one thing is different. Previously, when I got a JSON r...
- 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...
- client.ping() does not appear to work.
After upgrading to 1.8.0, I ran the `starter_for_flutter` and tested the ping. It failed with a "Server Error". I tried this again on my production instance (1...