Doesn't work in these apps :
- Facebook
- YouTube comments
When recursively iterating through the nodes that has a getText() attribute, the nodes in these apps return a null for getText() and I have no idea why. There's a similar stackoverflow question on this: https://stackoverflow.com/questions/46932091/reading-text-from-facebook-recyclerview-with-accessibilityservice
Instagram has their own IgTextLayoutView for texts, it's getText() works though, returns the string: https://github.com/dnoise/IG-6.9.1-decompiled/blob/master/src/com/instagram/ui/widget/textview/IgTextLayoutView.java
I also saw a getTextForAccessibility() in it, maybe Facebook and YouTube has these functions too. Will have to explore this.
Doesn't work in these apps :
When recursively iterating through the nodes that has a
getText()attribute, the nodes in these apps return a null forgetText()and I have no idea why. There's a similar stackoverflow question on this: https://stackoverflow.com/questions/46932091/reading-text-from-facebook-recyclerview-with-accessibilityserviceInstagram has their own IgTextLayoutView for texts, it's
getText()works though, returns the string: https://github.com/dnoise/IG-6.9.1-decompiled/blob/master/src/com/instagram/ui/widget/textview/IgTextLayoutView.javaI also saw a
getTextForAccessibility()in it, maybe Facebook and YouTube has these functions too. Will have to explore this.