Skip to content

Commit

Permalink
v0.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
李卓原 committed Aug 5, 2021
1 parent b44e7b2 commit aef8e02
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 40 deletions.
40 changes: 20 additions & 20 deletions .idea/libraries/Dart_SDK.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 0.11.0
- merge #42
- support ios whatsapp and system share
# 0.10.1
- fix #36 #38

Expand Down
2 changes: 1 addition & 1 deletion example/.flutter-plugins-dependencies
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"flutter_share_me","path":"/Users/jigafumakiya/Documents/Jigar/plugin/flutter_share_me/","dependencies":[]}],"android":[{"name":"flutter_share_me","path":"/Users/jigafumakiya/Documents/Jigar/plugin/flutter_share_me/","dependencies":[]}],"macos":[],"linux":[],"windows":[],"web":[]},"dependencyGraph":[{"name":"flutter_share_me","dependencies":[]}],"date_created":"2021-08-04 17:27:24.980955","version":"2.2.3"}
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"flutter_share_me","path":"/Users/lizhuoyuan/Development/Project/flutter_share_me/","dependencies":[]}],"android":[{"name":"flutter_share_me","path":"/Users/lizhuoyuan/Development/Project/flutter_share_me/","dependencies":[]}],"macos":[],"linux":[],"windows":[],"web":[]},"dependencyGraph":[{"name":"flutter_share_me","dependencies":[]}],"date_created":"2021-08-05 11:14:06.905287","version":"2.2.2"}
8 changes: 4 additions & 4 deletions example/ios/Flutter/flutter_export_environment.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/sh
# This is a generated file; do not edit or check into version control.
export "FLUTTER_ROOT=/Users/jigafumakiya/Documents/FlutterSDK/flutter"
export "FLUTTER_APPLICATION_PATH=/Users/jigafumakiya/Documents/Jigar/plugin/flutter_share_me/example"
export "FLUTTER_ROOT=/Users/lizhuoyuan/Development/flutter"
export "FLUTTER_APPLICATION_PATH=/Users/lizhuoyuan/Development/Project/flutter_share_me/example"
export "COCOAPODS_PARALLEL_CODE_SIGN=true"
export "FLUTTER_TARGET=/Users/jigafumakiya/Documents/Jigar/plugin/flutter_share_me/example/lib/main.dart"
export "FLUTTER_TARGET=/Users/lizhuoyuan/Development/Project/flutter_share_me/example/lib/main.dart"
export "FLUTTER_BUILD_DIR=build"
export "SYMROOT=${SOURCE_ROOT}/../build/ios"
export "FLUTTER_BUILD_NAME=1.0.0"
Expand All @@ -12,4 +12,4 @@ export "DART_DEFINES=Zmx1dHRlci5pbnNwZWN0b3Iuc3RydWN0dXJlZEVycm9ycz10cnVl,RkxVVF
export "DART_OBFUSCATION=false"
export "TRACK_WIDGET_CREATION=true"
export "TREE_SHAKE_ICONS=false"
export "PACKAGE_CONFIG=/Users/jigafumakiya/Documents/Jigar/plugin/flutter_share_me/example/.dart_tool/package_config.json"
export "PACKAGE_CONFIG=/Users/lizhuoyuan/Development/Project/flutter_share_me/example/.dart_tool/package_config.json"
6 changes: 3 additions & 3 deletions example/ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = CS942AL422;
DEVELOPMENT_TEAM = HW92UC978N;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
Expand Down Expand Up @@ -484,7 +484,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = CS942AL422;
DEVELOPMENT_TEAM = HW92UC978N;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
Expand All @@ -507,7 +507,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = CS942AL422;
DEVELOPMENT_TEAM = HW92UC978N;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
Expand Down
19 changes: 8 additions & 11 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:flutter_share_me/flutter_share_me.dart';

Expand All @@ -11,7 +10,7 @@ class MyApp extends StatefulWidget {

class _MyAppState extends State<MyApp> {
String msg = 'hello,this is my github:https://github.com/lizhuoyuan';
String base64Image ='';
String base64Image = '';

@override
Widget build(BuildContext context) {
Expand All @@ -36,8 +35,8 @@ class _MyAppState extends State<MyApp> {
RaisedButton(
child: Text('share to twitter'),
onPressed: () async {
var response = await FlutterShareMe().shareToTwitter(
url: 'https://github.com/lizhuoyuan', msg: msg);
var response = await FlutterShareMe()
.shareToTwitter(url: 'https://github.com/lizhuoyuan', msg: msg);
if (response == 'success') {
print('navigate success');
}
Expand All @@ -46,28 +45,26 @@ class _MyAppState extends State<MyApp> {
RaisedButton(
child: Text('share to WhatsApp'),
onPressed: () {
FlutterShareMe()
.shareToWhatsApp(base64Image: base64Image, msg: msg);
FlutterShareMe().shareToWhatsApp(base64Image: base64Image, msg: msg);
},
),
RaisedButton(
child: Text('share to WhatsApp Business'),
onPressed: () {
FlutterShareMe()
.shareToWhatsApp4Biz(base64Image: base64Image, msg: msg);
FlutterShareMe().shareToWhatsApp4Biz(base64Image: base64Image, msg: msg);
},
),
RaisedButton(
child: Text('share to shareFacebook'),
onPressed: () {
FlutterShareMe().shareToFacebook(
url: 'https://github.com/lizhuoyuan', msg: msg);
FlutterShareMe().shareToFacebook(url: 'https://github.com/lizhuoyuan', msg: msg);
},
),
RaisedButton(
child: Text('share to System'),
onPressed: () async {
var response = await FlutterShareMe().shareToSystem(msg: 'Here is the share value');
var response =
await FlutterShareMe().shareToSystem(msg: 'Here is the share value');
if (response == 'success') {
print('navigate success');
}
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_share_me
description: Flutter Plugin for sharing contents to social media.You can use it share to Facebook , WhatsApp , Twitter And System Share UI. Support Url and Text.
version: 0.10.1
version: 0.11.0
homepage: https://github.com/OpenFlutter/flutter_share_me

environment:
Expand Down

0 comments on commit aef8e02

Please sign in to comment.