MacroDroid : Using password in Intent

Shyam

New member
I use Adguard on my Pixel 6a. After a recent major upgrade, I noticed that the app is disabled erratically. Since this behavior is unpredictable, it is difficult to capture logs precisely for troubleshooting. I did manage once to capture and send them and they are taking too long to revert, so I thought of automation as an alternative.

Adguard suggests using Tasker set up as below. I tried replicating in MacroDroid unsuccessfully. Please note that the password, package name and class are correctly entered. The action I am trying now when Adguard is running is

> `stop` stops the protection, no extra data required;

Tasker Implementation

automation2.png
MacroDroid Implementation

This doesn't work in MacroDroid. How do I fix this. Also once it works setting a macro with trigger as "screen on" and send this intent every minute is my thought. Any better ideas? Thanks for your help 🙏

Sorry for the formatting, doing it on the mobile!







Screenshot_20230811-124134.png
 

Endercraft

Moderator (& bug finder :D)
I can see in your screenshot that the action used is stop and not dns_server as shown in Tasker.
Concerning the true problem, isn't it just a battery saving restriction issue ? Unless a bug in the app.
 

Shyam

New member
I can see in your screenshot that the action used is stop and not dns_server as shown in Tasker.
Concerning the true problem, isn't it just a battery saving restriction issue ? Unless a bug in the app.
Yes, the action is different. Knowledge base gave this as an example and I only changed the action as specified

No, it isn't a battery optimization problem-that was the first thing I checked
 

Shyam

New member
I think this intent will work.
Thanks for the suggestion. I forgot mentioning in the question that I tried this too

Unfortunately, doesn't work :(

Edit: wow, it worked! Thank you! The mistake both of us had done while trying this option was that we didn't declare auto detect type to "string"

🤣🙏
 
Last edited:
Top