Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
ShareExtend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李增强
ShareExtend
Commits
af283208
Commit
af283208
authored
Nov 02, 2019
by
zhouteng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update plugin version, readme and changelog
parent
524fd1f6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
5 deletions
+29
-5
CHANGELOG.md
CHANGELOG.md
+4
-0
README-en.md
README-en.md
+12
-2
README.md
README.md
+12
-2
pubspec.yaml
pubspec.yaml
+1
-1
No files found.
CHANGELOG.md
View file @
af283208
## 1.1.0
*
添加多图,多文件分享功能
*
合并image_picker在ios13中选取视频不可用的补丁
## 1.0.9
## 1.0.9
*
移除了Android端的内置存储的读写权限,改成由APP端来按需求配置
*
移除了Android端的内置存储的读写权限,改成由APP端来按需求配置
...
...
README-en.md
View file @
af283208
...
@@ -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.
0.9
"
share_extend: "^1.
1.0
"
```
```
### iOS
### iOS
...
@@ -64,6 +64,16 @@ if (!await testFile.exists()) {
...
@@ -64,6 +64,16 @@ if (!await testFile.exists()) {
await testFile.create(recursive: true);
await testFile.create(recursive: true);
testFile.writeAsStringSync("test for share documents file");
testFile.writeAsStringSync("test for share documents file");
}
}
ShareExtend.share(testFile.path, "file");
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
README.md
View file @
af283208
...
@@ -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.
0.9
"
share_extend: "^1.
1.0
"
```
```
### iOS
### iOS
...
@@ -61,6 +61,16 @@ if (!await testFile.exists()) {
...
@@ -61,6 +61,16 @@ if (!await testFile.exists()) {
await testFile.create(recursive: true);
await testFile.create(recursive: true);
testFile.writeAsStringSync("test for share documents file");
testFile.writeAsStringSync("test for share documents file");
}
}
ShareExtend.share(testFile.path, "file");
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
pubspec.yaml
View file @
af283208
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.
0.9
version
:
1.
1.0
author
:
zhouteng <qfszyq@gmail.com>
author
:
zhouteng <qfszyq@gmail.com>
homepage
:
https://github.com/zhouteng0217/ShareExtend
homepage
:
https://github.com/zhouteng0217/ShareExtend
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment