Skip to content

Commit

Permalink
1.2.0 support telegram
Browse files Browse the repository at this point in the history
  • Loading branch information
李卓原 committed Sep 17, 2021
1 parent 1dbc31d commit 1f093a8
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,8 @@ lib/generated_plugin_registrant.dart
#pubspec.lock

# Android related
**/android/**/gradle-wrapper.jar
**/android/.gradle
**/android/captures/
**/android/gradlew
**/android/gradlew.bat
**/android/key.properties
**/android/local.properties
**/android/**/GeneratedPluginRegistrant.java
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 1.2.0
- support telegram

# 1.1.4
- fix #54 android share whatsapp failed(only text)

Expand Down
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Flutter Plugin for sharing contents to social media.

You can use it share to Facebook , Instagram , WhatsApp(WhatsAppBusiness) , Twitter And System Share UI.
You can use it share to Facebook , Instagram , WhatsApp(WhatsAppBusiness) , Twitter, telegram And System Share UI.
Support Url and Text.

support:
Expand Down Expand Up @@ -79,8 +79,7 @@ make sure you add below deatils in your plist file.
```
Note-: Make sure you add fb in at start of your fb Id in CFBundleURLSchemes.

Add below value in url scheme.

Add below value in url scheme(Refer to example).


```<key>LSApplicationQueriesSchemes</key>
Expand All @@ -101,6 +100,7 @@ Add below value in url scheme.
<string>fb-messenger-share-api</string>
<string>fbauth2</string>
<string>fbshareextension</string>
<string>tg</string>
</array>
```

Expand Down Expand Up @@ -147,6 +147,9 @@ import 'package:flutter_share_me/flutter_share_me.dart';
### instagram
#### shareToInstagram({String imagePath})

### telegram
#### shareToTelegram({String msg})

### system
#### shareToSystem({String msg}) use system share ui

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: 1.1.4
version: 1.2.0
homepage: https://github.com/OpenFlutter/flutter_share_me
publish_to: http://pub.dev

Expand Down

0 comments on commit 1f093a8

Please sign in to comment.