Notification variables not passed to JavaScript action on Samsung One UI
I recently purchased Tasker and have been trying to use it, but I'm running into a technical issue and would like to ask for help from the developer or community. I'm not sure if this is the right place to post, but I'll give it a try.
---
Subject: Notification variables not passed to JavaScript action on Samsung One UI
Hello,
I'm using Tasker with a UI → Notification event profile to capture bank notification alerts and send them to my server via HTTP.
**Issue:** The notification variables (`%an_title`, `%an_text`, etc.) are not being passed to the JavaScript action when triggered in the background on Samsung One UI.
**What I've tried:**
- HTTP Request action → failed (Samsung blocks background network)
- JavaScript action with `local('an_title')` → variable is empty
- Variable Set action before JavaScript → still empty in background
**My setup:**
- Device: Samsung (One UI, dual SIM)
- Profile: UI → Notification event (all apps, no text filter)
- Task: Variable Set (%TITLE = %an_title) → JavaScript (XMLHttpRequest POST)
- Manual execution works fine, background execution does not pass variables
Is there a known workaround for Samsung One UI to pass notification variables to JavaScript actions in the background?
If possible, please reply to my email: adm5892@gmail.com
Thank you.