You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/12/28 15:23:49 UTC

[GitHub] [cordova-ios] videmort opened a new issue #1048: properties declared in config.xml --> (config-file property) are not being added correctly in the .plist file

videmort opened a new issue #1048:
URL: https://github.com/apache/cordova-ios/issues/1048


   # Bug Report
   
   ## Problem
   properties declared in config.xml --> (config-file property) are not being added correctly in the .plist file
   
   ### What is expected to happen?
   Add custom string/array of string to .plist file
   
   
   ### What does actually happen?
   Nothing, just skip and add the default system string
   
   
   ## Information
   Try to add for example NSCalendarsUsageDescription string to plist and will add the default string not the custom one.
      
   
   ### Command or Code
   `$cordova build ios --device
   `
   In the config.xml file  just add --> 
   ```
   <platform name="ios">
           <config-file parent="NSCalendarsUsageDescription" target="*-Info.plist">
               <string>Using calendar for.........</string>
           </config-file>
   </platform>
   ```
   
   ### Environment, Platform, Device
   iOS last version of xcode 12.3 and previous 12.2 (maybe happen with all)
   
   ### Version information
    cordova-ios 6.1.1
   cordova 10.0.0
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [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
   


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org