Remove WKwebview but check in iOS App it's not true


I remove WK webview:

ionic cordova plugin rm cordova-plugin-ionic-webview --save

but when i check in my app:

if (window.indexedDB) {
      console.log('I have WKWebview installed!');
    } else {
      console.log('I have UIWebView installed!');

It’s not removed:
2017-12-08 11:17:14.898482 ...........[605:151706] I have WKWebview installed!
What can i do ?


I remember that @mhartington said that this test isn’t 100% accurate, see WKWebview v3.0.0

Also, a long time ago, I remember that once I had kind of the same glitch while removing the (old) wkwebview plugin. To solve that, if I remember correctly, after having removed the plugin, I finally removed the platform and created it again