BEX communication limitation/issues? #15318
Unanswered
pandafox
asked this question in
CLI - BEX mode
Replies: 1 comment
-
|
I have same issue: Responding to the background script does not work. background bridge.send('echo', 'hello').then(it=>{
// THIS IS NEVER CALLED
console.log(it.data)
})content bridge.on('echo', ({data, respond}) => {
respond(data)
}) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Goal sending event from app to content/dom and get result of execution back
From the doc we need to chain/relay the event calls w background ex: app > background > content/dom
https://quasar.dev/quasar-cli-vite/developing-browser-extensions/bex-communication#communication-rules
Works
Doesn't work
Beta Was this translation helpful? Give feedback.
All reactions