Good afternoon everyone.
Today I realized that a flow of mine to simple share a new post via the Facebook app quit working.
It looks like the app stopped responding to control UI.
The flow used to work up until yesterday, when the Facebook app was updated.
I made several tries, incremented sleeping times between commands, restarted the phone, no way.
I cannot even downgrade the app via sideloading, for the Facebook app on the Note 10 is a system app
I tried rebuilding the flow, maybe, I thought, some UI elements changed name, no joy, and, as a matter of fact, names are the same as before.
I tried with another cell phone of mine with Android 8, where unfortunately the FB app was updated, it doesn't work on that either.
I am including the flow.
Any hint?
Thank you.
facebook app quit responding to control UI
Moderator: Martin
- tsolignani
- Posts: 187
- Joined: 12 Jan 2019 11:53
- Location: Vignola, Mo, Italy
- Contact:
facebook app quit responding to control UI
- Attachments
-
- flow_SubShareToFb_20200118_140537.xml
- (2.46 KiB) Downloaded 604 times
Re: facebook app quit responding to control UI
I don't use Facebook app. Maybe the app now block accessibility by turning on the secure flag. But this mean you can't take regular screenshot anymore in the app; which will definitely cause massive outrage. So maybe not the case.
In your script, you use the click(pattern). Can you try using clickById() or click(x,y) version? Try to use touchGesture() too. It works similar to adb input x y, and should be able to works on app that block regular accessibility. But using x y coordinate is not really realiable, you have to make a lot of check or protection to the script.
In your script, you use the click(pattern). Can you try using clickById() or click(x,y) version? Try to use touchGesture() too. It works similar to adb input x y, and should be able to works on app that block regular accessibility. But using x y coordinate is not really realiable, you have to make a lot of check or protection to the script.
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.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
- tsolignani
- Posts: 187
- Joined: 12 Jan 2019 11:53
- Location: Vignola, Mo, Italy
- Contact:
Re: facebook app quit responding to control UI
As regards a security flag, I have another flow, to share into fb stories (the former one, the one which stopped working, is for sharing into fb wall).
Well the second flow still works like a charm.
So the first flow stopped working, the second one keeps doing well.
This I guess there is no new security flag.
I am including the second flow just in case.
I did not understand you about screenshots, would you explain it again to me please?
- Attachments
-
- flow_SubShareToFbStory_20200120_140812.xml
- (2.1 KiB) Downloaded 594 times
- tsolignani
- Posts: 187
- Joined: 12 Jan 2019 11:53
- Location: Vignola, Mo, Italy
- Contact:
Re: facebook app quit responding to control UI
Thank you again. I guess I cannot refer to ID, if I try to get to the IDs of the various interface elements, I end up with many "name removed" elements.Desmanto wrote: ↑19 Jan 2020 18:14In your script, you use the click(pattern). Can you try using clickById() or click(x,y) version? Try to use touchGesture() too. It works similar to adb input x y, and should be able to works on app that block regular accessibility. But using x y coordinate is not really realiable, you have to make a lot of check or protection to the script.
See screenshot attached.
I can try with xy coordinates or touchgesture, I still don't know how come it does not work anymore when element are recognized.
Thank you.
Re: facebook app quit responding to control UI
Hmmm, if second flow works, then it should be not blocking accessibility nor secure flag. The script is almost the same logic, only different click.
Any app that enable secure flag will block regular screenshot feature. This is usually done by banking/financial app to prevent malware screenshoting sensitive data. But in this case, FB app doesn't enable it. Because the overlay button also must have disappear once you start the app.
I remmeber ever getting similar "name removed" in other forum, but they solve it using touchGesture(). Maybe Martin can tell us why the elementId removed in some certain elements. I never encountered it yet by myself. The worse is the element doesn't show the choice for element id at all.
Any app that enable secure flag will block regular screenshot feature. This is usually done by banking/financial app to prevent malware screenshoting sensitive data. But in this case, FB app doesn't enable it. Because the overlay button also must have disappear once you start the app.
I remmeber ever getting similar "name removed" in other forum, but they solve it using touchGesture(). Maybe Martin can tell us why the elementId removed in some certain elements. I never encountered it yet by myself. The worse is the element doesn't show the choice for element id at all.
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.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.