Update Cordova Agent Configurations
See the following examples:
Change the App Key
- Remove the old value for the variable
APP_KEY
with theremove
command:cordova plugin remove --variable APP_KEY="old-app-key" appd-plugin-eum-mobile
- Add new value for the variable
APP_KEY
with theadd
command.Be sure to include the variables that you set when you first added the plugin (represented by<variable_list>
below). For example, if you setREACHABILITY_HOST=http://example.com
when you first added the plugin, you will need to reset the variable when running theadd
command again.cordova plugin add --variable APP_KEY="new-app-key" <variable_list> appd-plugin-eum-mobile
Change the App Name
- Remove the old value for the variable
APP_NAME
with theremove
command:cordova plugin remove --variable APP_NAME="old-app-name" appd-plugin-eum-mobile
- Add new value for the variable
APP_NAME
with theadd
command. Be sure to include the variables that you set when you first added the plugin (represented by<variable_list>
below). For example, if you setREACHABILITY_HOST=http://example.com/
when you first added the plugin, you will need to reset the variable when running theadd
command again.cordova plugin add --variable APP_NAME="new-app-name" <variable_list> appd-plugin-eum-mobile