Using an Google Pixel with Android version 8.1.0 to test.
When I open the keyboard for any of my inputs, the keyboard is pushing the content up and hiding it behind the status bar of the app.
Screenshots:
This is the code from my app.js:
if(window.cordova && window.cordova.plugins && window.cordova.plugins.Keyboard) {
cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true);
cordova.plugins.Keyboard.disableScroll(true);
window.screen.lockOrientation('portrait');
}
Ionic Info:
cli packages: (/usr/local/lib/node_modules)
@ionic/cli-utils : 1.19.2
ionic (Ionic CLI) : 3.20.0
global packages:
cordova (Cordova CLI) : 7.1.0
Gulp CLI : CLI version 3.9.1 Local version 3.9.1
local packages:
Cordova Platforms : android 7.1.0 ios 4.5.4
Ionic Framework : ionic1 1.3.4
System:
Android SDK Tools : 25.2.5
ios-deploy : 1.9.2
ios-sim : 5.0.8
Node : v9.4.0
npm : 5.6.0
OS : macOS High Sierra
Xcode : Xcode 9.4.1 Build version 9F2000
Environment Variables:
ANDROID_HOME : /Users/corpcomm/Library/Android/sdk
Misc:
backend : pro
Cordova Plugins:
cordova-plugin-calendar 5.1.2 "Calendar"
cordova-plugin-console 1.1.0 "Console"
cordova-plugin-device 2.0.2 "Device"
cordova-plugin-inappbrowser 3.0.0 "InAppBrowser"
cordova-plugin-ionic-keyboard 2.1.2 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 1.2.1 "cordova-plugin-ionic-webview"
cordova-plugin-splashscreen 5.0.2 "Splashscreen"
cordova-plugin-statusbar 2.4.2 "StatusBar"
cordova-plugin-whitelist 1.3.3 "Whitelist"
onesignal-cordova-plugin 2.4.1 "OneSignal Push Notifications"
Any thoughts or direction on what may be causing this? No issues on iOS.