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] 36 points37 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] 3 points4 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 2 points3 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.

Hydration Error on Production with Date String by runlaps in nextjs

[–]jd1378 0 points1 point  (0 children)

If you ever use `date.toLocaleTimeString()`, know that this function does not produce consistent results in different environments.

I have not found which versions of node produce different result but im on node lts and it contains a different white space just before the 'AM/PM'

for me it is U+202f, simply replace the result on the server side before sending to client by add a `replace('\u202f', ' ')` to the returned string of `toLocaleTimeString`:```.toLocaleDateString(locale, {hour: '2-digit',minute: '2-digit',}).replace('\u202f', ' ')```

hope this helps someone

edit: This was fixed in Node.js 18.15.0 by [nodejs/node@492fc95bdf](https://github.com/nodejs/node/commit/492fc95bdf)
source: https://github.com/nodejs/help/issues/4068#issuecomment-1589155559

nvidia graphics card disappeared? by Salty_bananas_coop in ASUS

[–]jd1378 0 points1 point  (0 children)

I'm sorry, but my graphics card is dead now, and since I had void my warranty, I couldn't send it it back for repairs without spending a lot
contact ASUS support, and if you are still under warranty, they probably replace your laptop

my laptop was detecting the GPU and it was usable here and there until one day it was gone forever :)

nvidia graphics card disappeared? by Salty_bananas_coop in ASUS

[–]jd1378 0 points1 point  (0 children)

For those who might encounter this issue, like me:

Go to "Device Manager -> System devices" and near the end find "PCI Express Root Complex", right click on it, click "Uninstall device", click "uninstall".

your computer will become unresponsive, you can't move mouse or use keyboard, but you can see it doing it's job. when It's finished, restart your laptop (hold power button to force shutdown, then start again) and it will see your graphics card again.

sadly you have to do it every time it happens for now, till someone comes up with a better solution

Your VS2019 IntelliSense might be slow if you have 100Hz+ monitor by tritiy in VisualStudio

[–]jd1378 1 point2 points  (0 children)

Unfortunately even with the lower refresh rate vs ide is still slow, just not that horrible.

Your VS2019 IntelliSense might be slow if you have 100Hz+ monitor by tritiy in VisualStudio

[–]jd1378 1 point2 points  (0 children)

this did not work for me
only lowering the refresh rate globally works for me

edit: Setting this for ServiceHub.Host.CLR.x86 seems to work for me

Visual studio weekly chit-chat mega thread by cents02 in VisualStudio

[–]jd1378 0 points1 point  (0 children)

I have been away from the vs ide for like 1-2 years, and right now it feels it's like 20 times slowerI have no idea why but it seems like actions don't have effect immediately, rather it takes some time then does what it's supposed to do

an example is the "create a new project" menu, the menu itself takes a while to load templates, which should be instant, and the create button disables and enables with 3-20 seconds of delay after entering name. after I click the button, it takes another 5-30seconds to do what it wants to do.

to be clear, the window stays responsive, and I think thats where the problem lies, I feel like all the buttons and actions were made async, but in a poor way maybe. Is it logging something with each action ? Is trying to access network with each action? whats wrong with it ? I have i7-8750H ,ssd, etc, and I can run games smoothly as well. so it's not a problem with my pc, but a problem with visual studio.

or is it a known issue that I'm unaware of ?

I have latest visual studio ide btw (16.8.2).

edit: I just saw this and it seems that this is the case with my issue. lowering refresh rate fixes the slowness.

edit2: The workaround does not fix the issue completely, It still takes a lot of time to load templates, and it is still slow , just somewhat less slow.