diff --git a/phone/src/Phone.tsx b/phone/src/Phone.tsx index 0865345..b26b104 100644 --- a/phone/src/Phone.tsx +++ b/phone/src/Phone.tsx @@ -59,6 +59,31 @@ setTimeout(() => { ) }, 1000) +setTimeout(() => { + new MessageEvent("messsage", { + data: { + app: "BANK", + method: "setNotification", + data: { + id: 1, + message: "ahhaha" + } + } + }) +}, 1000) + +setTimeout(() => { + new MessageEvent("messsage", { + data: { + app: "TWITTER", + method: "setNotification", + data: { + id: 1, + message: "ahhaha" + } + } + }) +}, 1000) setTimeout(() => { window.dispatchEvent(