Skip to content

Commit

Permalink
Updated id for NPM release
Browse files Browse the repository at this point in the history
  • Loading branch information
joelambert committed Apr 25, 2015
1 parent 3a5a6ba commit 68ea434
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 3 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,16 @@ Cordova/PhoneGap plugin for accessing the native app's version and build number

## Installation

Using the Cordova CLI:
The plugin can be installed with the Cordova CLI:

```shell
cordova plugin add https://github.com/Rareloop/cordova-plugin-app-version.git
cordova plugin add cordova-plugin-appversion
```

The plugin is hosted on NPM so requires Cordova CLI `5.0.0` as a minimum. If you have any issues installing, make sure you have the most upto date version of Cordova from NPM:

```shell
npm install -g cordova
```

## Usage
Expand Down
29 changes: 29 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"name": "cordova-plugin-appversion",
"version": "1.0.0",
"description": "Access the native app version & build number in JavaScript",
"cordova": {
"id": "cordova-plugin-appversion",
"platforms": [
"android",
"ios"
]
},
"repository": {
"type": "git",
"url": "https://github.com/Rareloop/cordova-plugin-app-version.git"
},
"keywords": [
"cordova",
"appversion",
"ecosystem:cordova",
"cordova-ios",
"cordova-android"
],
"author": "Rareloop (http://rareloop.com)",
"license": "MIT",
"bugs": {
"url": "https://github.com/Rareloop/cordova-plugin-app-version/issues"
},
"homepage": "https://github.com/Rareloop/cordova-plugin-app-version"
}
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="com.rareloop.cordova.appversion" version="1.0.0">
id="cordova-plugin-appversion" version="1.0.0">
<name>App Version</name>
<description>Expose the native app version to JavaScript</description>
<license>MIT</license>
Expand Down

0 comments on commit 68ea434

Please sign in to comment.