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) => {
  const subscribeResult = await euroMessageApi.subscribe(token)   
  }, (notificationPayload) => {}, euroMessageApi)

 

Info

You can review the sample usage in line 35 on this page.

 

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