Skip to content

Commit

Permalink
Major version bump because of ID change for npm publish
Browse files Browse the repository at this point in the history
  • Loading branch information
EddyVerbruggen committed Sep 19, 2015
1 parent df3eb8a commit fb5e659
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 16 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
.idea
*.iml
package.json
*.iml
14 changes: 4 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,16 +77,10 @@ SocialSharing is compatible with [Cordova Plugman](https://github.com/apache/cor
```
$ phonegap local plugin add https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin.git
```
or
```
$ cordova plugin add https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin.git
```
or using the cordova plugin registry
```
$ cordova plugin add nl.x-services.plugins.socialsharing
```
run this command afterwards (backup your project first!):

or with Cordova CLI, from npm:
```
$ cordova plugin add cordova-plugin-x-socialsharing
$ cordova prepare
```

Expand Down Expand Up @@ -137,7 +131,7 @@ Window Phone: Copy `SocialSharing.cs` to `platforms/wp8/Plugins/nl.x-services.pl
### PhoneGap Build
Just add the following xml to your `config.xml` to always use the latest version of this plugin (which is published to plugins.cordova.io these days):
```xml
<gap:plugin name="nl.x-services.plugins.socialsharing" source="plugins.cordova.io" />
<gap:plugin name="cordova-plugin-x-socialsharing" source="npm" />
```
or to use an older version, hosted at phonegap build:
```xml
Expand Down
46 changes: 46 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"name": "cordova-plugin-x-socialsharing",
"version": "5.0.0",
"description": "Share text, images (and other files), or a link via the native sharing widget of your device. Android is fully supported, as well as iOS 6 and up. WP8 has somewhat limited support.",
"cordova": {
"id": "cordova-plugin-x-socialsharing",
"platforms": [
"ios",
"android",
"wp8"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin.git"
},
"keywords": [
"Social",
"Share",
"Twitter",
"Facebook",
"Email",
"SMS",
"WhatsApp",
"Tumblr",
"Pocket",
"LinkedIn",
"cordova",
"ecosystem:cordova",
"cordova-ios",
"cordova-android",
"cordova-wp8"
],
"engines": [
{
"name": "cordova",
"version": ">=3.0.0"
}
],
"author": "Eddy Verbruggen - @EddyVerbruggen",
"license": "MIT",
"bugs": {
"url": "https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin/issues"
},
"homepage": "https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin#readme"
}
8 changes: 4 additions & 4 deletions plugin.xml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="nl.x-services.plugins.socialsharing"
version="4.3.20">
id="cordova-plugin-x-socialsharing"
version="5.0.0">

<name>SocialSharing</name>

<description>
This plugin allows you to share text, images (and other files), or a link via the native sharing widget of your device.
Share text, images (and other files), or a link via the native sharing widget of your device.
Android is fully supported, as well as iOS 6 and up. WP8 has somewhat limited support.
</description>

<author>Eddy Verbruggen</author>

<license>MIT</license>

<keywords>Social, Share, Twitter, Facebook, Email, SMS, WhatsApp, Tumblr, Pocket, LinkedIN</keywords>
<keywords>Social, Share, Twitter, Facebook, Email, SMS, WhatsApp, Tumblr, Pocket, LinkedIn</keywords>

<repo>https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin.git</repo>

Expand Down

0 comments on commit fb5e659

Please sign in to comment.