Versions Compared

Key

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

...

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) => {
      console.log('notification payload', notificationPayload)
}, euroMessageApi)

 

Info
You can review the sample usage in line 35 on this page.
, visilabsApi)

 

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