Closed zaarheed closed 5 years ago
You may be able to make the plugin work with Capacitor by adding a "fake" config.xml
in the root of your project (where the plugin is looking for it) and add the preference to that. No idea if that will work though.
The plugin is designed to work with Cordova. There are currently no plans to explicitly add support for Capacitor hence closing this.
Just tested it and it works.. just drop config.xml in to your project root folder. see attached :) like below >> `<?xml version='1.0' encoding='utf-8'?>
`
I am trying to use this plugin with an Ionic 4 + Capacitor project.
When installing the plugin with the command
npm install cordova.plugins.diagnostic --save
I get the error:In addition, adding the following to
capacitor.config.json
file:Still results in the following being added to my iOS
config.xml
(which appears to be all modules included):Any direction on how to specify modules when using Capacitor (and update the docs accordingly)?