From 268867e203a42fd99212daffad928ade52e2a949 Mon Sep 17 00:00:00 2001 From: Guilherme Agostinelli Date: Fri, 10 Apr 2020 00:08:16 -0300 Subject: [PATCH 1/2] update usage instructions --- README.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 88f366b..fbdabfe 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,20 @@ With this plugin you can share on instagram stories and facebook stories and als ### Android Configuration +#### Paste the following attribute in the `manifest` tag in the `android/app/src/main/AndroidManifest.xml`: + +``` + `xmlns:tools="http://schemas.android.com/tools"` +``` + +##### For example: + +``` + +``` + #### Add this piece of code in the `manifest/application` in the `android/app/src/main/AndroidManifest.xml`: ``` @@ -20,7 +34,8 @@ With this plugin you can share on instagram stories and facebook stories and als android:name="androidx.core.content.FileProvider" android:authorities="${applicationId}.com.shekarmudaliyar.social_share" android:exported="false" - android:grantUriPermissions="true"> + android:grantUriPermissions="true" + tools:replace="android:authorities"> From d3712559331b945a50231750160e05af7ae4f32f Mon Sep 17 00:00:00 2001 From: Guilherme Agostinelli Date: Fri, 10 Apr 2020 00:09:29 -0300 Subject: [PATCH 2/2] add incompatibility notice --- README.md | 4 ++++ pubspec.yaml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fbdabfe..3322da1 100644 --- a/README.md +++ b/README.md @@ -184,6 +184,10 @@ SocialShare.checkInstalledAppsForShare(); ![copy demo](demogifs/copy.gif) +# Known issues + +On Android 6, Share to Instagram Stories may not open Instagram app or load the specified image. + # Buy me a :coffee: !! ((More coffee == more code) == more fast updates) diff --git a/pubspec.yaml b/pubspec.yaml index 182d27c..a4199fb 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: social_share description: Wide variety of sharing options you'll need to share directly to certain well-known apps. -version: 2.0.3 +version: 2.0.4 authors: - homepage: https://github.com/ShekarMudaliyar/social_share