Closed istornz closed 7 months ago
I have same problem so i just fork his stomic and change http package then pull his stomic again now its working fine for me.
use client like this btw.
static Client client = Client(endPoint: 'https://cloud.appwrite.io/v1', selfSigned: true) .setProject('-----------your key------'); Account account = Account(client);
@istornz Thank you for reporting the issue. Will update soon.
Also experiencing the same issue with the dart SDK as well
Same issue with dart sdk here too. I cannot install Flutter Quil Extensions package as it requires http 1.0.0 package while Appwrite Dart SDK package uses http 0.13 so I am getting this error when calling pub get: _Because flutter_quill_extensions >=0.5.0 depends on http ^1.1.0 and appwrite 11.0.1 depends on http >=0.13.6 <1.0.1, flutter_quillextensions >=0.5.0 is incompatible with appwrite 11.0.1.
Is anyone from Appwrite team resolving this issue? Flutter Quil is a popular text editor for Flutter and the Flutter Quil Extensions allows inserting images and attachments to the edited documents. It is Appwrite or the editor for me now and that is a tough choice really.
I think, as a workaround, we can override http
version in the pubpec.yaml
but this issue need to be fixed ASAP thanks 👍
Thanks for the suggestion. I have pointed to a forked git version in the pubspec and that resolved this issue. But I want to stay with the master Apprite SDK so I can sync any new features when the package gets a new version from the Appwrite team.
On Thu, Jan 25, 2024, 11:11 AM Dimitri Dessus @.***> wrote:
I think, as a workaround, we can override http version in the pubpec.yaml but this issue need to be fixed ASAP thanks 👍
— Reply to this email directly, view it on GitHub https://github.com/appwrite/sdk-for-flutter/issues/179#issuecomment-1909613476, or unsubscribe https://github.com/notifications/unsubscribe-auth/BEUA5AHACUAWSRQGIFKYKCTYQIHULAVCNFSM6AAAAAA62VHUASVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBZGYYTGNBXGY . You are receiving this because you commented.Message ID: @.***>
Hi @lohanidamodar, do you have any news about this issue? 👍
👟 Reproduction steps
More and more other dependency upgrade http to latest stable version, we can't upgrade others dependencies since this library depends on
'>=0.13.6 <1.0.1'
, example with basic_utils v5.7.0 (latest).Thanks :
👍 Expected behavior
It should use latest stable http version
👎 Actual Behavior
It use version
'>=0.13.6 <1.0.1'
of http package🎲 Appwrite version
Version 2.0.x
💻 Operating system
MacOS
🧱 Your Environment
No response
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?