Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Add the code below to your project to save the tokens to the RMC system.

Note

If you added a listener during Visilabs integration, it will be sufficient to add the 2nd line to the same listener.

Code Block
languagejs
addEventListener('register', async (token) => {
      euroMessageApi.subscribe(token)
}, (notificationPayload) => {
      console.log('notification payload', notificationPayload)
}, euroMessageApi, visilabsApi)

 

Ui button
colorgreen
titleNext Step
urlhttps://relateddigital.atlassian.net/wiki/spaces/KB/pages/1094156291/React+Native-+Payload