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
858342a4
Commit
858342a4
authored
5 years ago
by
zhouteng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update version and readme
parent
5b4c9914
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
5 deletions
+13
-5
CHANGELOG.md
CHANGELOG.md
+4
-0
README-en.md
README-en.md
+4
-2
README.md
README.md
+4
-2
pubspec.yaml
pubspec.yaml
+1
-1
No files found.
CHANGELOG.md
View file @
858342a4
## 1.1.2
*
rebuild the provider code on android platform
*
update sample code
## 1.1.1
## 1.1.1
*
add option param "share panel title" on android
*
add option param "share panel title" on android
*
add option param "subject" on both android and ios
*
add option param "subject" on both android and ios
...
...
This diff is collapsed.
Click to expand it.
README-en.md
View file @
858342a4
...
@@ -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.
1
"
share_extend: "^1.1.
2
"
```
```
### iOS
### iOS
...
@@ -79,7 +79,9 @@ _shareMultipleImages() async {
...
@@ -79,7 +79,9 @@ _shareMultipleImages() async {
}
}
Future<String> _writeByteToImageFile(ByteData byteData) async {
Future<String> _writeByteToImageFile(ByteData byteData) async {
Directory dir = await getApplicationDocumentsDirectory();
Directory dir = Platform.isAndroid
? await getExternalStorageDirectory()
: await getApplicationDocumentsDirectory();
File imageFile = new File(
File imageFile = new File(
"${dir.path}/flutter/${DateTime.now().millisecondsSinceEpoch}.png");
"${dir.path}/flutter/${DateTime.now().millisecondsSinceEpoch}.png");
imageFile.createSync(recursive: true);
imageFile.createSync(recursive: true);
...
...
This diff is collapsed.
Click to expand it.
README.md
View file @
858342a4
...
@@ -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.
1
"
share_extend: "^1.1.
2
"
```
```
### iOS
### iOS
...
@@ -76,7 +76,9 @@ _shareMultipleImages() async {
...
@@ -76,7 +76,9 @@ _shareMultipleImages() async {
}
}
Future<String> _writeByteToImageFile(ByteData byteData) async {
Future<String> _writeByteToImageFile(ByteData byteData) async {
Directory dir = await getApplicationDocumentsDirectory();
Directory dir = Platform.isAndroid
? await getExternalStorageDirectory()
: await getApplicationDocumentsDirectory();
File imageFile = new File(
File imageFile = new File(
"${dir.path}/flutter/${DateTime.now().millisecondsSinceEpoch}.png");
"${dir.path}/flutter/${DateTime.now().millisecondsSinceEpoch}.png");
imageFile.createSync(recursive: true);
imageFile.createSync(recursive: true);
...
...
This diff is collapsed.
Click to expand it.
pubspec.yaml
View file @
858342a4
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.
1
version
:
1.1.
2
author
:
zhouteng <qfszyq@gmail.com>
author
:
zhouteng <qfszyq@gmail.com>
homepage
:
https://github.com/zhouteng0217/ShareExtend
homepage
:
https://github.com/zhouteng0217/ShareExtend
...
...
This diff is collapsed.
Click to expand it.
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