Skip to content

Commit

Permalink
Apple compliance - ITMS-90809 UIWebView #109
Browse files Browse the repository at this point in the history
  • Loading branch information
EddyVerbruggen committed Mar 23, 2020
1 parent 419ce96 commit 23aa734
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cordova-plugin-native-keyboard",
"version": "2.0.5",
"version": "2.0.6",
"description": "This plugin aims to solve common keyboard problems encountered with Cordova / PhoneGap apps. The messenger component (see screenshots) is ready for production, but this plugin will have more tricks up its sleeve. I'll document those once they're ready for primetime as well.",
"cordova": {
"id": "cordova-plugin-native-keyboard",
Expand Down
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-plugin-native-keyboard"
version="2.0.5">
version="2.0.6">

<name>Native Keyboard</name>

Expand Down
7 changes: 0 additions & 7 deletions src/ios/NKSLKTextViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,6 @@ - (void) updateKeyboardHeight:(CGFloat)height {
[self didChangeKeyboardStatus:SLKKeyboardStatusDidShow];
}

// The default is 'NO' which also means the 'keyboardWillHide' is not fired.
// Note that for WKWebView users this will return 'NO' again, so that event is not fired.
- (BOOL)forceTextInputbarAdjustmentForResponder:(UIResponder *)responder
{
return [responder isKindOfClass:[UIWebView class]];
}

- (void)didChangeKeyboardStatus:(SLKKeyboardStatus)status {
[super didChangeKeyboardStatus:status];
CGFloat height = self.textView.frame.size.height;
Expand Down

0 comments on commit 23aa734

Please sign in to comment.