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
- Branch
- landing-token
- Lint
No Lint Coverage - Unit
No Test Coverage
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 ↗ | (On Diff #41806) | The naming here is a bit confusing. Should sendMessage be renamed to something that makes it contrast more clearly with sendMessageToTunnelbroker? |