2018-08-18
A filter to block unwanted messages on iOS
Available on App Store: https://itunes.apple.com/app/id1430505910
Usage:
The hole rule is divided into whitelist and blacklist; each list is composed of some condition groups with "or" relation; each condition groups is a group of some conditions with "and" relation.
Whitelist has higher priority than blacklist.
Logic diagram:
Relationship diagram:
Notice:
Message filter extension can't access the systemwide general pasteboard.
If the sender is in your contacts or you have responded to a sender three or more times, messages from this sender will no longer be sent to the extension.
As Apple documentation, filter extension can send the information about messages to a server associated with app when extension can't make determination by local data and logic. I think that this feature is useless for most user. This function will send your message information to developer's server and may cause privacy risk. If you are interested in the feature, you can switch branch to "server" which I demoed it.
A filter extension/containing app without network is a safer and enough choice, I think.
A message sender will be marked as spam forever by system if his one message was tagged as Filter by extension. That is incomprehensible. But Apple has determined that it behaves as intended. Extension will mark the hole conversation instead of a single message as spam. To remove a conversation from filtered section, you can:
Respond three or more times to sender.
Add sender to contact.
Delete message conversation and new incoming messages will be sent to the extension again.
Picture preview: