Flutter 3.22.0-ohos 0.1.0 Release 发布
本版本为 Flutter OpenHarmony 平台 0.1.0 版本(Beta),基于 Flutter 3.22.0 版本适配。本版本支持和完善 OpenHarmony 平台侧能力,提供平台化 Channel、外接纹理、云端 SDK 等特性,并优化性能。
发布范围
HarmonyOS NEXT, API13
基础特性
- 支持 OpenHarmony 平台 Flutter Channel
- 支持 OpenHarmony 平台 Flutter Engine
- 支持 OpenHarmony 平台 Flutter 命令行工具
- 支持外接纹理
- 支持云端 SDK
- 官方库&三方库 OpenHarmony 平台适配
新增特性
- 支持 impeller 渲染引擎并默认使能
- 支持引擎预加载预渲染
- 支持自渲染内容导入 Flutter
版本发布时间
2024 年 12 月 31 日
版本配套
- ROM: 5.0.0.115
- IDE: DevEco Studio 5.0.5.310
- SDK: HarmonyOS SDK 5.0.5.310,API13
- Flutter SDK: 3.22.0-ohos-0.1.0(由于 flutter 版本解析规则,为了避免版本比较解析失败,将显示为 3.22.1-ohos-0.1.0)
三方库列表
3.22 版本与 3.7 版本共用同一套三方库代码仓,部分三方库依赖已更新 3.22 版本的,可以在代码仓中找到对应的新分支
- 官方库/三方库:
官方库链接[1]
- 三方库:
三方库名称仓库地址sqflitehttps://gitee.com/openharmony-sig/flutter_sqflitepermission_handlerhttps://gitee.com/openharmony-sig/flutter_permission_handlerfluttertoasthttps://gitee.com/openharmony-sig/flutter_fluttertoastconnectivity_plushttps://gitee.com/openharmony-sig/flutter_plus_pluginsdevice_info_plushttps://gitee.com/openharmony-sig/flutter_plus_pluginspackage_info_plushttps://gitee.com/openharmony-sig/flutter_plus_pluginsconnectivityhttps://gitee.com/openharmony-sig/flutter_plus_pluginspackage_infohttps://gitee.com/openharmony-sig/flutter_plus_pluginsaudio_sessionhttps://gitee.com/openharmony-sig/flutter_audio_session/flutter_native_imagehttps://gitee.com/openharmony-sig/flutter_native_imageflutter_soundhttps://gitee.com/openharmony-sig/flutter_soundimage_gallery_saverhttps://gitee.com/openharmony-sig/flutter_image_gallery_saverlocationhttps://gitee.com/openharmony-sig/flutter_locationpower_imagehttps://gitee.com/openharmony-sig/flutter_power_imageshare_plushttps://gitee.com/openharmony-sig/flutter_plus_pluginswakelockhttps://gitee.com/openharmony-sig/flutter_wakelockflutter_consolehttps://gitee.com/openharmony-sig/flutter_consoleaudioplayershttps://gitee.com/openharmony-sig/flutter_audioplayersgpu_imagehttps://gitee.com/openharmony-sig/flutter_gpu_imageimage_crophttps://gitee.com/openharmony-sig/flutter_image_cropbitmaphttps://gitee.com/openharmony-sig/flutter_bitmapleak_detectorhttps://gitee.com/openharmony-sig/flutter_leak_detectorflutter_math_forkhttps://gitee.com/openharmony-sig/flutter_math_forkflutter_contactshttps://gitee.com/openharmony-sig/flutter_contactsflutter_inappwebviewhttps://gitee.com/openharmony-sig/flutter_inappwebviewflutter_keyboard_visibilityhttps://gitee.com/openharmony-sig/flutter_keyboard_visibilityflutter_widget_from_htmlhttps://gitee.com/openharmony-sig/flutter_widget_from_htmlmobile_scannerhttps://gitee.com/openharmony-sig/fluttertpc_mobile_scannerdevice_utilhttps://gitee.com/openharmony-sig/fluttertpc_device_utilexport_video_framehttps://gitee.com/openharmony-sig/fluttertpc_export_video_frameflutter_local_notificationshttps://gitee.com/openharmony-sig/fluttertpc_flutter_local_notificationsflutter_phone_direct_callerhttps://gitee.com/openharmony-sig/fluttertpc_flutter_phone_direct_callerflutter_screenshot_callbackhttps://gitee.com/openharmony-sig/fluttertpc_screenshot_callbackflutter_smshttps://gitee.com/openharmony-sig/fluttertpc_flutter_smsmedia_infohttps://gitee.com/openharmony-sig/fluttertpc_media_infoorientationhttps://gitee.com/openharmony-sig/fluttertpc_orientationrecognition_qrcodehttps://gitee.com/openharmony-sig/fluttertpc_recognition_qrcodevideo_compresshttps://gitee.com/openharmony-sig/fluttertpc_video_compressshare_extendhttps://gitee.com/openharmony-sig/fluttertpc_share_extendcatcherhttps://gitee.com/openharmony-sig/fluttertpc_catcherflutter_mailerhttps://gitee.com/openharmony-sig/fluttertpc_flutter_mailergallery_saverhttps://gitee.com/openharmony-sig/fluttertpc_gallery_saverflutter_localizationhttps://gitee.com/openharmony-sig/flutter_localizationkeyboard_actionshttps://gitee.com/openharmony-sig/fluttertpc_keyboard_actionsnative_device_orientationhttps://gitee.com/openharmony-sig/fluttertpc_native_device_orientationscreenhttps://gitee.com/openharmony-sig/fluttertpc_screenpdf_renderhttps://gitee.com/openharmony-sig/fluttertpc_pdf_render
已知问题
- Macos 系统下使用鸿蒙版本 SDK 编译的 Release 版本的 Macos 应用存在闪退现象
参考文档
https://gitee.com/zacks/awesome-harmonyos-flutter
https://gitee.com/openharmony-sig/flutter_samples/tree/master/ohos/docs
https://gitee.com/harmonycommando_flutter/flutter
https://github.com/0xZOne/ohos-flutter-add2app
参考资料
[1]
官方库链接: https://gitee.com/openharmony-sig/flutter_packages