MCPcopy Create free account
hub / github.com/CommE2E/comm / setDeviceToken

Method setDeviceToken

native/push/push-handler.react.js:593–603  ·  view source on GitHub ↗
(
    deviceTokens: DeviceTokens,
    payload: SetDeviceTokenStartedPayload,
  )

Source from the content-addressed store, hash-verified

591 };
592
593 setDeviceToken(
594 deviceTokens: DeviceTokens,
595 payload: SetDeviceTokenStartedPayload,
596 ) {
597 void this.props.dispatchActionPromise(
598 setDeviceTokenActionTypes,
599 this.props.setDeviceToken(deviceTokens),
600 undefined,
601 payload,
602 );
603 }
604
605 setAllDeviceTokensNull = () => {
606 void this.props.dispatchActionPromise(

Callers 2

onForegroundMethod · 0.95
PushHandlerClass · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected