Hi,
I am using Accessibility API, and I don’t know why but AssistiveSupport.isScreenReaderEnabled returns true when Talk Back is not enable.
if (AssistiveSupport.isScreenReaderEnabled)
{
// THIS IS BEING EXECUTED EVEN TALKBAK IS DISABLE
notNeedToLoadFirstTime = true;
currentHierarchy = new AccessibilityHierarchy();
InitializeAccessibilityHierarchy(true);
OnInitialization.Invoke();
}
This is only happening in Android, in iOS is having the expected behavior.
Unity Version: 2023.2.1f.1
Hi,
Thank you for your report! We investigated and fixed the issue. The fix has been pushed to the publishing pipeline. I will let you know when it’s available.
We’ve noticed that AssistiveSupport.isScreenReaderEnabled returns a false positive when other assistive technologies are enabled on the device. Is there any chance you have other accessibility services turned on?
We would love to see your project.
Would you be able to share a link when it becomes public?
All the best,
Bianca
Hi,
As promised, I am getting back with more information: the fix will be available in Unity 6000.0.8f1.
Thank you again for your report, and good luck with your project!
1 Like