- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I have a small requirement where in iPad app user can be able to change some key from app settings like user can change service url from list of url's from app settings and can be handled by a javascript function in app. I heard it is possible with cordova .plist but i didnt find any support for that. Please help me on this
Thank you all :)
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The only way to modify plist files with our cloud-based build system is by creating a simple plugin. See this FAQ for more details: https://software.intel.com/en-us/xdk/faqs/general#android-manifest
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Paul,
Can u please provide one example on how to call javascript function using preference value from settings?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Anyone could tell me how to use .plist preferences in a javascript function
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
.plist preferences are directives to the OS and the installer, they don't represent items that you use in JavaScript. Can you provide a more specific example of what it is you are trying to accomplish?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Paul,
Thanks for your reply
My requirement is in app settings i want to place a multi value specifiers (locations) where user can select one location based on that location i will select server to call.
Lets say my app SERVER API is installed in different location servers such as "NEWYORK", "SANFRANSISCO","SEATLE". Now user should select one location from app settings which would select server address to call services.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I recommend you simply add a settings page to your app and then save in local storage or some other local permanent mechanism the data that was provided. This sort of thing does not require plist changes, it simply requires that you save some information collected from the user in a local permanent app location. There are a variety of ways to do this, search for "phonegap cordova local storage" to get started.

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