Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Why isn't Tasker pressing this button in the uber app?

38 views
Skip to first unread message

John Taylor

unread,
Jan 9, 2025, 10:46:41 AMJan 9
to Tasker
I'm an uber driver and I've been using tasker to help me to decide which rides to decline.  I used regex to capture the data on screen, the pay, miles, time, etc. and I use tasker to calculate if an offer is one I should consider.  It's pretty cool.  I'm quite proud of it, even if it's a complete mess and is loaded with bugs and the regex is far from perfect.  It still makes a HUGE difference for me.

But I DESPERATELY want the task to decline certain rides for me, without me having to even look at my phone.  But there seems to be something inhibiting tasker's ability to press the decline button.

Right now I have the task make a particular sound when an offer isn't worth it so I don't need to think.  I can just press the decline button when my task tells me to.  But I desperately want the task to press the decline button for me.  This would massively increase my productivity, and safety while driving.  

The thing is the decline button doesn't have text.  It's a stylized image of an X.  No matter what I do I can't get the task to press the decline button in the uber driver app. I have no problem with other apps like Lyft or doordash.  It's just Uber that gives me trouble.

I've tried field ID.   I tried coordinates.  I even turned on the android developer tools "show taps" option to see if the cursor is pressing on the button.  It is.  I can see it.  I have tried making the task press the button several times with a variety of different times.  But the uber driver app is just not registering the button press.

I've tried click, long click, Focus, Text, and as I mentioned earlier, Field ID.   I tried ALL of the fields that tasker sees.  I tried AutoInput action and AutoInput action V2.

I have the "collect screen elements actions" installed so I can get a list of the fields on the screen.  None of them work.  I can't think what else to do!

I thought maybe uber was somehow putting up some sort of blocker on the screen to prevent "bots" from pressing buttons programmatically or something, because they think that gives the driver an uncompetitive advantage, I guess.  I don't know how it works.  I do know that I have to press the decline button several times with my finger. automatically accepting rides.  So it felt like maybe there's some sort of way the app can distinguish an actual finger press and an automated press from a 3rd party app like tasker.  But I **CAN** make tasker press the accept button!  So if I wanted to make tasker into a bot, I could.  But I don't want that.  I just want tasker to decline bad rides.  Since tasker can press the accept button, that must mean that Uber ISN'T somehow using some method to distinguish finger presses from app presses.  That gives me hope, but for the life of me I can't make the task press the decline button!!!

Now the accept button does have text on the button.  The decline button does not.  The decline button is a sort of stylized graphic icon of an X, so AutoInput doesn't have text to find.

Any suggestions?  Having to decline hundreds of rides a day is killing me!!  And it's dangerous!

Thanks.


João Dias

unread,
Jan 13, 2025, 6:23:27 AMJan 13
to tas...@googlegroups.com
Hi John!

Unfortunately I'm not an Uber driver, so I can't reproduce your issue, sorry! With that being said, does maybe using the "Keyboard" action in Tasker work for you? The way that works is you can press "Tab" a bunch of times until the focus is on that button and then press "Enter" to click it, all with the keyboard action. To test it out beforehand you can get a USB or bluetooth keyboard and try to press the button with that. If you can do it with a physical keyboard then the Tasker one should work as well!

Hope this helps!

Thank you for your contact.

   Join: connect multiple devices (send pushes, remote SMS, notifications) on Android, Windows, Mac, Linux
   Tasker: customize/automate anything on your phone!
   AutoApps: add advanced functionality to Tasker via plugins

     

João Dias


Reply all
Reply to author
Forward
0 new messages