Apple iMessage Extension API Detecting if the recipient is using iMessage

Is it possible to detect (programmatically) from the iMessage application extension: from the sender: regardless of whether the person you are talking to is using iMessage or they are SMS / MMS users (for example, Android or Windows)

Basically, I need to adapt my delivery experience based on whether they can reflect a fully rich experience or minimize a subset of it.

For example, for iMessages, I really want to deliver the video online. For MMS / SMS, perhaps I want to show only the image or, possibly, even a link, to avoid the failure of SMS / MMS recipients.

+4
source share
1 answer

There is no API for this. This is a really good idea. I offer you an extension request file with Apple . [Update: if someone from Apple might see this, I applied rdar: // 32773566 to request this.]

One possible workaround - depending on how your application works with these videos - is to upload the video somewhere, and then send the URL as a message. In iOS, Messaging.app will make a good view of most videos if the sender is in the recipient’s address book or the recipient has sent messages to the sender in the past.

+2
source

Source: https://habr.com/ru/post/1679277/


All Articles