- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I ran across this thread in the old forum, and it's relevant to a problem I'm trying to solve, so I thought I would ask here. Is there an easier/better way to edit .plist files than creating a new plugin to do it as described in that thread?
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Currently there is no other solution, however we are exploring options with regards to this. As always, no expected date is available.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the update. The plugin system worked just fine for my issue, I was just wondering if there was an easier way to do it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Perhaps you could share your plugin system for other to use?
Maybe include a directions/steps necessary to achieve what you wanted?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As it turns out, the fix I made probably didn't do anything. The Cordova Geolocation plugin actually made all the changes necessary for me. I'm not sure if my fix actually does anything, but I'll post it here anyways as a starting point for someone having the same problems.
My fix was to add the following code to intelxdk.config.additions.xml (based on this stackoverflow answer):
<config-file platform="ios" target="*-Info.plist" parent="NSLocationAlwaysUsageDescription" overwrite="false"> <array> <string>NSLocationAlwaysUsageDescription</string> </array> </config-file>
That does update the config xml files in the xdk, but I'm not sure that it actually affects the .plist file.
Since then, I've read that fixing permissions can also be done by creating a blank cordova plugin with the updated permissions (as described in the forum thread in my original post). Since the Geolocation plugin was able to update permissions, this solution makes sense. However, I haven't tested it.
Hopefully this helps someone.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't have an intelxdk.config.additions.xml file in my folder?
Since IOS 9 came out I need to modify the plist file according to: https://gist.github.com/mlynch/284699d676fe9ed0abfa

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page