aj3423 / SpamBlocker

Android Call/SMS blocker.
MIT License
76 stars 4 forks source link

[Feature reqeust] Prompt to copy SMS verification code #17

Closed wdlid closed 1 week ago

wdlid commented 2 weeks ago

Thanks for the great APP first. I'm using Samsung phone and the default SMS could prompt to copy verification code, it's really convenience. Since I disabled the default notification of default SMS, it will not prompt for copy 'verification code' like this:

https://www.theverge.com/2018/5/11/17345016/android-messages-copy-two-factor-codes-update

It's much better if you can consider muti language. In Chinese the code could comes with 验证码:4321 验证码为4321 验证码4321 验证码是4321

so a regex could be like (?<=验证码.*)\d+

In english it could be: (?<=code.*)d+

aj3423 commented 2 weeks ago

Good idea, will implement.

aj3423 commented 1 week ago

Done in v1.5.