Search docs/
Getting StartedPlugins

Emm App Config

This plugin provides information on EMM application configuration

Requires the Cordova plugin: cordova-plugin-emm-app-config. For more info, please see the Cordova EMM App Config Plugin Docs.

https://github.com/oracle/cordova-plugin-emm-app-config

Stuck on a Cordova issue?

If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic’s experts offer premium advisory services for both community plugins and premier plugins.

Contact Us Today!

Installation

ionic cordova plugin add cordova-plugin-emm-app-confignpm install @ionic-native/emm-app-confignpm install cordova-plugin-emm-app-confignpm install @ionic-native/emm-app-configionic cap sync
Ionic Enterprise comes with fully supported and maintained plugins from the Ionic Team. Learn More or if you're interested in an enterprise version of this plugin Contact Us

Supported Platforms

  • Android
  • iOS

Usage

React

See here.

Angular

import { EmmAppConfig } from '@ionic-native/emm-app-config/ngx';


constructor(private readonly emmAppConfig: EmmAppConfig) { }

...

// Get all the values of the emm app configuration
const values = this.emmAppConfig.getValue();

// Get specific value of the emm app configuration
const value = this.emmAppConfig.getValue('serverUrl');

// Get an event every time the emm app config changes
this.emmAppConfig.registerChangedListener()
  .subscribe(() => console.log('App config changes'));
欧美牲交a欧美牲交aⅴ免费真_欧美日韩亚洲第一区在线_欧美日韩无线码免费