Removes the dependency on cordova-plugin-compat, and includes checks for min platform version.
What testing has been done on this change?
Testing 1:
Add local plugin to project containing cordova-android@6.3.0
Verify plugin installs, and app runs.
Testing 2:
Add local plugin to project containing cordova-android@6.2.3
Verify plugin does not install.
Console log as follows:
Plugin doesn't support this project's cordova-android version. cordova-android: 6.2.3, failed version requirement: >=6.3.0
Skipping 'cordova-plugin-file-transfer' for android
This is desirable - this change stops the plugin being installed on <cordova-android@6.3.0
[x] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform affected.
[ ] Added automated test coverage as appropriate for this change.
Platforms affected
cordova-android@6.3.0
What does this PR do?
Removes the dependency on cordova-plugin-compat, and includes checks for min platform version.
What testing has been done on this change?
Testing 1:
Testing 2:
This is desirable - this change stops the plugin being installed on
<cordova-android@6.3.0
Checklist