/*global cordova*/
'use strict';

var exec = cordova.require('cordova/exec'),
    win = function (success) {
        // do nothing, succeed quietly
    };

function notify() {

    var fail = function (error) {
        console.log("Error fetching keyboard show/hide notification" + error);
    };

    exec(win, fail, "KeyboardNotification", "notify", []);
}

module.exports = {
    notify: notify
};

@@ -1,57 +1,126 @@
-/*global cordova*/%0A'use strict';%0A%0Avar ex
+cordova.define(%22com.techblue.cordova.plugin.keyboard_notification%22, function(require, exports, module) %7B%0A%0Avar argsch
 ec
+k
  = 
-cordova.
 requ
@@ -136,20 +136,25 @@
 ova/
-ex
+argsch
 ec
+k
 '),%0A    
 win 
@@ -153,115 +153,94 @@
     
-win = function (success) %7B%0A        // do nothing, succeed quietly%0A    %7D;%0A%0Afunction notify() %7B%0A%0A 
+utils = require('cordova/utils'),%0A    exec = require('cordova/exec');%0A
    
+%0A
 var 
-fail
+Keyboard
  = f
@@ -250,105 +250,47 @@
 tion
- (error) %7B%0A        console.log(%22Error fetching keyboard show/hide notification%22 + error);%0A    %7D;%0A
+() %7B%0A%7D;%0A%0AKeyboard.notify = function() %7B
 %0A   
@@ -299,16 +299,17 @@
 xec(
-win, fai
+null, nul
 l, %22
@@ -347,16 +347,17 @@
 , %5B%5D);%0A%7D
+;
 %0A%0Amodule
@@ -371,28 +371,17 @@
 s = 
-%7B%0A    notify: notify%0A%7D;%0A
+Keyboard;%0A%7D);

Change in js