blokadaorg / blokada

The official repo for Blokada apps.
https://blokada.org
3.03k stars 212 forks source link

Sending intent to turn on Blokada 4.9 (final) is not working on FireTV using Tasker #980

Open plia7 opened 4 months ago

plia7 commented 4 months ago

Hello,

I have Fire TV Stick (3rd Gen) Fire OS 7.6.6.4 (PS7664/3772).

I got final Blokada 4 version from: https://github.com/blokadaorg/blokada/releases/tag/archive

I'm trying to to test the turning on intent, after manually powering off the ad block.

I tried to use action "Blokada - Turn On" first, but that didn't work.

So I then tried to do it with a send intent action.

I found this:

https://community.blokada.org/t/blokada-4-9-released-and-blokada-4-to-blokada-5-migration/7755/40?page=2

It says:

If you feel crafty, you can already integrate Tasker with Blokada, as it uses generic intent system to execute commands. But you need to know about intents to make it work, and we don’t have documentation on it yet.

Turn off Blokada:

intent: android.intent.action.VIEW data: "blocka://cmd/off" 

Turn on Blokada:

intent: android.intent.action.VIEW data: "blocka://cmd/on"

I tried to set:

action = android.intent.action.VIEW

data = "blocka://cmd/on"

OR just without the quotes:

data = blocka://cmd/on

and leaving package or class empty, with a:

target = broadcast receiver

But again, it doesn't turn on Blokada.

Any idea what am I missing or are you able to get it to work?

Thank you.