Macrodroid operation in 'multiple users' configuration

shadewood_mole

New member
I originally posted this on Reddit but had no replies so trying here.

So I have a Moto phone running Android 13. The phone has the 'multiple users' function enabled with two user accounts.

I'm a little unclear how Macrodroid operates under this arrangement. I assume that the app itself is common to both users but the data (macros and settings, etc.) are held independently for each user?

So each user can have their own set of different macros but only one user can be in the foreground at any one time.

This raises a number of questions.

  1. It appears that macros for the 'non-foreground' user are still 'active' in that they still trigger, however user interaction with them is clearly impossible. Are these abandoned if user input is required?
  2. Can these 'other-user' or background macros make any changes to the foreground user's state? For example if a background macro is set to turn off WiFi does this get actioned for the foreground user or not?
  3. If there are background-user macros and foreground-user macros with the same triggers but with conflicting actions what happens?
  4. Clearly any user interaction triggers (screen swipes, etc.) will only be active for the foreground user, but how can someone writing a macro determine if other triggers (sensors, etc.) will 'fire' for the background user or not?
I'll stop there as my mind is starting to ache, but I'm hoping someone will be able to cast some light on how Macrodroid operates in these circumstances.

TIA
Mark
 

Endercraft

Moderator (& bug finder :D)
General answer : the app can only interact in the user's environment however any system wide action like Bluetooth or Wi-Fi will affect all users.
  1. Indeed, macros from other users that have been active at least once since reboot will be able to trigger macros. However the app cannot interact with the UI of another user, which means any user prompt or UI Interaction will not work.
  2. Yes, some action like Wi-Fi will still work as it takes effect on the device itself.
  3. These MacroDroid apps are separated so they cannot conflict unless the action is system wide (like Wi-Fi toggle).
  4. I haven't really tested multiple users behavior so I can't tell for sure. I'd say every trigger fires unless the user triggers it (like floating button or screen swipe).
 
Top