breautek commented on issue #1922:
URL: 
https://github.com/apache/cordova-android/issues/1922#issuecomment-4421209544

   > Preserve filenames of strings.xml et al. for backwards compatibility, or 
clearly document a breaking change.
   
   Because it is illegal to have two files that define the same keys, I don't 
think preserving the filename is feasible. The commit is noted as a breaking 
change (as indicated by the `!`) -- but I agree it also should be explicitly 
noted in the [blog 
post](https://cordova.apache.org/announcements/2026/03/06/cordova-android-15.0.0.html).
   
   For context, we are prefixing resource names so that we don't clash with 
plugins and to make it clear that these prefixed resource files are 
Cordova-managed should only contain cordova resources. In most cases, values in 
here are configurable without relying on `<config-file>`/`<edit-config>`.
   
   In your specific use case, where you're just trying to add your own 
resources, it is better for your plugin to simply provide their own resource 
string file and use the 
[resource-file](https://cordova.apache.org/docs/en/latest/plugin_ref/spec.html#resource-file)
 directive.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to