Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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

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

addEventListener('register', async (token) => {
  const subscribeResult = await euroMessageApi.subscribe(token)   
  }, (notificationPayload) => {}, euroMessageApi)

 

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

 

Next Step
  • No labels