SIM Removal Trigger Bugged

Lonkoe

New member
I have a simple macro to sound a siren if the sim card is removed, but in the latest macrodroid updates I have noticed that it is being activated when I close the application, make some change to the macro or just disable and enable the macro, So to verify that it wasn't a macro error I create another one with the only option to display a message on the screen, and the trigger was still being trigged on its own, I don't think it's a device error since the trigger is trigged if I edit the macro or deactivate it and turn it back on

Device: Samsung A30s
OS: Android 10
Macrodroid Version: 5.11.4
Rooted: Yes (Magisk)
 
Last edited:

Lonkoe

New member
I wouldn't be sure. Is the phone recognising that the sim is inserted or removed.?
The phone does not detect that the sim card was removed as it was not, so it seems to me that it is a macrodroid bug (When the Sim Card is removed if the trigger is activated that is OK)
 

MacroDroidDev

Administrator
Staff member
Yes this report is correct, the broadcast to detect this is a sticky broadcast and this means every time I re-register a broadcast receiver I get an immediate update. I need code to workaround this to stop firing when not desired, but the code in here is not working quite right.

This should be fixed in the latest 2.15.1 release which is in beta right now.

This bug has probably existed for many years but this trigger is so rarely used its never been reported.
 
Top