From 2add9bef7b58c9e95e3ccbd4b1ae58f6506fed2f Mon Sep 17 00:00:00 2001 From: EddyVerbruggen Date: Thu, 27 Aug 2015 16:34:49 +0200 Subject: [PATCH] Cordova id change & version bump --- README.md | 11 ++++------- package.json | 4 ++-- plugin.xml | 4 ++-- 3 files changed, 8 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 7d19ebf..e998211 100644 --- a/README.md +++ b/README.md @@ -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) ``` -$ cordova plugin add nl.x-services.plugins.toast +$ cordova plugin add cordova-plugin-x-toast $ cordova prepare ``` 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. ### 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: ```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: ```xml - -``` -or to use a specific version: -```xml - + ``` Toast.js is brought in automatically. There is no need to change or add anything in your html. diff --git a/package.json b/package.json index d59791b..a200576 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,9 @@ { "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.", "cordova": { - "id": "nl.x-services.plugins.toast", + "id": "cordova-plugin-x-toast", "platforms": [ "ios", "android", diff --git a/plugin.xml b/plugin.xml index 5a543bb..f29648f 100755 --- a/plugin.xml +++ b/plugin.xml @@ -1,8 +1,8 @@ + id="cordova-plugin-x-toast" + version="2.2.0"> Toast