Add support for blocking keywords for incoming messages

This adds support for filtering incoming messages based on
message body by checking if it contains any of the blocked keywords
(case insensitive). Regex and patterns are not supported at the moment.

NOTE: This does not currently support MMS, only SMS.

This closes #33
This commit is contained in:
Ensar Sarajčić 2023-07-10 14:11:41 +02:00
parent 9942fb788a
commit 674a467694
61 changed files with 752 additions and 21 deletions

View file

@ -77,6 +77,11 @@
<item quantity="other">%d رسائل</item>
</plurals>
<!-- Settings -->
<string name="keyword">Keyword</string>
<string name="blocked_keywords">Blocked keywords</string>
<string name="manage_blocked_keywords">Manage blocked keywords</string>
<string name="not_blocking_keywords">You are not blocking any keywords. You may add keywords here to block all messages containing them.</string>
<string name="add_a_blocked_keyword">Add a blocked keyword</string>
<string name="lock_screen_visibility">رؤية اشعارات شاشة القفل</string>
<string name="sender_and_message">المرسل والرسالة</string>
<string name="sender_only">المرسل فقط</string>
@ -119,4 +124,4 @@
Haven't found some strings? There's more at
https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res
-->
</resources>
</resources>