Versions Compared

Key

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

Add the code below to your project to save the Token to Visilabs.

Code Block
languagejs
addEventListener('register', async (token) => {
  visilabsApi.register(token, (result) => {
    
  })
}, (notificationPayload) => {}, euroMessageApi)

...