logto-io / dart

Logto Flutter SDKs.
MIT License
18 stars 10 forks source link

feature request: consider using flutter_web_auth_2 #61

Open wildsylvan opened 3 months ago

wildsylvan commented 3 months ago

flutter_web_auth has not being updated since 2022 and it's not compatible with the latest agp (it's missing the namespace). would you consider evaluating, and in case adopting, flutter_web_auth_2 which seems to be the continuation and it's in active development?

zHElEARN commented 1 month ago

I also think we should consider using flutter_web_auth_2.

When using logto_dart_sdk, I encountered compilation errors because setting the namespace in AndroidManifest.xml is no longer supported.

You need to manually modify flutter_web_auth's build.gradle and add the namespace to successfully compile the project.

Currently, there is a solution for this issue in the flutter_web_auth Pull Requests, but it has not been merged yet: Pull Request #159

Meanwhile, flutter_web_auth_2 has fixed this issue.

AllinProgram commented 1 week ago

please upgrade the flutter_web_auth to v0.6.0

https://github.com/LinusU/flutter_web_auth/pull/159

TheMatzy commented 6 days ago

when can you upgrade the flutter_web_auth? I get the namespace error too :c

AllinProgram commented 6 days ago

@TheMatzy If you still haven't solved the problem, you can try my temporary solution.

Copy https://github.com/LinusU/flutter_web_auth/blob/master/android/build.gradle to your local pub cache of flutter_web_auth.