r/android_devs • u/AD-LB • Apr 14 '23
Discussion Android 14 seems to restrict apps that have accessibility functionality in case they aren't for people with disabilities
I've just came across this and I don't like the direction it's going:
https://android-developers.googleblog.com/2023/04/android-14-beta-1.html
" Limiting visibility to disability-focused accessibility services Android 14 introduces the accessibilityDataSensitive attribute to allow apps to limit visibility of specified views only to accessibility services that claim to help users with disabilities. Play Protect ensures apps downloaded from the Play Store are truthful about these claims. TalkBack and other services that claim to help users with disabilities will not be affected by this attribute. "
Apps shouldn't be restricted by other apps just because they aren't saying they are for people with disabilities. Apps with accessibility functionalities should be able to reach all apps the same way, equally. Doesn't matter what is the target audience.
And the Play Store shouldn't be a police to change how apps reach accessibility functionality either. It should only be used to help people with disabilities, by helping to find such apps, allowing to filter by them, and have some badge to tell that such apps are suitable for helping people with disabilities.
It should not be used and encourage to to ruin how apps that use accessibility work.
I don't see any benefit of yet more restrictions on apps. Every version of Android I see more and more restrictions of how apps can help us with what we do every day .
What's your thoughts about it?
I've requested to remove this, and only have it working as an indication used by the Play Store to help people with disabilities, and not affect all other purposes of apps with accessibility features:
https://issuetracker.google.com/issues/278211371
Some people say that it helps for security (can't read sensitive data), but this is incorrect, as it still won't be protecting a certain audience, and also from outside the Play Store. A better approach would be a confirmation for reading sensitive when it occurs. I've requested it here:
https://issuetracker.google.com/issues/278211383
Please consider starring.
10
u/liocei Apr 15 '23
It's good actually. The accessibility service is the main tool of any banking trojan.
13
u/lllama Apr 14 '23
This is under active exploitation for grabbing 2FA tokens from apps like Authenticator.
Consider this bridge burned.
1
u/[deleted] Dec 25 '23
They provide a tool for other dev to protect sensitive views in their app (such as login/password views, critical confirmations such as bank payment...)
Accessibility Service api's allows to access all views in any apps and interacts automatically with them, and this can happen without the user knowing it once the permission is granted.
Limiting the access to those views to only actual disability helper app is a great move, as it closes a huge threat for users. You have to understand that not everyone is a power user, most of the people don't understand what they are enabling. And even for people knowing it, if the application is not open source, you cannot be sure what it is actually doing on your device (and keep in mind that as long as the permission is granted, the Accessibility Service is automatically bound by the system, meaning it will ALWAYS run in the background)
Prior to this restriction, I was reluctant to install any non open source app that uses the accessibility service api. This now might change my view on that point.
I'm just curious, what functionality from your app is impacted by this restriction? I might have forgot a critical use case in my train of thoughts
2
u/[deleted] Oct 05 '24
Android is slowly becoming as controlling as Apple and I hate it!
0
u/[deleted] Apr 15 '23
[deleted] — view deleted comment
1
u/[deleted] Oct 09 '24
[removed] — view removed comment