Token’ları RMC sistemine kaydetmek için alttaki kodu projenize ekleyin.
addEventListener('register', async (token) => { const subscribeResult = await euroMessageApi.subscribe(token) visilabsApi.register(token, (result) => { }) }, (notificationPayload) => { console.log('notification payload', notificationPayload) }, euroMessageApi)