Fix Copy SMS Code on Graphene

You can read the detail description in this issue.

The fix is, find out the listener service with this adb command:

SHELL
adb shell pm dump io.github.jd1378.otphelper | grep -i "notification\|listener"

And you can see it’s called io.github.jd1378.otphelper/.NotificationListener.

So, we grant it special access to read notifications (which is not possible via settings GUI, and I don’ know why):

SHELL
adb shell cmd notification allow_listener io.github.jd1378.otphelper/.NotificationListener

Comments on Giscus

Comments on Mailing List

Don't feel like using GitHub? Don't worry, we have a mailing list hosted on SourceHut. Just send an email to ~yuki/obsp-inbox@lists.sr.ht to join the discussion!

Comments on Fediverse

With an account on the Fediverse, you can respond to this post. Since ActivityPub is decentralized, you can use your existing account hosted by another Mastodon server or compatible platform if you don't have an account on this one. Known non-private replies are displayed below.

Learn how this is implemented here.