Coder Social home page Coder Social logo

Comments (4)

apla avatar apla commented on August 23, 2024 1

This plugin contains 2 parts:

  1. Javascript interface to access preferences;
  2. 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:

  1. Install latest version of plugin. After plugin is installed, you can inspect app-settings.json in app folder (or here).
  2. There is supported fields list: https://github.com/apla/me.apla.cordova.app-preferences#preferences-interface-generator
  3. Please run cordova prepare after app-settings.json modification
  4. 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.

sylfree9999 avatar sylfree9999 commented on August 23, 2024 1

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.

stefhenry avatar stefhenry commented on August 23, 2024

You can check the README.md file, very clear :)

from me.apla.cordova.app-preferences.

halindrome avatar halindrome commented on August 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.