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

ohos适配 #805

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

ohos适配 #805

wants to merge 2 commits into from

Conversation

HandwerSTD
Copy link

帮忙做了一些ohos适配的杂活体力活,包括:

  • 降级到 dart2(这意味着不能合入主线了,需要单开一个ohos分支维护
  • 调整一大堆插件的依赖关系,降级版本,以及openharmony-sig的插件override
  • 调整了一些不能在 dart2 上使用的代码(比如删除了整个fluentui组件,修改了一些 dart2 和 3 写法不同的地方)
  • 适配了桌面图标和文字,状态栏导航栏沉浸

受限于我的能力,做的不完善的:

  • 平台相关 bug 修复
  • mobx,riverpod 相关修复(因为我没写过这个)
  • 降级后的一些诡异 flutter bug
  • 未适配功能禁用(其实没多少)

目前的状况是可以正常编译运行,加载列表,无法加载图片(报 type 'Response' is not a subtype of type 'StreamedResponse' in type cast ),平板端的适配还没来得及做

@Notsfsssf
Copy link
Owner

感谢PR,华为sig flutter_flutter自己改的sdk只到3.7.12 我觉得无论是靠降级来适配还是切分支出去,将来都是不可维护的,或者说精力上大家维护不了两头,我希望的是跟随flutter stable channel。如果鸿蒙next允许三方安装包,flutter_flutter能够跟进的话再适配也不迟,估计社区到时候也会有类似add platform不依托旧版sdk的解决方案吧,这个PR不会被合并,总之,感谢你的贡献

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

Successfully merging this pull request may close these issues.

2 participants