SimpleMobileTools / Simple-SMS-Messenger

An easy and quick way of managing SMS and MMS messages without ads.
https://www.simplemobiletools.com
GNU General Public License v3.0
610 stars 218 forks source link

Allow copying codes, phones or numbers from notification #268

Open tomikmar opened 2 years ago

tomikmar commented 2 years ago

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

tibbi commented 2 years ago

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

tomikmar commented 2 years ago

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 commented 2 years ago

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

Screenshot_20220112-002219_Trebuchet

Aga-C commented 2 years ago

On my phone, it works:

image

Aga-C commented 2 years ago

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.

tomikmar commented 2 years ago

My settings are like this:

Screenshot_20220112-105257_Settings

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

Aga-C commented 2 years ago

I meant settings in the app. image

tomikmar commented 2 years ago

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:

vmtest888 commented 2 years ago

https://github.com/tianma8023/XposedSmsCode

Something like this

Cwpute commented 1 year ago

this is related to issue #111