AutoNotification Bug: AN clears my WhatsApp notifications - but it's not supposed to

Discussion in 'AutoApps' started by cramu, Nov 16, 2016.

  1. cramu

    cramu New Member

    Joined:
    Feb 22, 2015
    Messages:
    25
    Likes Received:
    1
    I have a profile that intercepts my Twitter notifications and clears them immediately (by notification ID). If the notification contains relevant information it will create a custom notification.
    In general this works quite well although sometimes the same notification is created twice for some reason.

    My issue is that AN will clear my WhatsApp notifications as well.
    I cannot say for sure that this will happen every single time but I can confirm that it will happen every time my phone comes back online and notifications arrive. I can literally watch the notifications disappear.

    Profile:
    Code (Text):
    Profile: Traffic (25)
    Event: AutoNotification Intercept [ Configuration:Event Behaviour: true
    Notification Type: Only Created Notifications
    Persistency Type: Non-Persistent Only
    Has Reply Action: false
    Notification Apps: Twitter
    Notification Title: S-Bahn Berlin
    Get All Fields : true
    Get Internal Actions: false
    Get Internal Actions Big: false ]
    Enter: Anon (27)
    Run Both Together
    A1: AutoNotification [ Configuration:Use HTML: false
    Title: %antitle
    Text: %antextbig
    Action on Touch: %antouchaction
    Icon: %anbigicon
    Status Bar Icon: ic_action_train
    Priority: 2
    Skip Picture Cache: false
    Text Expanded: %antext
    Update Notification: false
    Only on Phone: false Timeout (Seconds):20 Continue Task After Error:On ] If [ %antext ~ *S5* ]
    A2: AutoNotification Cancel [ Configuration:Id: %anid
    Cancel All: false Timeout (Seconds):0 Continue Task After Error:On ]
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    It must be some other profile where you're using AutoNotification Cancel. Can you check if you're using that action somewhere else?
     
  3. cramu

    cramu New Member

    Joined:
    Feb 22, 2015
    Messages:
    25
    Likes Received:
    1
    The cancel action is not used in any of my other tasks.
     
  4. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    And do you see whatsapp notifications disappear when that particular task is ran?
     
  5. cramu

    cramu New Member

    Joined:
    Feb 22, 2015
    Messages:
    25
    Likes Received:
    1
    Yes, they disappear together with the Twitter notifications.
    Other notifications like GMail or TapaTalk are not affected.
     
  6. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    You should specify the ID, package and tag in the Advanced section of the Cancel action. That'll make sure that only the notification you want is cancelled :)
     
  7. cramu

    cramu New Member

    Joined:
    Feb 22, 2015
    Messages:
    25
    Likes Received:
    1
    Using the advanced settings solved my issue, thank you very much.

    Do you have an idea why often the same notification will be generated twice by AN?
     
  8. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    That should only happen if you create notifications twice in Tasker. AutoNotification doesn't do that by itself :)
     

Share This Page