AutoNotification Update Notification more than once resets to original

Discussion in 'AutoApps' started by yannick.rc, Apr 7, 2018.

  1. yannick.rc

    yannick.rc New Member

    Joined:
    Apr 7, 2018
    Messages:
    23
    Likes Received:
    0
    Hey guys,

    I love all the AutoApps, but I ran into an issue today. I realised that when updating my notification more than once, autoNotification reverts to the first version and updates that instead of the last update.

    i.e. I have a few profiles that update a notification dependant on different situations:

    a) Create a Notification [works]
    b) Update the notification by adding a button [works]
    c) Update the notification by making it persistent [REVERTS to a) and makes that persistent instead of b)]​

    Is this expected behaviour and is there a way around it? I don't really want to do all the steps in one task, so I can use the different tasks as tools depending on the situation.

    thanks!

    Yannick
     
    Last edited: Apr 11, 2018
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Hmm, that's not how it's supposed to work actually. It should always update the most recent version...

    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
     
  3. yannick.rc

    yannick.rc New Member

    Joined:
    Apr 7, 2018
    Messages:
    23
    Likes Received:
    0
    Hi Joao,

    That's good to know. I will. I haven't got it anymore as I've completely changed it since to adapt, but I'll make another one when I get a chance.

    Thank you,

    Yannick
     
  4. yannick.rc

    yannick.rc New Member

    Joined:
    Apr 7, 2018
    Messages:
    23
    Likes Received:
    0
    Hi Joao,

    apologies for the late reply. It's been pretty busy here (as I'm sure it's been for you too. :))

    I made a brand new example, as that seemed to be the clearest way to show it:

    Code (Text):
    Test (32)
    A1: Variable Randomize [ Name:%rId Min:0 Max:99999 ]
    A2: AutoNotification [ Configuration:Status Bar Text Size: 16
    Id: rId Timeout (Seconds):20 ]
    A3: AutoNotification [ Configuration:Status Bar Text Size: 16
    Id: rId
    Button 1: Test
    Label 1: Test
    Update Notification: true Timeout (Seconds):20 ]
    A4: AutoNotification [ Configuration:Status Bar Text Size: 16
    Id: rId
    Update Notification: true Timeout (Seconds):20 ]
    When I run this, it:

    1. Creates a simple/empty AutoNotification
    2. Adds a button
    3. Makes it persistent, but reverts to the initial empty notification, instead of keeping the one with the button.
    Unfortunately, in the tasks I've tried this in, I haven't been able to update the last version of a notification, if there has been more than one update. :s

    I'd love to know why this is. :)

    thanks!

    Yannick :)
     
  5. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
  6. yannick.rc

    yannick.rc New Member

    Joined:
    Apr 7, 2018
    Messages:
    23
    Likes Received:
    0
    Oh yes! It works! That's fantastic. Thank you!! That'll make my tasks much cleaner!! :)
     
  7. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Great to know :D
     

Share This Page