Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
EstebanFuentealba committed Jul 27, 2016
1 parent 130326a commit f52b8f0
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 5 deletions.
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Share Social , Sending Simple Data to Other Apps

## Getting started

### Mostly automatic install
### Mostly automatic install
1. `npm install rnpm --global`
2. `npm install react-native-share --save`
3. `rnpm link react-native-share`
Expand All @@ -16,7 +16,13 @@ Share Social , Sending Simple Data to Other Apps
2. In XCode, in the project navigator, right click `Libraries``Add Files to [your project's name]`
3. Go to `node_modules``react-native-share` and add `RNShare.xcodeproj`
4. In XCode, in the project navigator, select your project. Add `libRNShare.a` to your project's `Build Phases``Link Binary With Libraries`
5. Run your project (`Cmd+R`)
5. In XCode, in the project navigator, select your project. Add `Social.framework` and `MessageUI.framework` to your project's `General``Linked Frameworks and Libraries`
6. In file Info.plist, add `<key>LSApplicationQueriesSchemes</key>
<array>
<string>whatsapp</string>
<string>mailto</string>
</array>`
6. Run your project (`Cmd+R`)

#### Android

Expand Down Expand Up @@ -81,8 +87,8 @@ Supported options:

| | Android | IOS | Windows |
| -------- | -------- | -------- | -------- |
| Simple Share | ![Demo Android](/assets/android.png) | ![Demo iOS](/assets/ios.png) | ![Demo Windows](/assets/windows.png) |
| UI Component | ![Demo Android UI Component](/assets/android-component.gif) | ![Demo Android UI Component](/assets/ios-component.gif) | TODO |
| Simple Share | ![Demo Android](/assets/android-250x.png) | ![Demo iOS](/assets/ios-250x.png) | ![Demo Windows](/assets/windows-250x.png) |
| UI Component | ![Demo Android UI Component](/assets/android-component-250x.gif) | ![Demo Android UI Component](/assets/ios-component-250x.gif) | TODO |

## Usage

Expand Down
Binary file added assets/android-250x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/android-component-250x.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/ios-250x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/ios-component-250x.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "react-native-share",
"description": "Social Share, Sending Simple Data to Other Apps",
"version": "1.0.12",
"version": "1.0.13",
"repository": {
"type": "git",
"url": "git+https://github.com/EstebanFuentealba/react-native-share.git"
Expand Down

0 comments on commit f52b8f0

Please sign in to comment.