Plug-ins can be configured by creating a JSON configuration file. The SDK automatically detects the configuration file and registers the 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.

Go Back to the Mobile App Messaging home page.

Join The Discussion

Your email address will not be published. Required fields are marked *