cordova-plugin-keyboard
cordova-plugin-keyboard copied to clipboard
Strange behaviour and reference errors.
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.
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?
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" />
i got the same error. how do i fix this
Same for me. Were you able to solve this?
Same for me now, any feedback ?