cordova-plugin-configuration-manager
Advanced tools
Comparing version 1.0.4 to 1.0.5
{ | ||
"name": "cordova-plugin-configuration-manager", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "A Cordova plugin for managing configurations", | ||
@@ -5,0 +5,0 @@ "author": "Diego Santiago", |
@@ -7,6 +7,4 @@ # cordova-plugin-configuration-manager | ||
You can install this plugin using Cordova CLI or npm. Make sure you have Cordova installed globally on your machine. Then, navigate to the root directory of your Cordova project and run one of the following commands: | ||
You can install this plugin using Cordova CLI or npm. Make sure you have Cordova installed globally on your machine. Then, navigate to the root directory of your Cordova project and run the following command: | ||
Using Cordova CLI: | ||
```bash | ||
@@ -21,2 +19,4 @@ cordova plugin add cordova-plugin-configuration-manager | ||
param : string | {action: string; extras?: {key: string; value: any}[]} | ||
Here is an example of how to launch the Wi-Fi settings: | ||
@@ -23,0 +23,0 @@ |
var exec = require('cordova/exec'); | ||
var PLUGIN_NAME = 'ConfigurationManager'; | ||
var ConfigurationManager = { | ||
// param : {action: string; extras?: {key: string; value: any}[]} | ||
// param : string | {action: string; extras?: {key: string; value: any}[]} | ||
launchSettings: (param, cb, error) => { | ||
@@ -6,0 +6,0 @@ exec(cb, error, PLUGIN_NAME, 'launchSettings', [param]); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
26456
616