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

插件与local_auth 1.1.0冲突 #5

Open
xianjianlf2 opened this issue Mar 11, 2021 · 4 comments
Open

插件与local_auth 1.1.0冲突 #5

xianjianlf2 opened this issue Mar 11, 2021 · 4 comments

Comments

@xianjianlf2
Copy link

Because local_auth 1.1.0 depends on flutter_plugin_android_lifecycle ^2.0.0 and no versions of local_auth match >1.1.0 <2.0.0, local_auth ^1.1.0 requires flutter_plugin_android_lifecycle ^2.0.0.

So, because welder depends on both local_auth ^1.1.0 and flutter_plugin_android_lifecycle ^1.0.0, version solving failed.

@weiwill
Copy link

weiwill commented Mar 28, 2021

代码不怎么更新,依赖好歹更新一下啊

@xianjianlf2
Copy link
Author

解决方案:
在pubspec.yaml中
amap_flutter_base: ^1.0.2
amap_flutter_map: ^1.0.2
local_auth: ^1.1.0

兼容问题

dependency_overrides:
flutter_plugin_android_lifecycle: ^2.0.0
permission_handler: ^6.0.1
plugin_platform_interface: ^2.0.0

@weiwill
Copy link

weiwill commented Mar 29, 2021

我是其它插件依赖更新不了,只能用低版的
问题倒是没多大问题,就是其它插件升级不了

@xianjianlf2
Copy link
Author

我是其它插件依赖更新不了,只能用低版的
问题倒是没多大问题,就是其它插件升级不了

这就没办法了 google自家的插件都有版本兼容问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants