title: Capacitor Plugin shows as undefined on android build
body: <p>Here's a capacitor plugin I found <a href="https://github.com/JhonArlex/capacitor_qrcode" rel="nofollow noreferrer">https://github.com/JhonArlex/capacitor_qrcode</a>
  and I want it to integrate it to my ionic app, on web serve it works as expected, but when I try on livereload on android, the error screen pops out and says the plugin is undefined..</p>
  
  <pre><code>import "capacitor_qrcode";
  import { Plugins } from "@capacitor/core";
  
  //..
  
  await Plugins.QRCodePlugin.getCodeQR();
  // QRCodePlugin is undefined?
  </code></pre>
  
  <p>I'm using Ionic React Capacitor... also would appreciate if you can suggest any other way I could integrate QR code scanning feature on my app thanks!</p>