0

SMS filtering API now supports more categories with iOS 16 - 9to5Mac

 1 year ago
source link: https://9to5mac.com/2022/06/15/sms-filtering-api-more-categories-ios-16/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

SMS filtering API now supports more categories with iOS 16

iOS-16-Spam-Filter-API.jpg?quality=82&strip=all&w=1600

You may not be familiar with this, but iOS has APIs to let third-party apps detect and alert users about spam calls and SMS. With iOS 16, the SMS filtering API is getting an update to support even more categories in the Messages app.

This API was introduced back in 2017 with iOS 11, and it basically integrates spam database apps into Apple’s Messages app. That way, every time you receive a message from a number reported as spam, it automatically goes to a separate inbox. Now with the latest version of iOS, developers will be able to filter spam messages into even more different categories.

iOS 14 introduced two new different categories for spam SMS in addition to Junk: Transactions and Promotions. For example, SMS with banking transaction alerts go into the Transactions folder, while SMS with offers on products and services are kept in Promotions.

As detailed by Apple in a WWDC 2022 session, iOS 16 adds 12 new subcategories to the SMS filtering API. These are:

  • Transactions
    • Finance
    • Reminders
    • Orders
    • Health
    • Public Services
    • Weather
    • Carrier
    • Rewards
    • Others
  • Promotions
    • Offers
    • Coupons
    • Others
  • Junk

Apple’s Messages app identifies which types of categories are supported by the SMS filtering app installed on the device and will show only those categories to the user. For example, an app can filter SMS only by Finance and Orders in the Transactions category.

Apple notes that SMS filtering apps use a local database to identify the subject of a message, so the app doesn’t need to upload the user’s messages to a server in order to work.

Apple’s SMS Filter

Interestingly, Apple has its own SMS filter built into iOS, but there’s a catch. Right now, it is only available for users in Brazil and India – as these countries are heavily affected by SMS spam. With iOS 16, some of the new SMS filtering subcategories will be available by default in India, but users in Brazil will continue with the Transactions, Promotions, and Junk categories.

Apple’s SMS filter is based on machine learning to identify whether a text message is spam, and if it is, it also identifies in which category it belongs. There’s no word on when Apple will expand this feature to more countries, but luckily developers can build apps based on this API for everyone.

iOS 16 is currently available as beta software for developers. A public beta will be released next month, while the official release is expected this fall. More details about the message filtering API can be found on the Apple Developer website.

More about iOS 16 APIs

FTC: We use income earning auto affiliate links. More.

banner_mosyle_9to5.png
You’re reading 9to5Mac — experts who break news about Apple and its surrounding ecosystem, day after day. Be sure to check out our homepage for all the latest news, and follow 9to5Mac on Twitter, Facebook, and LinkedIn to stay in the loop. Don’t know where to start? Check out our exclusive stories, reviews, how-tos, and subscribe to our YouTube channel

Check out 9to5Mac on YouTube for more Apple news:


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK