Aleksandr  Osnach
Aleksandr Osnach

Reputation: 13

How to know if your sms filter extension is enable in iOS settings?

When we add an extension to our application for example by filtering SMS

Add extension:

enter image description here

After launching our application on the device (hereinafter referred to as the host app), we need to activate our extension in the iOS settings in the message section:

Enable extension:

enter image description here

How in the host app to know the status of the extension, is it active in the settings or not?

I need to know the state in order to ask the user to activate the extension or not to ask the user to activate the extension, and instead show other content in the host app

Upvotes: 0

Views: 595

Answers (2)

Yusuf
Yusuf

Reputation: 981

Apple doesn't allow it and I don't think they will do it even in the future.

Here is what they say in the IdentityLookup documentation

Also for privacy reasons, your app extension cannot write data to containers shared with the containing app.

Upvotes: 0

Taimoor Suleman
Taimoor Suleman

Reputation: 1616

Unfortunately,There is no API to check SMS filter extension is enabled in containing app or not.

Upvotes: 1

Related Questions