Solved Clipboard monitor/listener no longer works on Android 10

Discussion in 'Join' started by dekaru, Sep 9, 2019.

  1. dekaru

    dekaru New Member

    Joined:
    Sep 9, 2019
    Messages:
    6
    Likes Received:
    1
    I've just updated to Android 10 and the Join Bubbles are no longer appearing after copying something to the clipboard. I also have Clipper installed and saw a notice that mentioned that the clipboard listener was no longer supported on Android 10.

    Is there a workaround for this?

    Thanks.
     
    Ahiel likes this.
  2. Ahiel

    Ahiel New Member

    Joined:
    Aug 27, 2019
    Messages:
    2
    Likes Received:
    0
    same here
     
  3. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    8,732
    Likes Received:
    739
  4. dekaru

    dekaru New Member

    Joined:
    Sep 9, 2019
    Messages:
    6
    Likes Received:
    1
    Hi @joaomgcd . I've been monitoring that issue on the issue tracker and I just came across a reply that states the following:

    If you are a clipboard-manager app developer, for some reason using SAW with focusable on-top-view will still let you monitor the clipboard

    Do you think this might be a realistic solution to this issue?

    https://issuetracker.google.com/issues/123461156#comment48
     
  5. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    8,732
    Likes Received:
    739
    I actually tried that already but even while doing that I was not able to get it working :/ Not sure how that user is doing it exactly cause I couldn't get it to work myself... Will need to do some more tests it seems...
     
  6. dekaru

    dekaru New Member

    Joined:
    Sep 9, 2019
    Messages:
    6
    Likes Received:
    1
    Hi again! I just saw the complete steps that Clip Stack suggests in order to make this work again :D I can confirm that it works! I'm not sure if requesting the READ_LOGS permissions is enough or if there is more code behind the scenes that needs to be implemented in order for this to work:

    adb -d shell appops set com.catchingnow.tinyclipboardmanager SYSTEM_ALERT_WINDOW allow;
    adb -d shell pm grant com.catchingnow.tinyclipboardmanager android.permission.READ_LOGS;
    adb shell am force-stop com.catchingnow.tinyclipboardmanager;

    [​IMG]
     
  7. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    8,732
    Likes Received:
    739
    Richard Miles and dekaru like this.
  8. dekaru

    dekaru New Member

    Joined:
    Sep 9, 2019
    Messages:
    6
    Likes Received:
    1
    It works, thank you so much!

    Is it just me or does the bubble show up slower than before? I remember I was able to press it almost immediately after copying something and now there's a wait of about a second. I think part of this is because of the animation being a bit slower, so I'm not sure if it's the event that's taking longer to trigger.
     
  9. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    8,732
    Likes Received:
    739
    Yeah, it's unfortunately just a tad bit slower. But hey, at least it works! :D
     
  10. dao

    dao New Member

    Joined:
    Nov 22, 2016
    Messages:
    4
    Likes Received:
    0
    I can confirm working Android 10 on pixel 2 XL.
    Thanks for your hard work I use the clipboard monitoring quite a lot and was annoyed when Google forced it to stop working
     
  11. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    8,732
    Likes Received:
    739
    Awesome :) Glad it works for you!
     
  12. dekaru

    dekaru New Member

    Joined:
    Sep 9, 2019
    Messages:
    6
    Likes Received:
    1
    Hi @joaomgcd ! Yesterday's update broke the clipboard monitor for me :( I tried repeating the three adb steps but it didn't work.
    Is this the best channel to report this?

    I'm on Android 10 build QP1A.190711.020.C3, Let me know if you need any more information.
     
  13. DrSuSE

    DrSuSE New Member

    Joined:
    Sep 11, 2019
    Messages:
    6
    Likes Received:
    0
    This probably does not help you, but everything is still working great for me. I am on a Pixel 2 XL. Is the update you're referring to the October update? It didn't have any impact on this for me, so maybe you could verify some other settings and clarify what is/is not working?

    Phone to PC?
    PC to phone?

    It's not flatly broken, so probably extra details will help.
     
  14. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    8,732
    Likes Received:
    739
  15. dekaru

    dekaru New Member

    Joined:
    Sep 9, 2019
    Messages:
    6
    Likes Received:
    1
    Thank you both, I think that sometimes my smartphone just stops monitoring the clipboard and then starts again, so probably it's not related to Join per se.
    On another note, would making the animation faster improve the general feeling of this monitor trigger?
     
: android

Share This Page