react-native-share
Social share, sending simple data to other apps.
File Explorer
Download Latest Version (.zip)- bug_report.md
- feature_request.md
- question.md
- build-lint-example-app.yml
- codeql-analysis.yml
- docs.yml
- release.yml
- stale.yml
- config.yml
- PULL_REQUEST_TEMPLATE.md
- DiscordShare.java
- EmailShare.java
- FacebookPagesManagerShare.java
- FacebookShare.java
- FacebookStoriesShare.java
- GenericShare.java
- GooglePlusShare.java
- InstagramShare.java
- InstagramStoriesShare.java
- LinkedinShare.java
- MessengerShare.java
- PinterestShare.java
- ShareIntent.java
- SingleShareIntent.java
- SMSShare.java
- SnapChatShare.java
- TargetChosenReceiver.java
- TelegramShare.java
- TwitterShare.java
- ViberShare.java
- WhatsAppBusinessShare.java
- WhatsAppShare.java
- RNShareFileProvider.java
- RNShareImpl.java
- RNSharePackage.java
- RNSharePathUtil.java
- ShareApplication.java
- ShareFile.java
- ShareFiles.java
- share_download_paths.xml
- AndroidManifest.xml
- RNShare.java
- RNShare.java
- .npmignore
- build.gradle
- config
- ReactNativeFlipper.java
- AndroidManifest.xml
- MainActivity.java
- MainApplication.java
- rn_edit_text_material.xml
- ic_launcher.png
- ic_launcher_round.png
- ic_launcher.png
- ic_launcher_round.png
- ic_launcher.png
- ic_launcher_round.png
- ic_launcher.png
- ic_launcher_round.png
- ic_launcher.png
- ic_launcher_round.png
- strings.xml
- styles.xml
- AndroidManifest.xml
- ReactNativeFlipper.java
- build.gradle
- debug.keystore
- proguard-rules.pro
- gradle-wrapper.jar
- gradle-wrapper.properties
- build.gradle
- gradle.properties
- gradlew
- gradlew.bat
- settings.gradle
- imagesBase64.js
- pdfBase64.js
- LaunchScreen.xib
- Contents.json
- Contents.json
- AppDelegate.h
- AppDelegate.mm
- Info.plist
- main.m
- example-tvOS.xcscheme
- example.xcscheme
- project.pbxproj
- IDEWorkspaceChecks.plist
- contents.xcworkspacedata
- exampleTests.m
- Info.plist
- .xcode.env
- Podfile
- Podfile.lock
- videoBase64.js
- .eslintrc.js
- .gitignore
- .prettierrc.js
- App.js
- app.json
- Gemfile
- index.js
- jest.config.js
- react-native.config.js
- tsconfig.json
- project.pbxproj
- .npmignore
- DiscordShare.h
- DiscordShare.m
- EmailShare.h
- EmailShare.m
- FacebookStories.h
- FacebookStories.m
- GenericShare.h
- GenericShare.m
- GooglePlusShare.h
- GooglePlusShare.m
- InstagramShare.h
- InstagramShare.m
- InstagramStories.h
- InstagramStories.m
- MessengerShare.h
- MessengerShare.m
- RNShare.h
- RNShare.mm
- RNShareActivityItemSource.h
- RNShareActivityItemSource.m
- RNShareUtils.h
- RNShareUtils.m
- SmsShare.h
- SmsShare.m
- TelegramShare.h
- TelegramShare.m
- TwitterShare.h
- TwitterShare.m
- ViberShare.h
- ViberShare.m
- WhatsAppShare.h
- WhatsAppShare.m
- react-native+0.72.6.patch
- index.ts
- tsconfig.json
- NativeRNShare.ts
- Button.tsx
- Overlay.tsx
- ShareSheet.tsx
- Sheet.tsx
- android.ts
- checkPermissions.ts
- options.ts
- platform.ts
- index.tsx
- types.ts
- contributing.mdx
- installing.mdx
- language-support.mdx
- migrate-v3-to-v4.mdx
- migrate-v4-to-v5.mdx
- share-open.mdx
- share-package-installed.mdx
- share-remote-file.mdx
- share-single.mdx
- testing.mdx
- troubleshooting-ios.mdx
- ui-components.mdx
- custom.css
- index.js
- styles.module.css
- code-block-buttons.css
- android-250x.png
- android-component-250x.gif
- android-component.gif
- android.png
- ios-250x.png
- ios-component-250x.gif
- ios-component.gif
- ios-readme-example.gif
- ios.png
- windows-250x.png
- windows.png
- app_data.svg
- attached_file.svg
- community.png
- react.svg
- code-block-buttons.js
- .gitignore
- .yarnrc.yml
- docusaurus.config.js
- package.json
- sidebars.js
- yarn.lock
- packages.config
- pch.cpp
- pch.h
- PropertySheet.props
- ReactNativeModule.h
- ReactNativeShare.def
- ReactNativeShare.vcxproj
- ReactNativeShare.vcxproj.filters
- ReactPackageProvider.cpp
- ReactPackageProvider.h
- ReactPackageProvider.idl
- .gitignore
- ExperimentalFeatures.props
- NuGet.Config
- ReactNativeShare.sln
- .eslintignore
- .eslintrc.js
- .gitignore
- .npmignore
- .nvmrc
- .watchmanconfig
- .yarnrc.yml
- app.plugin.js
- CHANGELOG.md
- CODEOWNERS
- commitlint.config.js
- LICENSE
- metro.config.js
- package.json
- react-native.config.js
- README.md
- RNShare.podspec
- tsconfig.json
- yarn.lock
# Installation Guide
1. Get the code
git clone https://github.com/react-native-share/react-native-share
Downloads the entire project code from GitHub to your computer.
cd react-native-share
Moves into the project folder you just downloaded.
2. .NET
Medium RecommendedPrerequisites
cd windows
This project's files live in a subfolder, so move into it first.
dotnet restore
Downloads the packages the project depends on.
dotnet run
Builds the project and runs it immediately.
After dotnet run, check the message or address shown in the terminal.
3. Gradle (Java/Kotlin)
MediumPrerequisites
- Git Needed to download the project code from GitHub.
- JDK (Java) Required to build and run Java/Kotlin projects.
- Gradle If the repo includes gradlew (Gradle Wrapper), you don't need to install Gradle separately.
cd android
This project's files live in a subfolder, so move into it first.
./gradlew build
Builds the project using Gradle.
A BUILD SUCCESSFUL message means it worked. The output is created under build/.
4. Node.js
EasyPrerequisites
yarn add react-native-share
Type this command into your terminal and run it.
npm i react-native-share --save
Type this command into your terminal and run it.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
