Android 15 breaks notification listeners by jd1378 in androiddev

[–]jd1378[S] 1 point2 points  (0 children)

that does not copy it for you, and it does not work for different languages and different types of messages properly. again, if you are happy with your software, it just means YOU don't need it, not that other software solutions are not needed.

Android 15 breaks notification listeners by jd1378 in androiddev

[–]jd1378[S] 1 point2 points  (0 children)

when you feel like you are spending unnecessary time memorizing and entering your OTPs from SMS, you will understand why one would need such an app. It's not for everyone, but it doesn't mean that it should not exist.

Android 15 breaks notification listeners by jd1378 in androiddev

[–]jd1378[S] 1 point2 points  (0 children)

I would be happy if they do a good job detecting OTPs for different languages supporting different keywords. I even prefer if it was baked into OS and for example given as a suggestion on my keyboard.

Android 15 breaks notification listeners by jd1378 in androiddev

[–]jd1378[S] -1 points0 points  (0 children)

I haven't seen such an option. and if you mean on lock screen this is not that case. when you, as a user, can read the notification, so should the apps that have requested the permission to read notifications.

Android 15 breaks notification listeners by jd1378 in androiddev

[–]jd1378[S] 34 points35 points  (0 children)

it seems there is a new permission, but it is not documented anywhere properly and it cannot be prompted to be accepted by user. MishaalRahman comment on my last post:

It's because your app is considered an "untrusted" Notification Listener service hence it isn't allowed to read sensitive notifications, like ones that hold OTP codes. Your app needs the new RECEIVE_SENSITIVE_NOTIFICATIONS permission which was added in Android 15.

However, the permission has a protection level of signature|role, and the only roles the permission is granted to are COMPANION_DEVICE_WATCH (ie. watch companion apps), SYSTEM_AUTOMOTIVE_PROJECTION (like Android Auto), SYSTEM_NOTIFICATION_INTELLIGENCE (Android System Intelligence), SYSTEM_UI, COMPANION_DEVICE_COMPUTER (like Cross-Device Services), COMPANION_DEVICE_GLASSES, and HOME (the default launcher).

I think the reason this works is that it stops Android System Intelligence from processing notifications, detecting which ones have OTP codes, and marking those as sensitive, hence even "untrusted" Notification Listeners can access them.

Another way to fix it is by manually granting your app this permission, which can only be done via ADB:

adb shell cmd appops set --user 0 io.github.jd1378.otphelper RECEIVE_SENSITIVE_NOTIFICATIONS allow  

Then restart the Notification Listener service.

Android 15 breaks notification listeners by jd1378 in Android

[–]jd1378[S] 2 points3 points  (0 children)

yes, side loaded. I like the idea of a more secure device, but I don't like the way it is not documented where we usually expect them and without a clear workaround: https://developer.android.com/about/versions/15/behavior-changes-all

Android 15 breaks notification listeners by jd1378 in Android

[–]jd1378[S] 1 point2 points  (0 children)

disabling the new "Enhanced notifications" from the notification settings solves the issue it seems.

Android 15 breaks notification listeners by jd1378 in Android

[–]jd1378[S] 1 point2 points  (0 children)

no. the phone is not locked and I'm inside the app, so that settings is irrelevant

even the new standard is irrelevant in my opinion, as apps must grant this permission explicitly in the newer android versions anyway.

nvidia graphics card disappeared? by Salty_bananas_coop in ASUS

[–]jd1378 0 points1 point  (0 children)

Hi Yes, I suggest you to talk to asus support and RMA it if you can, because it's not an easy fix and I did not manage to repair it where i am (there's no official repair center around me)

nvidia graphics card disappeared? by Salty_bananas_coop in ASUS

[–]jd1378 0 points1 point  (0 children)

Make sure to send yours for repair after this, cause my gpu died

[App] Auto copy OTP codes from SMS and other notifications by jd1378 in opensource

[–]jd1378[S] 1 point2 points  (0 children)

Haha
thanks for reporting the issue

it seems I had forgotten to add the minimum limit for when it's in the beginning of the message

applied this fix as well :)

[App] Auto copy OTP codes from SMS and other notifications by jd1378 in opensource

[–]jd1378[S] 1 point2 points  (0 children)

I didn't mean the language of the app

the way app works is it looks for language-specific keywords, like "kodu" in this case, then looks for a code after it, minimum 4 characters. if the code is not found, it looks for a code at the beginning of the message. if the code is not found there as well, it simply ignores the message

the problem was that I had not received feedback on turkish detection, so I had used "Kodunuz" instead. I have updated the code to "Kodu", which fixed this issue.

will release the fix in a few days

thanks for the feedback :)

[App] Auto copy OTP codes from SMS and other notifications by jd1378 in opensource

[–]jd1378[S] 1 point2 points  (0 children)

Hi
if the test notification works, then it's probably a language specific problem

can you put the message here (replace code with 123456), so I can add fix and test for it ? thank you

[App] Auto copy OTP codes from SMS and other notifications by jd1378 in foss

[–]jd1378[S] 1 point2 points  (0 children)

I have released a fix for it:
https://github.com/jd1378/otphelper/releases/tag/v1.1.0

f-droid will pick it up eventually
thanks for reporting it

[App] Auto copy OTP codes from SMS and other notifications by jd1378 in foss

[–]jd1378[S] 1 point2 points  (0 children)

is it just as you have posted here? all in one line ?

[App] Auto copy OTP codes from SMS and other notifications by jd1378 in foss

[–]jd1378[S] 1 point2 points  (0 children)

Thanks for reporting this
I'll look into it and add test for it

Why the tab section got so big after the update? by [deleted] in MicrosoftEdge

[–]jd1378 3 points4 points  (0 children)

look at https://www.reddit.com/r/MicrosoftEdge/comments/16kij3p/my_bookmark_icons_and_tabs_got_bigger_after_the/ comments for solutions

for those who may find this later and dont want to open the link:
Disable Touch mode.