Gathering detailed insights and metrics for react-native-share
Gathering detailed insights and metrics for react-native-share
Gathering detailed insights and metrics for react-native-share
Gathering detailed insights and metrics for react-native-share
@types/react-native-share
Stub TypeScript definitions entry for react-native-share, which provides its own types definitions
react-native-share-menu
Add your app as a target for sharing from other apps and write iOS Share Extensions in React Native.
expo-share-intent
use native share intent for ios and android with expo
@comingzones/react-native-share
React native share plugin
npm install react-native-share
Typescript
Module System
Min. Node Version
Node Version
NPM Version
Java (33.84%)
Objective-C (25.23%)
MDX (16.63%)
JavaScript (9.16%)
TypeScript (6.17%)
Objective-C++ (5.59%)
C++ (1.54%)
Ruby (1.14%)
CSS (0.69%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
3,793 Stars
1,146 Commits
967 Forks
60 Watchers
7 Branches
226 Contributors
Updated on Jul 10, 2025
Latest Version
12.0.10
Package Id
react-native-share@12.0.10
Unpacked Size
322.81 kB
Size
65.05 kB
File Count
165
NPM Version
10.2.3
Node Version
18.17.1
Published on
May 06, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
38
React Native Share, is a simple tool for sharing messages and files with other apps.
For Expo projects, you will need to be on a managed workflow and use the following command:
1npx expo install react-native-share
Configure you app.config.ts
or app.json
to use the permissions needed by the library:
1{ 2 "plugins": [ 3 [ 4 "react-native-share", 5 { 6 "ios": [ 7 "fb", 8 "instagram", 9 "twitter", 10 "tiktoksharesdk", 11 ], 12 "android": [ 13 "com.facebook.katana", 14 "com.instagram.android", 15 "com.twitter.android", 16 "com.zhiliaoapp.musically", 17 ], 18 "enableBase64ShareAndroid": true 19 } 20 ] 21 ] 22}
ios
parameter will take care of adding queries (LSApplicationQueriesSchemes) to the Info.plist.
1<key>LSApplicationQueriesSchemes</key> 2<array> 3 <string>fb</string> 4 <string>instagram</string> 5 <string>twitter</string> 6 <string>tiktoksharesdk</string> 7</array>
android
parameter will take care of adding queries to the AndroidManifest.xml.
1<queries> 2 <package android:name="com.facebook.katana" /> 3 <package android:name="com.instagram.android" /> 4 <package android:name="com.twitter.android" /> 5 <package android:name="com.zhiliaoapp.musically" /> 6</queries>
enableBase64ShareAndroid
will take care of adding the permission to the AndroidManifest.xml.
1<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
And prebuild the project with expo prebuild
.
If you are using react-native >= 0.7X
and/or the new arch you just need to do a simple:
1yarn add react-native-share
Or if are using npm:
1npm i react-native-share --save
After that, we need to install the dependencies to use the project on iOS(you can skip this part if you are using this on Android).
Now run a simple: npx pod-install
or cd ios && pod install
. After that, you should be able to use the library on both Platforms, iOS and Android.
Then simply import:
1import Share from 'react-native-share'; 2 3Share.open(options) 4 .then((res) => { 5 console.log(res); 6 }) 7 .catch((err) => { 8 err && console.log(err); 9 });
Which you do something similar to this:
If you are using a older version of react-native
or react-native-share
, having any problem or want to know how use Share.open
and other functions, please refer to our new docs and help us improve that.🚀
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
binaries present in source code
Details
Reason
SAST tool detected but not run on all commits
Details
Reason
8 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 7
Reason
Found 8/19 approved changesets -- score normalized to 4
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Reason
Project has not signed or included provenance with any releases.
Details
Reason
16 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More