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) |
Info |
---|
You can review the sample usage in line 35 on this page. |
Ui button | ||||||
---|---|---|---|---|---|---|
|