name removed instead of ID

Post your questions and help other users.

Moderator: Martin

Post Reply
User avatar
tsolignani
Posts: 187
Joined: 12 Jan 2019 11:53
Location: Vignola, Mo, Italy
Contact:

name removed instead of ID

Post by tsolignani » 30 Aug 2019 14:10

Good afternoon.

Trying to control UI the facebook app, many times, when i click on some objects, I get something like:

clickById("com.facebook.katana:id/(name removed)");

So I cannot get to know the ID of that subject.

How come is that? And, more over, is there a workaround?

Thank you.

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: name removed instead of ID

Post by Desmanto » 30 Aug 2019 18:11

I never see something like that until now. Most of the time it just doesn't give any clickById(). Maybe facebook has some kind of proctetion from accessibility services. Can you check if there is settings for that in the facebook app? Or maybe you should try to restart the phone first. It can be your accessibility service is buggy at that time.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

User avatar
tsolignani
Posts: 187
Joined: 12 Jan 2019 11:53
Location: Vignola, Mo, Italy
Contact:

Re: name removed instead of ID

Post by tsolignani » 30 Aug 2019 18:55

Thank you, I'll try that and let you know.

User avatar
tsolignani
Posts: 187
Joined: 12 Jan 2019 11:53
Location: Vignola, Mo, Italy
Contact:

Re: name removed instead of ID

Post by tsolignani » 31 Aug 2019 15:39

Restarting didn't work. There doesn't seem to be any option too. Who knows. Thank you.

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: name removed instead of ID

Post by Desmanto » 01 Sep 2019 13:03

Do all element in the same windows have the id name as "(name removed)" ? Or maybe it is just coincidentally the element id name is "(name removed)" ?

If byId doesn't work, you have to fall back to the click(pattern) and click(x,y) mode. It is not as reliable, but at least it still can work if the pattern or x,y is fixed.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

User avatar
tsolignani
Posts: 187
Joined: 12 Jan 2019 11:53
Location: Vignola, Mo, Italy
Contact:

Re: name removed instead of ID

Post by tsolignani » 03 Sep 2019 07:28

Thank you and good morning.

All elements, unfortunately.

I want to try in other devices of mine.

I event tried facebook lite, same.

Post Reply