Cordova id change & version bump

This commit is contained in:
EddyVerbruggen 2015-08-27 16:34:49 +02:00
parent c252764372
commit 2add9bef7b
3 changed files with 8 additions and 11 deletions

View File

@ -63,18 +63,19 @@ Toast is compatible with [Cordova Plugman](https://github.com/apache/cordova-plu
Using the Cordova CLI and the [Cordova Plugin Registry](http://plugins.cordova.io) Using the Cordova CLI and the [Cordova Plugin Registry](http://plugins.cordova.io)
``` ```
$ cordova plugin add nl.x-services.plugins.toast $ cordova plugin add cordova-plugin-x-toast
$ cordova prepare $ cordova prepare
``` ```
Or using the phonegap CLI Or using the phonegap CLI
``` ```
$ phonegap local plugin add nl.x-services.plugins.toast $ phonegap local plugin add cordova-plugin-x-toast
``` ```
Toast.js is brought in automatically. There is no need to change or add anything in your html. Toast.js is brought in automatically. There is no need to change or add anything in your html.
### Manually ### Manually
You'd better use the CLI, but here goes:
1\. Add the following xml to your `config.xml` in the root directory of your `www` folder: 1\. Add the following xml to your `config.xml` in the root directory of your `www` folder:
```xml ```xml
@ -118,11 +119,7 @@ Toast works with PhoneGap build too, but only with PhoneGap 3.0 and up.
Just add the following xml to your `config.xml` to always use the latest version of this plugin: Just add the following xml to your `config.xml` to always use the latest version of this plugin:
```xml ```xml
<gap:plugin name="nl.x-services.plugins.toast" source="plugins.cordova.io" /> <gap:plugin name="cordova-plugin-x-toast" source="npm" />
```
or to use a specific version:
```xml
<gap:plugin name="nl.x-services.plugins.toast" source="plugins.cordova.io" version="2.0.6" />
``` ```
Toast.js is brought in automatically. There is no need to change or add anything in your html. Toast.js is brought in automatically. There is no need to change or add anything in your html.

View File

@ -1,9 +1,9 @@
{ {
"name": "cordova-plugin-x-toast", "name": "cordova-plugin-x-toast",
"version": "2.1.1", "version": "2.2.0",
"description": "This plugin allows you to show a Toast. A Toast is a little non intrusive buttonless popup which automatically disappears.", "description": "This plugin allows you to show a Toast. A Toast is a little non intrusive buttonless popup which automatically disappears.",
"cordova": { "cordova": {
"id": "nl.x-services.plugins.toast", "id": "cordova-plugin-x-toast",
"platforms": [ "platforms": [
"ios", "ios",
"android", "android",

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
id="nl.x-services.plugins.toast" id="cordova-plugin-x-toast"
version="2.1.1"> version="2.2.0">
<name>Toast</name> <name>Toast</name>