code: function() {
      if (keyboardHasPlugin()) {
        window.removeEventListener('native.keyboardshow', debouncedKeyboardNativeShow );
        window.removeEventListener('native.keyboardhide', keyboardFocusOut);
      } else {
        document.body.removeEventListener('focusout', keyboardFocusOut);
      }
  
      document.body.removeEventListener('ionic.focusin', debouncedKeyboardFocusIn);
      document.body.removeEventListener('focusin', debouncedKeyboardFocusIn);
  
      window.removeEventListener('orientationchange', keyboardOrientationChange);
  
      if ( window.navigator.msPointerEnabled ) {
        document.removeEventListener("MSPointerDown", keyboardInit);
      } else {
        document.removeEventListener('touchstart', keyboardInit);
      }
      ionic.keyboard.isInitialized = false;
    }
docs: Remove all keyboard related event listeners, effectively disabling Ionic's
  keyboard adjustments.