Skip to content
This repository has been archived by the owner on Oct 29, 2022. It is now read-only.

Documentation is wrong for config-file element. #512

Closed
istr opened this issue Apr 8, 2016 · 2 comments
Closed

Documentation is wrong for config-file element. #512

istr opened this issue Apr 8, 2016 · 2 comments

Comments

@istr
Copy link

istr commented Apr 8, 2016

The documentation http://docs.build.phonegap.com/en_US/configuring_config_file_element.md.html#Config%20File%20Elements is wrong.

Currently you still need to use the gap: namespace in your config.xml.

To check this, add

<config-file platform="ios" target="*-Info.plist" parent="FooAddBool" mode="add">
  <true/>
</config-file>
<config-file platform="ios" target="*-Info.plist" parent="FooAddString" mode="add">
  <string>add</string>
</config-file>
<gap:config-file platform="ios" target="*-Info.plist" parent="GapFooAddBool" mode="add">
  <true/>
</gap:config-file>
<gap:config-file platform="ios" target="*-Info.plist" parent="GapFooAddString" mode="add">
  <string>add</string>
</gap:config-file>

to your config.xml. The Foo... entries will be ignored, the GapFoo... entries will be added to the Info.plist build like expected.

@goya
Copy link
Member

goya commented Apr 9, 2016

fixed.

@goya goya closed this as completed Apr 9, 2016
@istr
Copy link
Author

istr commented Apr 9, 2016

@goya Thanks for ultra-fast response / addressing this. Is the issue in build.phonegap.com fixed, such that it matches the documentation? If so, I will update the references at stackoverflow.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants