cordova-android icon indicating copy to clipboard operation
cordova-android copied to clipboard

Plugins conflict when there is no actual conflict

Open AhmedAyachi opened this issue 3 years ago • 2 comments

Bug Report

Plugins conflict when there is no actual conflict:

i created two plugins A and B A: has a config-file tag that adds two activity tags to the application tag. B: an edit-config that adds attributes to the application tag.

when i add B and then A no issue when i add A and then B (i need this because i've created a cordova app starter that has the A plugin by default), it says there's a conflict that actually doesn't exist but no problem i tried to force the command the first activity tag added by the A Plugin is being removed which crushes the A plugin

What is expected to happen?

the B plugin should be added with no probs at all;
no need to force at all because there is no actual conflict.
or fix the conflict detection algo.
thank you

Version information

Cordova-android: 10.1.2 cordova-cli: 11.0.0 windows 10

Checklist

  • [x] I searched for existing GitHub issues
  • [x] I updated all Cordova tooling to most recent version
  • [x] I included all the necessary information above Screenshot 2022-04-21 234020 Screenshot 2022-04-21 234114

AhmedAyachi avatar Apr 21 '22 22:04 AhmedAyachi