Add the code below to your project to save the Token to Visilabs.
Code Block | ||
---|---|---|
| ||
addEventListener('register', async (token) => { visilabsApi.register(token, (result) => { }) }, (notificationPayload) => {}, euroMessageApi) |
...
Add the code below to your project to save the Token to Visilabs.
Code Block | ||
---|---|---|
| ||
addEventListener('register', async (token) => { visilabsApi.register(token, (result) => { }) }, (notificationPayload) => {}, euroMessageApi) |
...