title: Cordova geofence plugin is not working with Ionic 4
body: <p>While adding cordova-plugin-geofence I am getting the following error</p>
  <blockquote>
  <p>Cannot find module '../../src/cordova/platform_metadata' Require stack:</p>
  <pre><code>- /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/Context.js
  - /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js
  - /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js
  - /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/plugman.js
  - /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/cordova-lib.js
  - /usr/local/lib/node_modules/cordova/src/help.js
  - /usr/local/lib/node_modules/cordova/src/cli.js
  - /usr/local/lib/node_modules/cordova/bin/cordova
  </code></pre>
  </blockquote>
  <p>And also the following error</p>
  <blockquote>
  <p>Failed to install 'cordova-plugin-geofence': CordovaError: Version of installed plugin: &quot;cordova-plugin-add-swift-support@2.0.2&quot; does not
  satisfy dependency plugin requirement
  &quot;cordova-plugin-add-swift-support@^1.6.0&quot;. Try --force to use
  installed plugin as dependency. at
  /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:544:43</p>
  </blockquote>