Android and iOS limits
what it can and cannot filter.
Read this before you write your store listing. These limits come from the platforms, not from the code.
01Android: no automatic filtering
Google Play only lets an app hold the permissions to read incoming SMS (READ_SMS, RECEIVE_SMS) if it is the user's default SMS app, or in a few exception cases that Play reviews one by one. Reading texts through a notification listener is not a documented Play-permitted way to filter SMS and needs a special-access toggle and a prominent disclosure. Textguard therefore asks for none of these. The Android build declares only INTERNET and the billing permission, and works on text the user hands over:
- Select text in a messaging app and choose Check with Textguard (
ACTION_PROCESS_TEXT). - Share a text to Textguard from the share sheet (
ACTION_SEND). - Paste it into the Check screen.
If you want automatic filtering on Android you must build it as a default SMS app or obtain Google's exception yourself. This code does not do that.
02iOS: unknown senders only
The Message Filter extension is an ILMessageFilterExtension. iOS only hands it texts from senders who are not in the user's contacts, and only after the user switches it on. It can file a text under Junk, Promotions or Transactions; it cannot read, change or delete other messages. The extension has no network URL in its Info.plist, so iOS does not let it send anything: classification runs offline with the rule pack the app writes into the App Group (or the rules bundled in the extension).
Setup for you: your own team for both targets, an App Group of your own (the id in the source is a placeholder, see Rename), and the user turns the filter on under Settings, Messages, Unknown & Spam.
03What to say in your listing
- Android: checks text you share, select or paste; does not filter incoming SMS.
- iPhone: sorts texts from unknown senders; texts from your contacts are never touched.
- Rule-based and offline; no AI; nothing leaves the phone unless you switch on the optional features.
- It never says a message is safe and it cannot catch every scam.