1

Single MMS received causes multiple profile trigger events

I use Tasker to play a sound for incoming texts (SMS/MMS), so that I can check for various conditions (first).  For example, if I am in a meeting I don’t let it play the sound.

But, recently, there has been a change that I have been unable to resolve…

Anytime I receive an MMS the sound gets played 2 or 3 times, whereas SMS still plays a single sound.  This has only been a problem since Android version 8 (Oreo).  Prior to that Tasker saw a single notification for each SMS or MMS.  Nevertheless, I don’t know if the change occurred due to Android or the messaging app I’m using (which is Google Messages).  I started using that app around the same time I used Oreo.  In any case, I’m on Pie now, and the problem persists.

2 replies

Can you please export your profile's description (not xml) so I can take a look? Long-click the profile in Tasker->export description Thanks in advance

H

    Profile: txtNotify (7)
    Event: Received Text [ Type:Any Sender:* Content:* ]
    Enter: txtReceived (25)
    Run Both Together
    A1: If [ %SMSRB ~ *GetLoc ]
    A2: Variable Set [ Name:%LocSendTo To:incoming Recurse Variables:Off Do Maths:Off Append:Off ]
    A3: Perform Task [ Name:LocationSMS Priority:10 Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:Off ]
    A4: Else If [ %SMSRB ~R (fwd: ]
    A5: Perform Task [ Name:SMSforward Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:Off ]
    A6: Else If [ %SMSRB ~ RemoteControl ]
    A7: Perform Task [ Name:RemoteControl Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:Off ]
    A8: Else
    A9: Variable Set [ Name:%MYTEMP To:%VOLN Recurse Variables:Off Do Maths:Off Append:Off ]
    A10: Notification Volume [ Level:15 Display:Off Sound:Off ] If [ %VOLR != 0 & %IN_MTG != 1 ]
    A11: Wait [ MS:500 Seconds:0 Minutes:0 Hours:0 Days:0 ]
    A12: Play Ringtone [ Type:Notification Sound:On Time Stream:5 ]
    A13: Default Ringtone [ Type:Notification Sound:Verizon Alert ]
    A14: Wait [ MS:0 Seconds:3 Minutes:0 Hours:0 Days:0 ]
    A15: Notification Volume [ Level:%MYTEMP Display:Off Sound:Off ]
    A16: Variable Clear [ Name:%MYTEMP Pattern Matching:Off Local Variables Only:Off ]
    A17: End If