appwrite / sdk-for-flutter

[READ-ONLY] Official Appwrite Flutter SDK πŸ’™
https://appwrite.io
BSD 3-Clause "New" or "Revised" License
369 stars 110 forks source link

πŸ› Bug Report: Flutter App fails to build after adding aappwrite^10.0.0 as dependency #171

Closed Rohit-RA-2020 closed 1 year ago

Rohit-RA-2020 commented 1 year ago

πŸ‘Ÿ Reproduction steps

Running the Flutter App after installing appwrite^10.0.0 gives a build time error.

Error Says: Error: Can't declare 'headers' because it was already used in this scope.

Screenshot 2023-09-01 123121

πŸ‘ Expected behavior

Should build without any errors

πŸ‘Ž Actual Behavior

App fails to build

🎲 Appwrite version

Version 2.0.x

πŸ’» Operating system

Windows

🧱 Your Environment

Flutter v3.13.0 on Windows, building for Android

πŸ‘€ Have you spent some time to check if this issue has been raised before?

🏒 Have you read the Code of Conduct?

istornz commented 1 year ago

Same error on my end... Trying to flutter clean but nothing...

It seems headers are redefined but don't know if it is a debug line which was forgotten or an header append...

Capture d’écran 2023-09-01 aΜ€ 15 50 14
lohanidamodar commented 1 year ago

@Rohit-RA-2020 @istornz This issue should be fixed with version 10.0.1 please confirm. Thank you.

Rohit-RA-2020 commented 1 year ago

Closing this issue as this has been fixed in 10.0.1