Meteor 1.3 Beta - iOS Cordova keyboard

Hey! I believe this is WkWebView specific as I am unable to get keyboard to work properly on new beta build with WkWebView & Cordova 4.0.1. I have shrink view disabled, and yet the keyboard pushes my webView up instead of overlaying it. Is this the expected behavior and if so, has anyone managed to get the keyboard to behave like in Ionic?

I have been experimenting in Cordova plugin files for hours now, and my knowledge of Objective C is little to none. Thank you!

What plugin are you using for the keyboard control? Was it working in Meteor 1.2.1?

Thanks for the reply. I have used ionic-plugin-keyboard 1.0.8 (https://github.com/driftyco/ionic-plugin-keyboard) which worked great in Meteor 1.2.1, and now I have switched to cjpearson’s cordova-plugin-keyboard (https://github.com/cjpearson/cordova-plugin-keyboard) for Meteor 1.3 as it seemed that it’s the only keyboard plugin recently updated for compatibility with WkWebView.

After some more digging I have found that cordova native maps plugin (https://github.com/mapsplugin/cordova-plugin-googlemaps) overtakes -(void)scrollViewDidScroll event and that fires instead of the one in keyboard plugin. scrollViewDidScroll from Keyboard plugin is never fired. I recall that I have had both plugins working without issues in Meteor 1.2.1, however I will double check that on an empty project tomorrow morning and report back here.

1 Like

@aesmon thanks for sharing @martijnwalraven In addition to the basic migration guide http://guide.meteor.com/v1.3/1.3-migration.html, would be great to have a practical guide which lists valid/working cordova plugin for meteor 1.3. I assume while you’ve worked on the cordova improvements of Meteor 1.3, you have tested many cordova plugins. Sharing your experience would be great.

Especially the basic one such as keyboard, camera, notification, sharing,…

In particular, I use Ionic with meteoric:ionic@0.1.19, target iOS and Android devices and use the following plugins.
On app/.meteor/cordova-plugins
com.megster.cordova.FileChooser@http://github.com/don/cordova-filechooser.git#1941938e206d29e0e661c053358bc65889e42fd8
com.meteor.cordova-update@https://github.com/practicalmeteor/com.meteor.cordova-update/tarball/a7e98f27a26b727288da81dcfd8047eccb5f6036
com.verso.cordova.clipboard@0.1.0
cordova-plugin-camera@1.2.0
cordova-plugin-compile-time@0.4.2
cordova-plugin-contacts@1.1.0
cordova-plugin-device@1.1.0
cordova-plugin-dialogs@1.1.1
cordova-plugin-filepath@1.0.0
cordova-plugin-globalization@1.0.1
cordova-plugin-media@https://github.com/mike623/cordova-plugin-media.git#d0b118a007aa746e515f134d292c4ffb256345bb
cordova-plugin-vibration@1.2.0
cordova-plugin-x-socialsharing@5.0.5
cordova-plugin-splashscreen@3.2.1
de.appplant.cordova.plugin.local-notification@https://github.com/danlg/LocalNotification.git
nl.x-services.plugins.actionsheet@https://github.com/EddyVerbruggen/cordova-plugin-actionsheet.git#df5e89e54d5142c964c1139db6fe813a01125825

On app/.meteor/local/cordova-build/plugins:
com.hiddentao.cordova.filepath
com.megster.cordova.FileChooser
com.meteor.cordova-update
com.phonegap.plugins.PushPlugin
com.verso.cordova.clipboard
cordova-plugin-camera
cordova-plugin-compile-time
cordova-plugin-console
cordova-plugin-contacts
cordova-plugin-device
cordova-plugin-dialogs
cordova-plugin-file
cordova-plugin-file-transfer
cordova-plugin-globalization
cordova-plugin-inappbrowser
cordova-plugin-legacy-whitelist
cordova-plugin-media
cordova-plugin-splashscreen
cordova-plugin-statusbar
cordova-plugin-vibration
cordova-plugin-x-socialsharing
de.appplant.cordova.common.registerusernotificationsettings
de.appplant.cordova.plugin.local-notification
ionic-plugin-keyboard
nl.x-services.plugins.actionsheet

Thanks @aesmon. Did you manage to make work ionic and Meteor 1.3 ? If so what were the setting you used. I’ve read from https://github.com/driftyco/ionic-plugin-keyboard/issues/98 that it suggested to remove completely the Cordova keyboard dependency. But that didn’t work for me. Your help would be very much appreciated.