Commit 6435b318 authored by zhouteng's avatar zhouteng

update the version code and readme

parent 5891d9d2
## 1.1.3
* add option subject for sharing multiple images
## 1.1.2 ## 1.1.2
* rebuild the provider code on android platform * rebuild the provider code on android platform
* update sample code * update sample code
......
...@@ -12,7 +12,7 @@ First, add `share_extend` as a dependency in your pubspec.yaml file. ...@@ -12,7 +12,7 @@ First, add `share_extend` as a dependency in your pubspec.yaml file.
``` ```
dependencies: dependencies:
share_extend: "^1.1.2" share_extend: "^1.1.3"
``` ```
### iOS ### iOS
...@@ -77,7 +77,7 @@ _shareMultipleImages() async { ...@@ -77,7 +77,7 @@ _shareMultipleImages() async {
await _writeByteToImageFile(await asset.getByteData(quality: 30)); await _writeByteToImageFile(await asset.getByteData(quality: 30));
imageList.add(path); imageList.add(path);
} }
ShareExtend.shareMultiple(imageList, "image"); ShareExtend.shareMultiple(imageList, "image",subject: "share muti image");
} }
Future<String> _writeByteToImageFile(ByteData byteData) async { Future<String> _writeByteToImageFile(ByteData byteData) async {
......
...@@ -10,7 +10,7 @@ Language: [English](https://github.com/zhouteng0217/ShareExtend/blob/master/READ ...@@ -10,7 +10,7 @@ Language: [English](https://github.com/zhouteng0217/ShareExtend/blob/master/READ
``` ```
dependencies: dependencies:
share_extend: "^1.1.2" share_extend: "^1.1.3"
``` ```
### iOS ### iOS
...@@ -74,7 +74,7 @@ _shareMultipleImages() async { ...@@ -74,7 +74,7 @@ _shareMultipleImages() async {
await _writeByteToImageFile(await asset.getByteData(quality: 30)); await _writeByteToImageFile(await asset.getByteData(quality: 30));
imageList.add(path); imageList.add(path);
} }
ShareExtend.shareMultiple(imageList, "image"); ShareExtend.shareMultiple(imageList, "image",subject: "share muti image");
} }
Future<String> _writeByteToImageFile(ByteData byteData) async { Future<String> _writeByteToImageFile(ByteData byteData) async {
......
name: share_extend name: share_extend
description: A Flutter plugin for Android and iOS for sharing text, image, video and file with system ui. description: A Flutter plugin for Android and iOS for sharing text, image, video and file with system ui.
version: 1.1.2 version: 1.1.3
author: zhouteng <qfszyq@gmail.com> author: zhouteng <qfszyq@gmail.com>
homepage: https://github.com/zhouteng0217/ShareExtend 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