cordova-plugin-keyboard icon indicating copy to clipboard operation
cordova-plugin-keyboard copied to clipboard

Strange behaviour and reference errors.

Open ghost opened this issue 8 years ago • 5 comments

Hi there, I was wondering if could get a little help with this plugin by someone who understands cordova better than I do as it is behaving strangely. When i add the plugin using cordova plugin add cordova-plugin-keyboard it doesnt seem to work / link properly. If i use the Keyboard method anywhere it returns as undefined and when I focus an input box I get the following message exception nativeEvalAndFetch : ReferenceError: Can't find variable: Keyboard.

The strange thing I have noticed however is that it works if i run cordova platform update ios even though Im already on the latest version of the ios platform. This would be fine but it breaks all the other plugins i am using.

Can anyone figure out what might be happening, any and all help is appreciated thank you very much.

ghost avatar Jun 20 '17 15:06 ghost

Huh, it seems like it isn't being fully installed. What version of cordova and cordova-ios are you using? What if you use cordova prepare ios instead of cordova platform update ios?

cjpearson avatar Jun 20 '17 22:06 cjpearson

Hi, thanks for the response

So I tried cordova prepare ios and the same effect, still the same error exception nativeEvalAndFetch : ReferenceError: Can't find variable: Keyboard.

cordova version - version: '7.0.1' and from my config.xml <engine name="ios" spec="^4.4.0" /> <plugin name="cordova-plugin-keyboard" spec="^1.1.5" />

ghost avatar Jun 20 '17 22:06 ghost

i got the same error. how do i fix this

pluckannfeel avatar Jun 20 '18 05:06 pluckannfeel

Same for me. Were you able to solve this?

pontigol avatar Oct 22 '18 13:10 pontigol

Same for me now, any feedback ?

Aarbel avatar Nov 30 '19 14:11 Aarbel