Bug 420060 - OTP notifications in sms should be truncated on desktop
Summary: OTP notifications in sms should be truncated on desktop
Status: CONFIRMED
Alias: None
Product: kdeconnect
Classification: Applications
Component: messaging-application (show other bugs)
Version: unspecified
Platform: Debian stable Linux
: NOR wishlist
Target Milestone: ---
Assignee: Simon Redman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-14 05:33 UTC by johnathan
Modified: 2020-06-03 02:56 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description johnathan 2020-04-14 05:33:09 UTC
SUMMARY
we often recieve OTP sms which we have to enter on the desktop/other devices. KDE connect allows sms to display on say phones to desktop perfectly but in case of OTPs, we still have to select the notification panel, look for the OTP sms and then either manually type it where ever we want to use it or, copy it first by right clicking it and then pasting. What i am suggesting is, use something like "https://androidwave.com/auto-read-otp-android-user-consent-api/" and "https://androidwave.com/automatic-sms-verification-android/" and "https://stackoverflow.com/questions/30862162/otp-token-should-be-automatically-read-from-the-message" not on the phone but on the desktop side.
using this, if KDE connect detects an sms which has an OTP, that sms should get truncated in the notification and that notification should remain persistent for a certain time like 30 seconds. what this will do is, instead of having to open the notification panel and look through where is the 6 digit code or whatever, that work can be done by the system.
On android, many sms apps do this. They just show the OTP in the sms or in the notification. I am suggesting the same functionality in the desktop side. It wouldnt have to affect the phone app as the sms recognition would be done by the desktop app.
Comment 1 johnathan 2020-04-15 06:21:07 UTC
to add to this feature, there should be a copy button that lets you copy the "OTP" instead of having to select, then right click and then pressing copy button. That would be better
Comment 2 Simon Redman 2020-06-03 02:56:43 UTC
Assigning this to the messaging application, since that broadly covers all SMS work