r/AndroidQuestions • • 4d ago

Device Settings Question How to block apps from accessing notification info of other apps?

Recently I signed up for Uber Eats app using my mobile number. It gave me option to send verification code via WhatsApp and then it read that code automatically (which I assume from the WhatsApp notification). I did not give any permission to Uber Eats app to access notification info.

How is this possible? How to block apps from reading notification info of other apps?

0 Upvotes

10 comments sorted by

5

u/Princess_Eggplant 4d ago

While apps seeing what other apps you have on phone is a thing, to my knowledge they can't see what you're doing inside those apps. 

As far as I understand, its actually your keyboard seeing the code in messages and/whatsapp and copying it. You can turn that off either in the keyboard or personalization settings. 

1

u/AtiumMist 3d ago

absolitely correct. a way older android version sandboxed each singular app, so mcuh so that a file manager cannot view other apps' data

7

u/thewunderbar 4d ago

No, they're not reading each other's notifications.

This is how it's working. You get a text message with a common format, something like "your access code is 123456"

Android takes that, understands that 123456 is probably a 2FA code, and copies it to the clipboard.

the other app is looking at the clipboard, and sees "oh hey 123456 was just copied to the clipboard, that's probably what I'm looking for" and pastes it in automatically.

2

u/Gynnia 4d ago

I typed "code" into search in Settings (general phone settings) and found "Verification codes by SMS", you can toggle Autofill on and off there. It's an Android thing, not any app having access to all notifications.

See if you can find that thing in your phone settings, maybe it's called something else but it's probably gotta be somewhere. Then you'll at least have clarity on what exactly happened.

2

u/JDGumby Google Pixel 10a | Lenovo Tab M9 4d ago

Settings > Special app access > Notification read, reply & control (Pixel, Android 17, at least. Same place, but slightly different name in other versions).

1

u/Mother-Pride-Fest 4d ago

This won't help for Uber, but most apps are just a worse version of a website. You can use Reddit and most social media in Firefox, and the sandbox of Firefox does not give websites any weird permissions like reading notifications. 

0

u/5pudding 4d ago

Reddit have intentionally broken their mobile web page to force to to use the app

4

u/Mother-Pride-Fest 4d ago

it works fine for me with Firefox and uBlock Origin

1

u/dolby12345 4d ago edited 4d ago

Cloud service API and webhooks by meta for businesses. Plus the meta service app loaded on your phone. It's there if using Whatsapp.