title: How to import and use custom cordova plugin in ionic 4 project
body: <p>I did all the required steps to create new cordova plugin as mentioned in the below question and I succeed:</p>
  <p><a href="https://stackoverflow.com/questions/40375555/start-android-activity-from-cordova-plugin">Start android activity from cordova plugin</a></p>
  <p>I ran the following command <code>cordova plugin ls</code> and I got the following result:</p>
  <blockquote>
  <p>com.example.sample.plugin 0.0.1 &quot;PluginName&quot;</p>
  </blockquote>
  <p>So my plugin is added to my project.</p>
  <p>But still I am not able to import it in the .ts file my ionic 4 project. What import statement should I write to be able to use the plugin?</p>