THE APP IS STOPPING WORKING

mattcarrijo

New member
I'm using XIAOMI REDMI (9 pro) devices, I install and configure my macro (turn on and off airplane mode), after a few days or hours the macro stops working, I need to reinstall the app to get it back
Has anyone ever experienced this? do you know how i can solve it?
 

Endercraft

Moderator (& bug finder :D)
Because you're using Xiaomi then I probably know why it stops working like that. If you're changing airplane mode with Macrodroid set to assistant app, it's probably because there's an issue with Xiaomi where rebooting your phone will not let Macrodroid have the assistant app privileges and you will need to change it again. It's very annoying but there is a fix - although it requires adb permissions. I can't find the original version I had but I found another : it's a macro created by @Jacob L and and I had to modify it a bit because there was just the actions ; it's in the attachments.
 

Attachments

  • Assistant_change.macro
    1.7 KB · Views: 0

Endercraft

Moderator (& bug finder :D)
Okay, it turns out that the settings will not update unless the assist & voice input screen is opened. So because using UI interaction takes way too much time,I opted for intents instead. So I did my best to understand how intents works and...
Just kidding, I copied from shortcut maker and I came up with this macro.
Also for some reason the system settings don't want to change anymore but that's an issue on my side. I hope.
 

Attachments

  • Assistant_change.macro
    5 KB · Views: 2

Endercraft

Moderator (& bug finder :D)
I think my macro may be a bit broken so ill need to update in the future.
I'm now using a Redmi S2 and I can confirm that making Macrodroid assistant by system setting broke. It also gives me a voice input field which is not supposed to happen. Using UI Interaction fixes this though.
Also this
IMG_20220820_005935.jpg
 
Top