B4J Question [BANano] MessageFromBackgroundWorker Issue

Mashiane

Expert
Licensed User
Longtime User
Hi

I am trying to have a Background Worker working in a BANanoServer app. Im trying to execute a call to it via a button click.

The error that is being raised is on this line.

B4X:
 _banano_bmw_browserwebworker.worker.handler.banano_messagefrombackgroundworker('worker', event.data.tag, event.data.value, event.data.error);

I am attaching a project to reproduce this. I would appreciate help on how to fix this. I have used the BANano REST API Server with PWA Project Template to create this and added a background worker.

1743365246433.png


Thank you in advance.

PS: Similar implementation on my app.

B4X:
_banano_bananoserverpablo_browserwebworker.worker.handler.banano_messagefrombackgroundworker is not a function
    at Worker.<anonymous> (app1743365863954.js:3:146474)
 

Attachments

  • BMW.zip
    33.1 KB · Views: 10
Last edited:
Top