title: How to use non native cordova plugins in ionic 4
body: <p>I am trying to use this plugin in my Ionic 4 app:
  <a href="https://github.com/IOCare/cordova-plugin-smartconfig" rel="nofollow noreferrer">https://github.com/IOCare/cordova-plugin-smartconfig</a></p>
  
  <p>I installed plugin using <code>ionic cordova plugin add https://github.com/IOCare/cordova-plugin-smartconfig.git</code> and it seems to be added to project fine. Cordova plugin list shows: cordova-plugin-smartconfig 1.0.4 "Cordova Smart Config"</p>
  
  <p><strong>I have tried:</strong></p>
  
  <p><code>declare var espSmartConfig: any;</code> and using <code>espSmartConfig.startConfig()</code></p>
  
  <p><em>and</em></p>
  
  <p><code>declare var cordova: any;</code> and using <code>cordova.plugins.espSmartConfig.startConfig()</code>,</p>
  
  <p><em>and</em></p>
  
  <p><code>declare var window: any;</code> and using <code>window.espSmartConfig.startConfig()</code></p>
  
  <p>..but everything is unidentified. I have tried with Ionic DevApp on my android phone and with chrome on my PC.</p>
  
  <p>I'm sure I'm missing something obvious, but I can't figure out what. All documents I've found are referring to native plugins.</p>