From 22721a013bdd10d5eb395ba18453585f5f3f1f7f Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 31 Aug 2020 23:07:20 +0200 Subject: rebuild the ios platform and the plugins --- .../ionic-plugin-keyboard/www/android/keyboard.js | 60 ---------------------- 1 file changed, 60 deletions(-) delete mode 100644 StoneIsland/plugins/ionic-plugin-keyboard/www/android/keyboard.js (limited to 'StoneIsland/plugins/ionic-plugin-keyboard/www/android/keyboard.js') diff --git a/StoneIsland/plugins/ionic-plugin-keyboard/www/android/keyboard.js b/StoneIsland/plugins/ionic-plugin-keyboard/www/android/keyboard.js deleted file mode 100644 index 125a5a29..00000000 --- a/StoneIsland/plugins/ionic-plugin-keyboard/www/android/keyboard.js +++ /dev/null @@ -1,60 +0,0 @@ - -var argscheck = require('cordova/argscheck'), - utils = require('cordova/utils'), - exec = require('cordova/exec'), - channel = require('cordova/channel'); - - -var Keyboard = function() { -}; - -Keyboard.hideKeyboardAccessoryBar = function(hide) { - exec(null, null, "Keyboard", "hideKeyboardAccessoryBar", [hide]); -}; - -Keyboard.close = function() { - exec(null, null, "Keyboard", "close", []); -}; - -Keyboard.show = function() { - exec(null, null, "Keyboard", "show", []); -}; - -Keyboard.disableScroll = function(disable) { - exec(null, null, "Keyboard", "disableScroll", [disable]); -}; - -/* -Keyboard.styleDark = function(dark) { - exec(null, null, "Keyboard", "styleDark", [dark]); -}; -*/ - -Keyboard.isVisible = false; - -channel.onCordovaReady.subscribe(function() { - exec(success, null, 'Keyboard', 'init', []); - - function success(msg) { - var action = msg.charAt(0); - if ( action === 'S' ) { - var keyboardHeight = msg.substr(1); - cordova.plugins.Keyboard.isVisible = true; - cordova.fireWindowEvent('native.keyboardshow', { 'keyboardHeight': + keyboardHeight }); - - //deprecated - cordova.fireWindowEvent('native.showkeyboard', { 'keyboardHeight': + keyboardHeight }); - } else if ( action === 'H' ) { - cordova.plugins.Keyboard.isVisible = false; - cordova.fireWindowEvent('native.keyboardhide'); - - //deprecated - cordova.fireWindowEvent('native.hidekeyboard'); - } - } -}); - -module.exports = Keyboard; - - - -- cgit v1.2.3-70-g09d2