You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[email protected] has been released and it makes backwardly-incompatible changes to the structure of the native Android project generated by Cordova.
Therefore current versions of this plugin (v4) are incompatible with cordova-android@7, so a new major version of this plugin will probably need to be released in order to support it.
However, if possible this plugin should maintain backward compatibility for cordova-android@6 and below.
The text was updated successfully, but these errors were encountered:
It seems cordova-android@7 also attempts to parse <config-file> blocks in the config.xml, so now <config-file> blocks that are intended for this plugin to parse are being picked up by Cordova and causing errors.
For a reproducible example, run the following:
cordova create test && cd test
cordova platform add [email protected]
cordova build android
sed -i '' 's/<platform name="android">/<platform name="android"><config-file parent=".\/application\/activity\/[@android:name=\x27MainActivity\x27]" target="AndroidManifest.xml"><meta-data android:name="foo" android:value="@string\/bar" \/><\/config-file>/' config.xml
cordova build android
The result will be an error:
Error: Unable to graft xml at selector "./application/activity/[@android:name='MainActivity']"
from "cordova-android@7-test/platforms/android/app/src/main/res/xml/config.xml" during config install
So the next major version of this plugin (cordova-custom-config@5) is going to need to prefix element names in order that Cordova doesn't attempt to parse them:
[email protected] has been released and it makes backwardly-incompatible changes to the structure of the native Android project generated by Cordova.
Therefore current versions of this plugin (v4) are incompatible with
cordova-android@7
, so a new major version of this plugin will probably need to be released in order to support it.However, if possible this plugin should maintain backward compatibility for
cordova-android@6
and below.The text was updated successfully, but these errors were encountered: