aj3423 / SpamBlocker

Android Call/SMS blocker.
MIT License
232 stars 10 forks source link

Block call start with + ? #14

Closed fauguswanto closed 2 months ago

fauguswanto commented 2 months ago

Either I am not understand how Regex work, or it didn't work as expected? Screenshot_2024-04-27-12-59-30-790_spam blocker Screenshot_2024-04-27-12-59-33-418_spam blocker

aj3423 commented 2 months ago

It's a bug, special characters are not removed before checking, now it's fixed, try this action build: https://github.com/aj3423/SpamBlocker/actions/runs/8857903749

BTW, now there is a "Test" feature, you can test your rules directly, no need to wait for new incoming call.

fauguswanto commented 2 months ago

How bout the Regex I wrote, is it already correct? I tried new build and it still pass the call that I filtered Screenshot_2024-04-27-15-01-04-077_spam blocker

aj3423 commented 2 months ago

Strange, I tested with this number and it is blocked: image with the rule: image

Does it still shows "pass" in the history log page ? Also check the regex rule, does it contain any trailing spaces?

fauguswanto commented 2 months ago

Thanks for testing it, after I remove the filter then re-input it again with same regex, now it's blocked when I tested it. Thanks, I really appreciate it !

fauguswanto commented 2 months ago

Seems like the call still managed to get it but the application said blocked..

Screenshot_2024-04-27-16-56-58-263_com gravity roo sea

aj3423 commented 2 months ago

What Android version is this?

fauguswanto commented 2 months ago

Android 14, Poco X5 5g

aj3423 commented 2 months ago

I just tried again on Android 10 emulator with the exact number, and Android 14 real phone with a different number, both works. Unfortunately the call simulation doesn't work for Android 14 emulator. Really strange, maybe check if any permission disallowed in system setting.

fauguswanto commented 2 months ago

I am able to resolve this issue by reinstalling the apk, then inputting the filter again. Now it's works