ionic-team / ionic-plugin-keyboard

Ionic Keyboard Plugin for Cordova
Apache License 2.0
610 stars 274 forks source link

THREAD WARNING: ['Keyboard'] took '88.104980' ms. Plugin should use a background thread. #257

Open ihadeed opened 7 years ago

ihadeed commented 7 years ago

From @jgw96 on March 22, 2017 20:0

From @mobileias on March 21, 2017 7:55

Ionic version: (check one with "x") [x ] 1.x [ ] 2.x

I'm submitting a ... (check one with "x") [x ] bug report [ ] feature request [ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/

i am using phonegap build for creating ipa with ionic html framework and using latest cli like <preference name="phonegap-version" value="cli-6.5.0" /> and ionic keyboard using latest version <plugin name="ionic-plugin-keyboard" source="npm" version="2.2.1" />

Now after uploading latest ipa to itune it never shows keyboard very first click and i see log like

<Warning>: THREAD WARNING: ['Keyboard'] took '58.110840' ms. Plugin should use a background thread.

Any one please help me to solve out this big issue as keyboard always shows after second click into input box or textarea even now it also not open select drop down very first time click

http://prntscr.com/emkaxz

Thank you in advance

Copied from original issue: driftyco/ionic#10853

Copied from original issue: driftyco/ionic-native#1225

denizhacisalihoglu commented 6 years ago

ionic-plugin-keyboard plugin is depreceated as mentioned in the plugin page here. Please remove this plugin and try to use this one: https://github.com/ionic-team/cordova-plugin-ionic-keyboard

Before start to install the newer plugin version, make sure you already have installed cordova-plugin-ionic-webview plugin. Check this page out.

Steps:

ionic cordova plugin rm ionic-plugin-keyboard ionic cordova plugin add cordova-plugin-ionic-keyboard --save ionic cordova build ios