raphinesse commented on issue #154: URL: https://github.com/apache/cordova-common/issues/154#issuecomment-727841482
You `edit-config` targets `/manifest/application/activity[@android:name='MainActivity']`. I suppose that on a `prepare` the `edit-config` will be applied to a manifest file that already has changes. Thus, your `XPath` selector won't match the activity tag you want to change. I suggest you keep your `edit-config`s [idempotent](https://en.wikipedia.org/wiki/Idempotence). Since your provided `edit-config` is changing an attribute that it uses to select its target, it is not idempotent. I'm closing this for now. If you still feel this is a problem with Cordova, please feel free to respond here. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
