Commit af283208 authored by zhouteng's avatar zhouteng

update plugin version, readme and changelog

parent 524fd1f6
## 1.1.0
* 添加多图,多文件分享功能
* 合并image_picker在ios13中选取视频不可用的补丁
## 1.0.9
* 移除了Android端的内置存储的读写权限,改成由APP端来按需求配置
......
......@@ -12,7 +12,7 @@ First, add `share_extend` as a dependency in your pubspec.yaml file.
```
dependencies:
share_extend: "^1.0.9"
share_extend: "^1.1.0"
```
### iOS
......@@ -66,4 +66,14 @@ if (!await testFile.exists()) {
}
ShareExtend.share(testFile.path, "file");
///share multiple images
_shareMultipleImages() async {
List<Asset> assetList = await MultiImagePicker.pickImages(maxImages: 5);
var imageList = List<String>();
for (var asset in assetList) {
imageList.add(await asset.filePath);
}
ShareExtend.shareMultiple(imageList, "image");
}
```
\ No newline at end of file
......@@ -10,7 +10,7 @@ Language: [English](https://github.com/zhouteng0217/ShareExtend/blob/master/READ
```
dependencies:
share_extend: "^1.0.9"
share_extend: "^1.1.0"
```
### iOS
......@@ -63,4 +63,14 @@ if (!await testFile.exists()) {
}
ShareExtend.share(testFile.path, "file");
///分享多图
_shareMultipleImages() async {
List<Asset> assetList = await MultiImagePicker.pickImages(maxImages: 5);
var imageList = List<String>();
for (var asset in assetList) {
imageList.add(await asset.filePath);
}
ShareExtend.shareMultiple(imageList, "image");
}
```
\ No newline at end of file
name: share_extend
description: A Flutter plugin for Android and iOS for sharing text, image, video and file with system ui.
version: 1.0.9
version: 1.1.0
author: zhouteng <qfszyq@gmail.com>
homepage: https://github.com/zhouteng0217/ShareExtend
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment