diff --git a/plugin.xml b/plugin.xml
index 5dd2fc1..222f949 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -21,7 +21,7 @@
-
+
@@ -36,12 +36,12 @@
-
-
+
+
-
+
diff --git a/src/android/IonicKeyboard.java b/src/android/CDVIonicKeyboard.java
similarity index 99%
rename from src/android/IonicKeyboard.java
rename to src/android/CDVIonicKeyboard.java
index 3abd5f8..28738a9 100644
--- a/src/android/IonicKeyboard.java
+++ b/src/android/CDVIonicKeyboard.java
@@ -21,7 +21,7 @@
import android.graphics.Point;
import android.os.Build;
-public class IonicKeyboard extends CordovaPlugin {
+public class CDVIonicKeyboard extends CordovaPlugin {
private OnGlobalLayoutListener list;
private View rootView;
diff --git a/www/android/keyboard.js b/www/android/keyboard.js
index ad1d4ba..ac68cfc 100755
--- a/www/android/keyboard.js
+++ b/www/android/keyboard.js
@@ -42,11 +42,11 @@ Keyboard.hideFormAccessoryBar = Keyboard.hideKeyboardAccessoryBar = function (hi
};
Keyboard.hide = function () {
- exec(null, null, "Keyboard", "hide", []);
+ exec(null, null, "CDVIonicKeyboard", "hide", []);
};
Keyboard.show = function () {
- exec(null, null, "Keyboard", "show", []);
+ exec(null, null, "CDVIonicKeyboard", "show", []);
};
Keyboard.disableScroll = function (disable) {
@@ -62,7 +62,7 @@ Keyboard.setKeyboardStyle = function(style) {
};
channel.onCordovaReady.subscribe(function () {
- exec(success, null, 'Keyboard', 'init', []);
+ exec(success, null, 'CDVIonicKeyboard', 'init', []);
function success(msg) {
var action = msg.charAt(0);
diff --git a/www/ios/keyboard.js b/www/ios/keyboard.js
index c9ce97d..e9c8cb1 100644
--- a/www/ios/keyboard.js
+++ b/www/ios/keyboard.js
@@ -70,14 +70,14 @@ Keyboard.fireOnResize = function (height, screenHeight, ele) {
Keyboard.hideFormAccessoryBar = function (hide, success) {
if (hide !== null && hide !== undefined) {
- exec(success, null, "Keyboard", "hideFormAccessoryBar", [hide]);
+ exec(success, null, "CDVIonicKeyboard", "hideFormAccessoryBar", [hide]);
} else {
- exec(success, null, "Keyboard", "hideFormAccessoryBar", []);
+ exec(success, null, "CDVIonicKeyboard", "hideFormAccessoryBar", []);
}
};
Keyboard.hide = function () {
- exec(null, null, "Keyboard", "hide", []);
+ exec(null, null, "CDVIonicKeyboard", "hide", []);
};
Keyboard.show = function () {
@@ -87,15 +87,15 @@ Keyboard.show = function () {
};
Keyboard.disableScroll = function (disable) {
- exec(null, null, "Keyboard", "disableScroll", [disable]);
+ exec(null, null, "CDVIonicKeyboard", "disableScroll", [disable]);
};
Keyboard.setResizeMode = function (mode) {
- exec(null, null, "Keyboard", "setResizeMode", [mode]);
+ exec(null, null, "CDVIonicKeyboard", "setResizeMode", [mode]);
}
Keyboard.setKeyboardStyle = function(style) {
- exec(null, null, "Keyboard", "keyboardStyle", [style]);
+ exec(null, null, "CDVIonicKeyboard", "keyboardStyle", [style]);
};
Keyboard.isVisible = false;