You can now access entry point data in the Plugin SDK to learn how a Front user opened your plugin. A new property called entryPoint
is now available in the context
object.
Read the full details on our Developer Portal
This property allows you to handle different scenarios depending on where the plugin was opened. The current plugin entry points are:
SIDEBAR
—User opened a plugin in the Front sidebar.COMPOSER_TOOLBAR
—User opened a plugin in the composer toolbar while composing a message.CONTACT_HANDLE
—User opened a plugin from a Front contact’s phone handle. More information on plugins that open from this entry point in order to make or handle calls will be coming soon!