Your listener id (must be unique)
Your listener function
// Triggered when a user register a new extension
JMap.Application.Event.Extension.on.registration("my-extension-listener", params => {
const extensionId = params.extensionId
console.info(`The following extension has been registered by the current user: "${extensionId}".`)
})
JMap.Application.Event.Extension.on.registration
This event is triggered after a user registers his own JMap Cloud NG extension.
The extension id is received as a param property of the event.