Comments (4)
This plugin contains 2 parts:
- Javascript interface to access preferences;
- Native preferences interface generator.
Seems like you need to use preference generator. And preference generator docs is thin. Here is some notes on how to achieve what do you want:
- Install latest version of plugin. After plugin is installed, you can inspect
app-settings.json
in app folder (or here). - There is supported fields list: https://github.com/apla/me.apla.cordova.app-preferences#preferences-interface-generator
- Please run
cordova prepare
afterapp-settings.json
modification - In your app call
appPreferences.show()
to display preferences. Please note, on android preferences don't reflect default values (#62).
from me.apla.cordova.app-preferences.
Hi,I'm quite new to this too.For what I know, MDM can set some app configuration values for application. For example, I need email address to be retrieved from MDM. (http://www.appconfigforenterprise.org/dev-center/)How can I get the value by this plugin? I'm quite lost about all this. Like: What does the app-settings.json do? Does it populate plist/xml file for application? Would that be enough if I just add the EmailAddress key in the app-settings.json?
BTW, how can I test the scenario like above?
Your help would be really appreciated! This would be much helpful if you could provide the newbies with some sample application(ionic or other frameworks) !!
Thanks anyway.
from me.apla.cordova.app-preferences.
You can check the README.md file, very clear :)
from me.apla.cordova.app-preferences.
Hmm - I did look at README.md. It has good documentation on the API, but I really don't quite understand how to get from "here is a list of things I want in a preference panel set" to "my application shows its preferences panels when the user clicks here". That's what I meant by an example.
from me.apla.cordova.app-preferences.
Related Issues (20)
- How to display config titles according to device language using app-settings.json file HOT 2
- App not working after using Ionic Package Build
- Get all preferences HOT 1
- Q: Is there a 'summary' field for app-settings.json?
- Suite IOS not being shared within the other group apps. HOT 2
- Using this plugin with phonegapbuild - where is the Settings.bundle? HOT 1
- Support for settings inside my app and not in the iOS settings app?
- Failed to install 'cordova-plugin-app-preferences': Error: ENOENT: no such file or directory HOT 22
- Values lost after upgrade of App
- Cannot find preferences in android app settings HOT 1
- After add module its not even run
- Installation error on cordova-android@7 (latest), due to hook scripts
- .
- How to change the path for app-settings.json?
- ar
- Add support for Cordova 9.0 HOT 5
- Is this repo abandonned? HOT 10
- Using "requireCordovaModule" to load non-cordova module "q" is not supported. Instead, add this module to your dependencies and use regular "require" to load it. HOT 2
- Using "requireCordovaModule" to load non-cordova module "q" is not supported. Instead, add this module to your dependencies and use regular "require" to load it.
- Android: works fine when manually installed via APK, does not work when installed via Google Play
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from me.apla.cordova.app-preferences.