Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #131

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 16 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -21,15 +21,27 @@ With this plugin you can share on instagram stories and facebook stories and als

##### For example:

```
```xml
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="your package...">
```
#### for android 11 and above Add this queries to AnroidManfist
```xml
<queries>
<!-- social share -->
<package android:name="com.instagram.android" />
<package android:name="com.twitter.android" />
<package android:name="com.whatsapp" />
<package android:name="com.whatsapp.w4b" />
<package android:name="org.telegram.messenger" />
</queries>

```

#### Add this piece of code in the `manifest/application` in the `android/app/src/main/AndroidManifest.xml`:

```
```xml
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.com.shekarmudaliyar.social_share"
@@ -44,13 +56,14 @@ With this plugin you can share on instagram stories and facebook stories and als

#### Create a xml file named `filepaths.xml` in the `app/src/main/res/xml` folder and paste this code in the file :

```
```xml
<?xml version="1.0" encoding="utf-8"?>
<paths xmlns:android="http://schemas.android.com/apk/res/android">
<cache-path name="image" path="/"/>
</paths>
```


### iOS Configuration

#### Add this to your `Info.plist` to use share on instagram and facebook story