AutoNotification Toast manipulation/canceling

Discussion in 'AutoApps' started by JayKay, Nov 17, 2018.

  1. JayKay

    JayKay New Member

    Joined:
    Mar 9, 2018
    Messages:
    29
    Likes Received:
    0
    Hey Joao and guys,

    i want to modify/style the toast notifications i get on my Android 8.0 device (rooted, Galaxy S9 - Touchwiz,...).

    Since i want to pass saftynet, xposed is not an option for me (there are some plugins that also work, i used them before),
    i thought, maaaaybe, AutoNotification with its new Toast Interceptions can help me.

    Now after some trail and error i found out:
    Its not possible.

    First Idea:
    1. Create my own screens/scenes/popups whatever with information from intercepted toasts.
    2. Delete all normal toasts.

    Well.. since i cant delete toasts with AutoNotification..doesnt work.

    Second Idea:
    1. Mod existing Toasts by changing some variables (there have to be some like position, background color, ...

    But.. i dont know any of them. Anyone got some hints?


    So.. Do you got some suggestions?

    LG Jay
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    I'm not sure if this will work, but does AutoNotification intercept toasts if you block the other app's notifications? Or is nothing intercepted in that case?
     
  3. JayKay

    JayKay New Member

    Joined:
    Mar 9, 2018
    Messages:
    29
    Likes Received:
    0
    Okay, i tried:

    If i block Tasker-Notifications (Long press on the ongoing foreground-notification -> block all),
    then i dont get any Toast notifications from tasker anymore and to your question. They also don't trigger your AN Toast intercept anymore.
     
  4. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Ok. Then unfortunately what you're after is probably not possible, sorry! :(
     
  5. JayKay

    JayKay New Member

    Joined:
    Mar 9, 2018
    Messages:
    29
    Likes Received:
    0
    okay, than we have to just style existing toasts somehow.
    That should be possible on a rooted device..
    probably similar to how XToast or other xposed-plugins change it..

    I'll look out for an option, and maybe someone got an idea.. Maybe i can just change some "secure settings" to do so? :D
     
  6. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    I don't think it's that simple unfortunately! Would be cool if you found something though!
     

Share This Page