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

react-native-share-menu

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-share-menu - npm Package Compare versions

Comparing version 4.1.1 to 4.1.3

2

package.json
{
"name": "react-native-share-menu",
"description": "Adds the app to share menu, so it can be launched from share menu and receive data from other apps",
"version": "4.1.1",
"version": "4.1.3",
"repository": {

@@ -6,0 +6,0 @@ "type": "git",

@@ -140,5 +140,6 @@ # react-native-share-menu

+target '<SHARE_EXTENSION_NAME>' do
+ config = use_native_modules!
+ use_react_native!
+
+ use_react_native!(:path => config["reactNativePath"])
+ pod 'RNShareMenu', :path => '../node_modules/react-native-share-menu'
+ # Manually link packages here to keep your extension bundle size minimal
+end

@@ -154,6 +155,6 @@ ```

- Selecting Add Files to "PROJECT_NAME"
- Selecting New File...
- Choose Swift
- Make sure the selected target is your main app target
- Create file and say yes to creating a Bridging Header file
- Create the file and say yes to creating a Bridging Header file
- Delete everything in the Swift file, but keep the file around

@@ -239,2 +240,19 @@ </details>

Right click on your Share Extension folder, and choose `New File...`
Select Objective-C, make sure the target is your Share Extension
Create the file and say yes when prompted to create a Bridging Header
Delete the created `.m` file
Add the following to the new `Bridging-Header.h` file:
```Objective-c
#import <React/RCTBridge.h>
#import <React/RCTBundleURLProvider.h>
#import <React/RCTBridgeDelegate.h>
#import <React/RCTRootView.h>
```
Right click on your Share Extension folder, and choose `Add Files to "ProjectName"`

@@ -241,0 +259,0 @@

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