Configure automatic plug-in detection and registration



Plug-ins can be configured by creating a JSON configuration file. The SDK automatically detects the configuration file and registers the plug-in.

Create a JSON configuration file for your plug-in

The plug-in configuration file needs to be under mce/plugins path in the assets folder. It should have the following format:

  "notification-actions": [
       "type":  "<the plugin type name - can be anything>",
       "class":  "<the plugin class>",
       "initOptions": <a json object that contains the init options - optional> 

In every plug-in package, under the mce/plugins path in the assets folder, there is a plug-in configuration file for that plug-in.