ecp_file_view 4.0.0
ecp_file_view: ^4.0.0 copied to clipboard
A file viewer plugin for Flutter, support local file and network link of Android, iOS.
4.0.0 #
大版本更新:Android 预览引擎切换为 AndroidDocViewer,移除 office_preview 插件依赖
- [重大变更] Android 端集成 AndroidDocViewer(
com.github.Victor2018:DocViewer),以 PlatformView 形式嵌入预览,行为与 iOS 一致 - [重大变更] 移除
office_preview插件依赖及工具类,不再依赖 TBS/X5 内核 - [清理] 删除旧有
initX5/getX5Status/manualInitX5等无用方法及 TBS 配置 - [约束] 宿主
Activity必须为AppCompatActivity(DocView内部依赖lifecycleScope),使用FlutterFragment承载时需要实现FlutterEngineConfigurator手动注册插件,详见 README 宿主侧改造指南 - [优化] 预览错误提示:本地路径获取失败、下载失败、文件异常均有明确提示
- [文档] README 增加 Android 宿主侧改造指南(appcompat 依赖 / AppCompat 主题 / MainActivity 示例)
3.0.3 #
- [优化] 完善 README 文档说明
3.0.2 #
版本更新至3.0.2并记录变更日志
- 更新pubspec.yaml中的版本号至3.0.2
- 在CHANGELOG.md中添加3.0.2版本的更新记录
3.0.1 #
- 更新版本号至3.0.1
- 升级dio依赖至^5.0.0
- 添加dict_flutter_extension依赖^1.0.0
- 优化代码格式和部分变量命名- 更新CHANGELOG,添加新版本记录
3.0.0 #
- [优化] 升级适配Flutter 3.22.3
2.0.12 - 2024-04-29 #
- [优化] 取消下载超时限制
- [优化] 降低dio和permission_handler版本
2.0.11 - 2023-09-09 #
- [优化]升级dio: ^4.0.0 -> ^5.3.2
- [优化]升级permission_handler: ^9.2.0 -> ^10.4.5
2.0.10 - 2023-07-18 #
- [优化] 文件存在与否判断逻辑(isExistsFile)
- [优化] 下载逻辑(支持Restful,自定义参数等)
2.0.9 - 2023-05-26 #
- [优化] 不支持Android应用内预览文档
- [优化] 移除TBS
2.0.8+5 - 2023-04-07 #
- [修复] Android不能预览文档问题
- [优化] 升级TBS SDK版本
2.0.8+4 - 2023-04-01 #
- [优化] 暂时不支持Android应用内预览文档
2.0.8+3 #
- Fix known issues.
2.0.8+2 #
- Fix known issues.
2.0.8+1 #
- Fixed the issue that the plugin could not be loaded when it was first opened.
2.0.8 #
- On the Android platform, it supports opening two TbsReaderViews, but it is still not supported to display multiple TbsReaderViews under the same widget;
2.0.7 #
- On Android, software startup initialization is no longer provided.
2.0.5 #
- Update LICENSE.
2.0.4 #
- Update README.md
2.0.3 #
- Fixed bug using titleMedium and bodyMedium fields that didn't exist in TextTheme before Flutter 2.10.x (#3)
2.0.2 #
- Update CHANGELOG.md
2.0.1 #
- Add the processing of the engine loading status and failure in Android.
2.0.0 #
- Welcome to a brand new version.
FileLocalViewerchanged toLocalFileViewer.FileNetworkViewerchanged toNetworkFileViewer.- For details on how to use it, see README.md
1.3.0 #
- Android programming language is adjusted from Java to kotlin.
- Optimize with flutter_lints.
1.2.1 #
- Update tool class name
1.2.0 #
- The code has changed greatly and the function has been optimized. Please pay attention to the following.
FileLocalViewchanged toFileLocalViewer.FileNetworkViewchanged toFileNetworkViewer.
1.1.3 #
- Add API description in README.md.
- Change API name.
- Optimize
fileSize()function.
1.1.2 #
- iOS minimum version changed to 9.0.
1.1.1 #
- Update README.md.
1.1.0 #
- Add X5 kernel initialization listening.
- Update README.md.
1.0.2 #
- Update README.md.
1.0.1 #
FileNetworkViewno longer providesScaffold()and needs to implement the page itself.
1.0.0 #
- Adds the number of retries to optimize kernel loading.
- Modify the
initX5()method to no longer provide the return value. - No longer provide permission request.
0.1.4 #
- Update minimum Flutter SDK to 2.5.
0.1.3 #
- Specify Java 8 for Android build.
0.1.2 #
- Add description.
0.1.1 #
- Update README.md.
0.1.0 #
- Release.
0.0.4 #
- Add file download function.
- Add a network link view with file download and file view.
0.0.3 #
- Add example.
- New adaptation
xls, xlsxscheme of iOS. - Add Tencent X5 Kernel load state constant value.
- Add Permission for Android.
0.0.2 #
- Function realization.
0.0.1 #
- Project initialization.