...
Note |
---|
If you added a listener during Visilabs integration, it will be sufficient to add the 2nd line to the same listener. |
Code Block | ||
---|---|---|
| ||
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 | ||||||
---|---|---|---|---|---|---|
|