Simple-SMS-Messenger icon indicating copy to clipboard operation
Simple-SMS-Messenger copied to clipboard

Allow copying codes, phones or numbers from notification

Open tomikmar opened this issue 2 years ago • 10 comments

Android (LineageOS) default messaging app detects codes in notification and allows to copy them to clipboard. It is very convenient. It would be great if we had similar feature in Simple SMS Messenger for codes, phones or numbers. There could be an option to enable/disable this feature.

Example for default SMS app:

IMG_20220111_230746

tomikmar avatar Jan 11 '22 22:01 tomikmar

it should be there already, it shows up for me. It is handled by the system though, not us

tibbi avatar Jan 11 '22 22:01 tibbi

I use LineageOS 18.1 (2021.12.28). Here is how it works for me for both messaging apps (I sent 2 SMS messages switching default app):

IMG_20220112_000225

tomikmar avatar Jan 11 '22 23:01 tomikmar

I also installed QKSMS. Here is how it works for all 3 apps:

Screenshot_20220112-002219_Trebuchet

tomikmar avatar Jan 11 '22 23:01 tomikmar

On my phone, it works:

image

Aga-C avatar Jan 12 '22 07:01 Aga-C

What option in the settings have you set in Lock screen notification visibility? Copy and Reply buttons are visible only if this option is set to Sender and message.

Aga-C avatar Jan 12 '22 08:01 Aga-C

My settings are like this:

Screenshot_20220112-105257_Settings

But in this issue I meant notifications visible after unlocking my phone.

tomikmar avatar Jan 12 '22 09:01 tomikmar

I meant settings in the app. image

Aga-C avatar Jan 12 '22 10:01 Aga-C

I had Lock screen notification visibility set to Sender only. In this case, first I see pop-up notification with sender only. Later, when I swipe down from the top of the screen, I see sender and message without possibility to copy.

Anyway, I switched to Sender and message and now everything works perfectly (possibility to copy is offered in both pop-up and swipe down notifications).

I was not aware that copy from notification to clipboard is a system feature. Not sure if there is something to improve here. Maybe you could consider adding some hint to Sender only option (that it also disables possibility to copy).

Thank you for your help - now it works great :+1:

tomikmar avatar Jan 12 '22 19:01 tomikmar

https://github.com/tianma8023/XposedSmsCode

Something like this

vmtest888 avatar Feb 16 '22 07:02 vmtest888

this is related to issue #111

Cwpute avatar Nov 20 '23 15:11 Cwpute