Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Bug Report: Flutter App fails to build after adding aappwrite^10.0.0 as dependency #171

Closed
2 tasks done
Rohit-RA-2020 opened this issue Sep 1, 2023 · 3 comments
Closed
2 tasks done
Labels
bug Something isn't working

Comments

@Rohit-RA-2020
Copy link

Rohit-RA-2020 commented Sep 1, 2023

👟 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?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@Rohit-RA-2020 Rohit-RA-2020 added the bug Something isn't working label Sep 1, 2023
@Rohit-RA-2020 Rohit-RA-2020 changed the title 🐛 Bug Report: 🐛 Bug Report: Flutter App fails to build after adding aappwrite^10.0.0 as dependency Sep 1, 2023
@istornz
Copy link

istornz commented Sep 1, 2023

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 à 15 50 14

@lohanidamodar
Copy link
Member

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

@Rohit-RA-2020
Copy link
Author

Closing this issue as this has been fixed in 10.0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants