ClipboardCleaner icon indicating copy to clipboard operation
ClipboardCleaner copied to clipboard

(Discuss) Android Q+

Open ghost opened this issue 3 years ago • 6 comments

Welp non input app unable to clear cache

I need suggestion or alternate way how to clear that automatically

ghost avatar Jul 14 '21 08:07 ghost

I know three ways to work around the restriction.

  1. Accessibility service.
  2. Great READ_LOG permission using ADB and read all logs to know when users copy something.
  3. You have a rooted phone and grant the permission by force. Then click the title image seven times to reveal the service card and use the legacy feature.

The first two are complicated, and I have little experience with them.

DeweyReed avatar Jul 15 '21 01:07 DeweyReed

I know three ways to work around the restriction.

  1. Accessibility service.
  2. Great READ_LOG permission using ADB and read all logs to know when users copy something.
  3. You have a rooted phone and grant the permission by force. Then click the title image seven times to reveal the service card and use the legacy feature.

The first two are complicated, and I have little experience with them.

Agree @DeweyReed

Better add ADB over TCP option And Root All Together :)

ghost avatar Jul 15 '21 22:07 ghost

One possible solution for root users is to use https://github.com/Kr328/Riru-ClipboardWhitelist. After enabling it, just use Clipboard Cleaner as before.

DeweyReed avatar Jul 16 '21 01:07 DeweyReed

One possible solution for root users is to use https://github.com/Kr328/Riru-ClipboardWhitelist. After enabling it, just use Clipboard Cleaner as before.

Hey i am non root i can't root my realme 5i tho read the recommendation above as alternative for non root user tho :(

ghost avatar Jul 16 '21 06:07 ghost

Like mentioned before, although the first two directions are promising, I have no idea how to implement them with code, and I'm unable to find valuable resources around the Internet. Do you have any ideas?

DeweyReed avatar Jul 17 '21 02:07 DeweyReed

Like mentioned before, although the first two directions are promising, I have no idea how to implement them with code, and I'm unable to find valuable resources around the Internet. Do you have any ideas?

Not yet still exploring thought........

Edit: Okay so i lost my mind until today i found no alternative method but i have some temporary ideas:

Register this app as keyboard input METHOD so everytime we want to clear clipboard we switch keyboard to clipboard app first @DeweyReed

ghost avatar Jul 17 '21 05:07 ghost