Docs example of sending a message from MAIN world CS to background throws an error.

When trying to send a message to background thread from MAIN world CS I get this error:
Error: Extension runtime is not available
Error: Extension runtime is not available
Specifically this example in docs: https://docs.plasmo.com/framework/messaging#:~:text=contents/componentInTheMainWorld.tsx
Plasmo Docs
Messaging API – Plasmo
The Plasmo messaging API is a powerful tool for sending real-time messages between different parts of your extension.
1 Reply
RandomJay
RandomJay•2mo ago
I'm also struggling with this - i've tried a few other methods but nothing seems to be working in the main world. Did you figure it out, @kooraiber?
Want results from more Discord servers?
Add your server