MCPcopy Create free account
hub / github.com/firebase/quickstart-js / setTokenSentToServer

Function setTokenSentToServer

messaging/main.ts:70–72  ·  view source on GitHub ↗
(sent: boolean)

Source from the content-addressed store, hash-verified

68}
69
70function setTokenSentToServer(sent: boolean) {
71 window.localStorage.setItem('sentToServer', sent ? '1' : '0');
72}
73
74function showHideDiv(divId: string, show: boolean) {
75 const div = document.querySelector('#' + divId)! as HTMLDivElement;

Callers 3

resetUIFunction · 0.85
sendTokenToServerFunction · 0.85
deleteTokenFromFirebaseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected