TEST: FIREBASE WEB CLIENT


Your device TOKEN (id):


How to test notifications from yawave

Steps:

1. Request and allow notifications permission

2. Subscribe device to topic

• open Console in browser's Development tools

• copypaste the code below to console

(keep the same topic as selected in Automation or change accordingly)

await fetch("https://api.test-yawave.com/core/yawave-integration/helpers/6213a2449811bb3adeb816b6/firebase/6579cf6978067d669b05f709/subscribe", { method: "PUT", body: JSON.stringify({ "topic":"topic1", "deviceId":"" }), headers: { "Content-type": "application/json; charset=UTF-8" } }) .then((response) => response.status)

• send code over console and Get repsonse '200'

3. Add Liveblog Post with notifiction

DONE

TEST Environment:

- Application: Eugene app

- Firebase Connection: Connection

- Automation: Automation with 'topic1' topic)

- Liveblog: Liveblog


Test notification directly from Firebase:

1. Copy your your device TOKEN

2. Open the button below and paste token to the end of the url