u01jmg3 opened a new issue, #241:
URL: https://github.com/apache/cordova-common/issues/241
- Recently, I added the following to my `config.xml` to enable file sharing
within my app.
```xml
<platform name="ios">
<config-file target="*-Info.plist" parent="UIFileSharingEnabled">
<true/>
</config-file>
</platform>
```
- This works fine. However, every time I build my app (`npm run prod`), a
related `count` item within `platforms/ios/ios.json` increments by `1`. This
appears to have no maximum value and will continue to grow as I build my app.
I'm also not quite sure of its purpose.
- To note, other entries within this file also have a `count` item, but they
remain at `1`.
```json
{
"config_munge": {
"files": {
"*-Info.plist": {
"parents": {
"UIFileSharingEnabled": [
{
"xml": "<true />",
"count": 1 <-- 1, 2, 3... 999999999
}
]
}
}
}
}
}
```
- A bit of digging and I found the offending code, which led me to this
repo. Any ideas why it might be doing this? Is it a bug or am I doing something
wrong? Is it supposed to work like this? Any help would be much appreciated.
https://github.com/apache/cordova-common/blob/72aa215bdb3561073a39029738a4f87ecffa99d8/src/ConfigChanges/munge-util.js#L56
--
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]