title: Capacitor 3.0 Upgrade Plugins "not implemented" Exception (Nx Monorepo)
body: <p>We use Angular in a nx monorepo in which we have been using Capacitor 2.4 for half a year now. We only use the android platform as of now. Now, we need to upgrade to Capacitor 3.0. The app itself is running again, however, as soon as I use any Plugin I always get the following exception: <code>ERROR Error: &quot;Device&quot; plugin is not implemented on android</code></p>
  <p>This is the same for every Plugin I have tried to use. So, if I would use the Storage Plugin I would get the same exception only for &quot;Storage&quot;. I have followed the Capacitor migration guide (<a href="https://capacitorjs.com/docs/v3/updating/3-0" rel="noreferrer">https://capacitorjs.com/docs/v3/updating/3-0</a>) in detail, but I can't figure out where I went wrong. In general, the app works now, as long as I have any code that uses a Capacitor Plugin commented out. The code using the Plugins did work before the upgrade.</p>
  <p>As according to the migration guide, I added <code>import '@capacitor/core';</code> at the main.ts file, although I also tried putting it in the app.module.ts but had no success there either. I have installed every plugin for the whole app (the root) and for the nx-capacitor app (the capacitor app added with @nxtend-capacitor) as suggested here <a href="https://nxtend.dev/docs/capacitor/getting-started/" rel="noreferrer">https://nxtend.dev/docs/capacitor/getting-started/</a>. I also have updated the capacitor cli, the capacitor core and the capacitor android version for both package.json files.
  Furthermore, according to the android upgrading guide, I have also updated gradle and the android gradle plugin. I have also updated the Android variables accordingly.</p>
  <p>I honestly do not have too much experience or in-depth knowledge of Capacitor and I am aware that Capacitor 3 is still in Beta as of this point. However, maybe someone has already stumbled upon this problem and found a solution. I am also not sure, if this problem could somehow be caused by using this monorepo approach with nx. Has someone had experience in upgrading Capacitor to 3.0 while using a Nx monorepo?</p>
  <p>For reference, this is the current package.json for the capacitor app:</p>
  <pre><code>{
    &quot;name&quot;: &quot;app-cap&quot;,
    &quot;dependencies&quot;: {
      &quot;@capacitor-community/electron&quot;: &quot;^1.3.2&quot;,
      &quot;@capacitor/android&quot;: &quot;^3.0.0-rc.0&quot;,
      &quot;@capacitor/app&quot;: &quot;^0.3.6&quot;,
      &quot;@capacitor/camera&quot;: &quot;^0.4.3&quot;,
      &quot;@capacitor/cli&quot;: &quot;^3.0.0-rc.0&quot;,
      &quot;@capacitor/core&quot;: &quot;^3.0.0-rc.0&quot;,
      &quot;@capacitor/device&quot;: &quot;^0.5.6&quot;,
      &quot;@capacitor/filesystem&quot;: &quot;^0.5.2&quot;,
      &quot;@capacitor/ios&quot;: &quot;^3.0.0-rc.0&quot;,
      &quot;@capacitor/local-notifications&quot;: &quot;^0.6.0&quot;,
      &quot;@capacitor/push-notifications&quot;: &quot;^0.3.6&quot;,
      &quot;@capacitor/storage&quot;: &quot;^0.3.6&quot;,
      &quot;capacitor-secure-storage-plugin&quot;: &quot;^0.5.0&quot;,
      &quot;com-darryncampbell-cordova-plugin-intent&quot;: &quot;^2.0.0&quot;,
      &quot;com.darktalker.cordova.screenshot&quot;: &quot;^0.1.6&quot;,
      &quot;cordova-plugin-advanced-http&quot;: &quot;^3.1.0&quot;,
      &quot;cordova-plugin-app-launcher&quot;: &quot;^0.4.0&quot;,
      &quot;cordova-plugin-appcenter-analytics&quot;: &quot;^0.5.1&quot;,
      &quot;cordova-plugin-appcenter-crashes&quot;: &quot;^0.5.1&quot;,
      &quot;cordova-plugin-appcenter-shared&quot;: &quot;^0.5.1&quot;,
      &quot;cordova-plugin-device&quot;: &quot;^2.0.3&quot;,
      &quot;cordova-plugin-dialogs&quot;: &quot;^2.0.2&quot;,
      &quot;cordova-plugin-file&quot;: &quot;^6.0.2&quot;,
      &quot;cordova-plugin-file-opener2&quot;: &quot;^3.0.5&quot;,
      &quot;cordova-plugin-zip&quot;: &quot;^3.1.0&quot;,
      &quot;jetifier&quot;: &quot;^1.6.6&quot;
    }
  }
  </code></pre>