diff --git a/README.md b/README.md index d66260d3..e962f599 100644 --- a/README.md +++ b/README.md @@ -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` @@ -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 `LSApplicationQueriesSchemes + + whatsapp + mailto +` +6. Run your project (`Cmd+R`) #### Android @@ -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 diff --git a/assets/android-250x.png b/assets/android-250x.png new file mode 100644 index 00000000..fed9fc46 Binary files /dev/null and b/assets/android-250x.png differ diff --git a/assets/android-component-250x.gif b/assets/android-component-250x.gif new file mode 100644 index 00000000..42ac2842 Binary files /dev/null and b/assets/android-component-250x.gif differ diff --git a/assets/ios-250x.png b/assets/ios-250x.png new file mode 100644 index 00000000..7ee67d7d Binary files /dev/null and b/assets/ios-250x.png differ diff --git a/assets/ios-component-250x.gif b/assets/ios-component-250x.gif new file mode 100644 index 00000000..173f56de Binary files /dev/null and b/assets/ios-component-250x.gif differ diff --git a/package.json b/package.json index af07ed86..b3e1a52d 100644 --- a/package.json +++ b/package.json @@ -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"