Back

Use CupertinoClient instead of IOClient in Flutter SDK

  • 0
  • Flutter
SkylL3r
12 Sep, 2024, 10:06

Hello all, At the moment, Appwrite SDK for Flutter uses default IOClient (from http package ).

Is there any way to override this so we can use CupertinoClient (see cupertino_http and here) or any way to customize the default IOClient?

Thanks a lot !

TL;DR
- Developer needs to switch from using the default IOClient to CupertinoClient in the Flutter SDK. - CupertinoClient and Cronet use the native networking layer of the operating system instead of sockets. - CupertinoClient's advantage seems to be broader support for Apple devices. - Suggested solution: Fork the SDK and implement the change to use CupertinoClient.
Joshi
12 Sep, 2024, 10:08

Fork the SDK and implement it yourself

darShan
12 Sep, 2024, 10:13

whats the usp of this cupertino_http? just apple device support?

Joshi
12 Sep, 2024, 10:14

cuperitino and cronet http use the native networking layer of the os instead of relying on sockets

darShan
12 Sep, 2024, 10:22

i see.

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