Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 229615

What’s the difference between “cordova-plugin-ionic-keyboard” and “ionic-plugin-keyboard”?

$
0
0

I’ve somehow ended up with both in my config.xml

<plugin name="cordova-plugin-ionic-keyboard" spec="^2.0.5" />
<plugin name="ionic-plugin-keyboard" spec="^2.2.1" />

I’m trying to show the keyboard, but when I try I get this error:

[03:24:34]  console.warn: Native: tried calling Keyboard.show, but the Keyboard plugin is not installed. 
[03:24:34]  console.warn: Install the Keyboard plugin: 'ionic cordova plugin add ionic-plugin-keyboard' 

This is what I have imported to use as the provider in my app.module:

import { Keyboard } from '@ionic-native/keyboard';

Which one does that correspond to, “cordova-plugin-ionic-keyboard” or “ionic-plugin-keyboard”?


Viewing all articles
Browse latest Browse all 229615

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>