Skip to content

🐛 Bug Report: Appwrite packages still uses flutter_web_auth_2-3.1.2 which uses V1 embedding causing compile errors #1064

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

Open
2 tasks done
FrancisIje opened this issue Apr 13, 2025 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@FrancisIje
Copy link

👟 Reproduction steps

This causes a compilation errors in the newer flutter versions.

Launching lib/main.dart on sdk gphone x86 64 in debug mode...
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
e: file:///Users/mac/.pub-cache/hosted/pub.dev/flutter_web_auth_2-3.1.2/android/src/main/kotlin/com/linusu/flutter_web_auth_2/FlutterWebAuth2Plugin.kt:15:48 Unresolved reference 'Registrar'.
e: file:///Users/mac/.pub-cache/hosted/pub.dev/flutter_web_auth_2-3.1.2/android/src/main/kotlin/com/linusu/flutter_web_auth_2/FlutterWebAuth2Plugin.kt:22:33 Unresolved reference 'Registrar'.
e: file:///Users/mac/.pub-cache/hosted/pub.dev/flutter_web_auth_2-3.1.2/android/src/main/kotlin/com/linusu/flutter_web_auth_2/FlutterWebAuth2Plugin.kt:24:39 Unresolved reference 'messenger'.
e: file:///Users/mac/.pub-cache/hosted/pub.dev/flutter_web_auth_2-3.1.2/android/src/main/kotlin/com/linusu/flutter_web_auth_2/FlutterWebAuth2Plugin.kt:24:62 Unresolved reference 'context'.

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':flutter_web_auth_2:compileDebugKotlin'.

A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
Compilation error. See log for more details

flutter doctor:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.29.0, on macOS 14.5 23F79 darwin-x64, locale en-NG)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0-rc1)
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.2)
[✓] VS Code (version 1.99.0)
[✓] Connected device (3 available)
[✓] Network resources

• No issues found!

👍 Expected behavior

Ought to compile

👎 Actual Behavior

didn't compile

🎲 Appwrite version

Appwrite Cloud

💻 Operating system

MacOS

🧱 Your Environment

No response

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

@FrancisIje FrancisIje added the bug Something isn't working label Apr 13, 2025
@ChiragAgg5k
Copy link
Member

@FrancisIje Thanks for raising this issue 🙏 There have been several complains regarding this issue and the team has taken notice of it. Currently we are really busy with an upcoming launch, but rest assured it will be taken care of soon. We just need to make sure the auth flow works as expected even after the update and has no breaking changes!

@ChiragAgg5k ChiragAgg5k self-assigned this May 12, 2025
@NiceSapien
Copy link

I was just about to post it but saw this! I wanna request the appwrite team to please fix this as early as possible as I have an extremely important deadline for my project! I'd be forced to move to firebase otherwise(I don't want to 😭 )

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