Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-cross-share

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.0.2 to 0.0.3

5

package.json
{
"name": "react-native-cross-share",
"description": "React Native Sharing Capabilities",
"version": "0.0.2",
"version": "0.0.3",
"repository": {

@@ -13,4 +13,3 @@ "type": "git",

"android",
"ios",
"windows"
"ios"
],

@@ -17,0 +16,0 @@ "nativePackage": true,

16

README.md

@@ -8,4 +8,4 @@ # react-native-cross-share

1. `npm install rnpm --global`
2. `npm install react-native-share --save`
3. `rnpm link react-native-share`
2. `npm install react-native-cross-share --save`
3. `rnpm link react-native-cross-share`

@@ -27,7 +27,9 @@ ### Manual install

- Add `import cl.json.RNSharePackage;` to the imports at the top of the file
3. Open up `android/app/src/main/java/[...]/MainApplication.java`
- Add `import cl.json.RNSharePackage;` to the imports at the top of the file
- Add `new RNSharePackage()` to the list returned by the `getPackages()` method
3. Append the following lines to `android/settings.gradle`:
4. Append the following lines to `android/settings.gradle`:
```
include ':react-native-share'
project(':react-native-share').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-share/android')
include ':react-native-cross-share'
project(':react-native-cross-share').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-cross-share/android')
```

@@ -37,3 +39,3 @@ 4. Insert the following lines inside the dependencies block in `android/app/build.gradle`:

```
compile project(':react-native-share')
compile project(':react-native-cross-share')
```

@@ -62,3 +64,3 @@

} from 'react-native';
import Share from 'react-native-share';
import Share from 'react-native-cross-share';

@@ -65,0 +67,0 @@ class Example extends Component {

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