jpush-flutter-plugin icon indicating copy to clipboard operation
jpush-flutter-plugin copied to clipboard

升级flutter版本到1.22.2时,platform跟flutter所用的platform版本不一致

Open a-href opened this issue 5 years ago • 4 comments

你好, 升级flutter版本到1.22.2时,platform跟flutter所用的platform版本不一致,platform最新版本是3.0.0-nullsafety.2, 能把插件版本支持flutter最新版本吗

a-href avatar Oct 21 '20 03:10 a-href

你好, 升级flutter版本到1.22.2时,platform跟flutter所用的platform版本不一致,platform最新版本是3.0.0-nullsafety.2, 能把插件版本支持flutter最新版本吗

什么意思?没明白

raoxudong avatar Nov 23 '20 06:11 raoxudong

库的yaml文件里设置了platform:2.0.0,但是现在的null-safety属性需要dart-3.0,所以冲突。作者有把null-safety功能提上日程吗? @raoxudong

ebwood avatar Nov 26 '20 03:11 ebwood

我这边也有这个问题,jpush_flutter的platform版本跟有的库的依赖有冲突,导致无法正常安装。

chachaxw avatar Jan 23 '21 06:01 chachaxw

可以强制覆盖jpush_flutter的platform版本

dependency_overrides:
  platform: ^3.0.0-nullsafety.4

chachaxw avatar Jan 23 '21 06:01 chachaxw