Details
Details
Call this from both web and native:
const message: SetDeviceToken = { type: messageToTunnelbrokerTypes.SET_DEVICE_TOKEN, deviceToken: 'token', }; await sendMessageToTunnelbroker(JSON.stringify(message));
and verify if deviceToken is persisted in DDB.
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
lib/tunnelbroker/tunnelbroker-context.js | ||
---|---|---|
363–364 ↗ | (On Diff #41581) | Leftover? |
lib/tunnelbroker/tunnelbroker-context.js | ||
---|---|---|
363–364 ↗ | (On Diff #41581) | yeah |
lib/tunnelbroker/tunnelbroker-context.js | ||
---|---|---|
437–438 | The naming here is a bit confusing. Should sendMessage be renamed to something that makes it contrast more clearly with sendMessageToTunnelbroker? |