Keyboard pushes up my webview

Hi, when an input has focus, the keyboard pushes up my webview and the upper part of the page is not visible anymore, particullary navbar and side panel.

I want to prevent the keyboard pushing up the webview. I read another question about this problem on the forum but neither help me to solve the issue. I installed the plugin suggested by @nolimits4web
https://github.com/cjpearson/cordova-plugin-keyboard with the command

  cordova plugin add cordova-plugin-keyboard 

in my cordova project. How can I solve it? Thank you in advance

I put this code into index.js

document.addEventListener("deviceready", onDeviceReady, false);

function onDeviceReady() {

     Keyboard.shrinkView(true);
     Keyboard.disableScrollingInShrinkView(true);
     Keyboard.hideFormAccessoryBar(true);}

I also tryed to put in my-app,js but nothing change.

My project:

  Android version: android 7.1.1
  Cordova version: cordova 8.1.2

Try to disable status bar Cordova plugin for android, it may produce such behavior

I tryed with it. but nothing change. 

<preference name="StatusBarOverlaysWebView" value="false" />


I also tryed to change AndroidManifest.xml 

      android:windowSoftInputMode="adjustPan"   but nothing change

@nolimits4web from the console I saw that the method is never call. I put the EventListener inside my-app.js

Try to remove all Cordova plugins and check. If still doesn’t work then could be device or android version related. Try on another device

Now the method is executed, but the problem is not solved