New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-native-reshared

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-reshared

Receive share intents to your React Native app from iOS & Android – fully compatible with Expo

  • 0.3.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
Maintainers
1
Weekly downloads
 
Created
Source

📡 react-native-reshared

Receive share intents to your React Native app from iOS & Android – fully compatible with Expo

npm bundle size GitHub GitHub last commit

⚠️ WARNING: This project is still considered unstable. The API might change drastically in new versions. Please proceed with caution and report any issues you're encountering.

Installation

npm install react-native-reshared
# or
yarn add react-native-reshared

Apply xcode patch

Due to an issue in the cordova-node-xcode project (which @expo/config-plugins relies on), you need to apply a patch to the xcode package which this library installs. Unfortunately, this has to be done manually as react-native-reshared cannot do it for you.

You only need to do this if you're using Expo and the config plugin. If you're using React Native CLI, you can skip this step.

First, install patch-package using your favorite package manager:

npm install -D patch-package
# or
yarn add -D patch-package

Then add the following script to your package.json:

{
  "scripts": {
    "postinstall": "patch-package"
  }
}

Create a patches directory in the root of your project and add a file called xcode+3.0.1.patch. Copy the contents of the same file from this repository into it. Finally, run patch-package to apply the patch:

npx patch-package
# or
yarn patch-package

Note: There's an open issue in the Expo repository regarding this problem. Once it's resolved, this step will no longer be necessary.

Documentation

The documentation is located here.

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

Attribution

This project is heavily based on some great, though mostly unmaintained libraries:

The codebases of these libraries were used as a starting point for this project. They have been merged together, updated, cleaned up, documented and extended with new features.

License

MIT

Keywords

FAQs

Package last updated on 19 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc