Hi did I miss something in the code, I have install the ask the code has no error but when I click the sign up button and check the appwrite console nothings is get added, am using flutterflow so am getting this string from argument in flutterflow
What's your catch error do?
Btw, last time I checked the Appwrite SDK didn't work well in flutterflow...how are you planning on reusing the Client in your app?
Last time I try it it didn’t work either but this time the code compile, i don’t know it but am just trying it out
You can try it, but you may run into a problem with the users session not persisting. There's an Appwrite marketplace app you can use as a reference for connecting to Appwrite. The idea is to use the Flutter Flows API Calls directly against the Appwrite REST API
Back to your code, though...what's the catchError doing?
It shows no error
What's the code?
And maybe you can add some print to verify this method is being called?
It's also slightly weird you're defining a main function inside this accountcreate function
Currently flutterflow only allows you add function with no arguments in the main file
Sorry I still don't understand why you need that main function? Why don't you have the code just in the accountcreate function?
Should I set it like that
that makes more sense. However, did you lose the import?
Lol 😂 I just realized I didn’t import the appwrite package but the only error am getting now is the above screenshot am not sure where to add the )
Never mind I fix the error
@Steven hey I got appwrite Auth working with flutterflow
using the SDK?
Yes
awesome! How are you handling the Client
? Are you able to make an authenticated request in another part of your app?
I just got it to work, so am going to play around with other stuff and I will let you know
Hey just to keep you update only function ( for server side code) doesn’t work since flutterflow doesn’t support adding dependencies and import packages for custom functions
Sorry what do you mean?
Recommended threads
- Upgrade Issue
Am having issue upgrading my appwrite account to pro as my card number is 19 and the required input is 16 digit
- createEmailPasswordSession Error using S...
Did someone succeed using SSR approach for login?
- [Solved] how to get user prefs from serv...
i want to get a specific users preferences from serverside maybe i missunderstood something