Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

android does not save clipboard text to clipto - unless you open clipto #148

Open
igorzhilin opened this issue Jan 24, 2023 · 4 comments
Open

Comments

@igorzhilin
Copy link

igorzhilin commented Jan 24, 2023

Hi
Android 13
Security patch Jan 1, 2023
Samsung s20+ Exynos
Clipto 7.3.8-release
I have granted clipto:

adb -d shell pm grant com.wb.clipboard.pro android.permission.READ_LOGS; 
adb -d shell appops set com.wb.clipboard.pro SYSTEM_ALERT_WINDOW allow; 

The permanent notification is allowed.

Problem:

  1. I copy text on Android. It used to automatically save to the cloud. I used to see the note from the web browser on PC almost immediately after it is copied on Android. Now it does not happen.
  2. The copied text does not show up on the permanent notification.
  3. I open clipto on Android.
  4. The copied text now appears at the top of the list. The note is synced with the cloud. The permanent notification now displays the copied text.

On the force stop and re-launch of clipto, Android asks "Allow Clipto to access all device logs?". 🤔But I did the adb -d shell pm grant com.wb.clipboard.pro android.permission.READ_LOGS; , didn't I?

I am not sure, maybe this is caused by a recent security update or something specific to Samsung. Please advise what this may be.

@atrashler
Copy link
Collaborator

atrashler commented Jan 26, 2023 via email

@igorzhilin
Copy link
Author

Screenshot_20230329_130442_Android System

Even after I run these adb commands that are supposed to allow clipto access to logs, I still receive the above prompt at the first launch - and there's no option to allow it forever. Is this something Samsung specific?

pm grant com.wb.clipboard.pro android.permission.READ_LOGS; 
appops set com.wb.clipboard.pro SYSTEM_ALERT_WINDOW allow; 
am force-stop com.wb.clipboard.pro;

@igorzhilin
Copy link
Author

https://issuetracker.google.com/issues/232206670
Looks like this permission has been made more stringent with Android 13, at least on Samsung.

Could you please investigate - or at least contribute to the discussion above? The discussion has been initiated by the creator of Tasker, and if more developers contribute to the cause, perhaps Google will take measures or help find a workaround.

For now, very unfortunately, clipto has become more cumbersome to use for me, as it does not save all clipboard copies automatically.

@igorzhilin
Copy link
Author

Hi. It's still not working on Android 13.

There's no way to enable access to logs forever. Which makes my clipto subscription pretty useless.

Maybe the author can look into XClipper? This app uses Accessibility to capture clipboard, and it works quite well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants