Back

Using appwrite's rest api vs flutter sdk in flutterflow

  • 0
  • Flutter
  • General
  • Databases
  • Storage
  • Cloud
hcraige
13 Oct, 2023, 16:23

I realized the documentation for appwrite's rest api isn't as extensive as the sdks (flutter in my case).

Is it true that the sdk allows for more flexibility when integrating appwrite to your front end or it simply depends on what one prefers to use?

TL;DR
The user is experiencing issues when trying to connect Appwrite with FlutterFlow. They are getting an error related to the path_provider dependency. It is suggested to either upgrade or downgrade the path_provider version. The user is looking for guidance on how to successfully connect Appwrite with FlutterFlow and wonders if using the SDK or the REST API provides more flexibility. There is no solution provided in the thread.
Drake
13 Oct, 2023, 16:40

SDK makes it easier...when writing code because things like chunked uploads and sessions are handled automatically.

when i wrote Connecting FlutterFlow to Appwrite there was limited support for using the Appwrite SDK. that may have changed now.

(btw, make sure to upvote Appwrite on the Integration Wishlist so that FlutterFlow creates a native integration)

We have plenty of docs on the rest API. what are you stuck with?

hcraige
17 Oct, 2023, 10:13

i'm having implementing the SDK on flutterflow. No matter what I try ff doesn't seem to be accepting appwrite's pubdev package. I'm getting this error

and when I add the provider 2.2.5 dependencies it throws another error: Error: Failed running flutter pub get... Because custom_widget depends on path_provider ^2.1.5 which doesn't match any versions, version solving failed.

hcraige
17 Oct, 2023, 10:14
hcraige
17 Oct, 2023, 10:15

what am I doing wrongly here because i'm sure others have done this successfully before. This is driving me bonkers.

MY Platform UI is already built now connecting my frontend in flutterflow form firebase to appwrite

jaydenclerk
17 Oct, 2023, 12:43

I think you need to either upgrade or downgrade the path provider version, I was working on connecting appwrite with flutterflow I encountered the same error that what I did and it work completely fine for me? I use appwrite for auth including OAuth2 in flutterflow

Drake
17 Oct, 2023, 14:48

what does path_provider have to do with adding appwrite?

hcraige
17 Oct, 2023, 15:41

i've already tried downgrading it. 2.1.15 is the latest and it isn't working either way

jaydenclerk
17 Oct, 2023, 15:45

I think you should keep downgrading, I don’t remember exactly which version for me

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more