android v4.2.2
ionic v1.0.0-beta 8
Keyboard takes a few seconds to close and then I see it
And it works out after about 3-4 seconds
Thank you
android v4.2.2
ionic v1.0.0-beta 8
Keyboard takes a few seconds to close and then I see it
And it works out after about 3-4 seconds
Thank you
Do you have the ionic keyboard installed?
Yes I have
<gap:plugin name="com.ionic-for-phonegap.keyboard" />
and
<feature name="Keyboard">
<param name="ios-package" value="IonicKeyboard" onload="true" />
</feature>
Edit
Now I added this code
<feature name="Keyboard">
<param name="android-package" value="com.ionic.keyboard.IonicKeyboard" />
<param name="onload" value="true" />
</feature>
Does not work, I deleted and put this code
<feature name="Keyboard">
<param name="android-package" value="IonicKeyboard" onload="true" />
</feature>
Same thing does not work: (
Alright so itβs for phonegap build. So technically we do not own that phonegap build plugin, someone had forked our repo and seems like they have not kept it up to date.
You may have better luck using this repo instead, which is pulling from our repo
The keyboard still gets stuck for a few seconds
What for if I add
window.addEventListener ('native.hidekeyboard', keyboardHideHandler);
function keyboardHideHandler (e) {
alert ('Goodnight, sweet prince);
}
So the alert directly shown but still see half of the total white
On IOS it works good for me
isIOS = ionic.Platform.isWebView() && ionic.Platform.isIOS();
$scope.inputUp = function(){
if(isIOS) $scope.newComment.keyboardHeight = 216;
$timeout(function(){
$ionicScrollDelegate.scrollBottom(true);
}, 300);
}
$scope.inputDown = function(){
if(isIOS) $scope.newComment.keyboardHeight = 0;
$ionicScrollDelegate.resize();
}
Possibly related to this: https://github.com/driftyco/ionic/issues/1670.
Weβre waiting for the Phonegap Build plugin to get updated since there was a small fix with screen densities on Android. No guarantees on when that will happen, as it took a couple weeks for the plugin to get approved initially.