CB-11691: Fix for modifying binary plists
authorDarryl Pogue <darryl@dpogue.ca>
Sat, 12 May 2018 07:22:21 +0000 (00:22 -0700)
committerDarryl Pogue <dvpdiner2@gmail.com>
Fri, 18 May 2018 16:55:40 +0000 (09:55 -0700)
commit9b4937493a397246188fee8284f62b9507a14c75
tree8977ad11f17736bd34d56da14bb18686f0b1c7ef
parentacf133346579a96217d280a8c3186e07d7fc3ef7
CB-11691: Fix for modifying binary plists

The bplist-parser module returns the plist dictionary object wrapped in
an array. When making modifications with `<edit-config>` or
`<config-file>`, it would add the changes as properties to the array but
then ignore them when writing out to the filesystem.
spec/ConfigChanges/ConfigChanges.spec.js
spec/fixtures/plugins/org.apache.bplist/plugin.xml [new file with mode: 0644]
spec/fixtures/projects/ios-config-xml/SampleApp/SampleApp-binary.plist [new file with mode: 0644]
src/ConfigChanges/ConfigFile.js