Am I using Port Messaging correctly?
I have the following:
background/ports/alarms.ts
background/index.ts
foreground/somewhere.ts
finally in foreground/index.tsx
I see
background/ports/alarms.ts
background/index.ts
foreground/somewhere.ts
finally in foreground/index.tsx
I see
adding listener in the console but whenever the alarm is triggered I get this error: checked runtime.lastError: Could not establish connection. Receiving end does not exist.