0

We need to implement iMessage application with the possibility to assign ratings to the messages. Are there any possible way to do it with stickers?

Does iMessage extensions API allow to identify what sticker has been assigned to the sent message? If so are there are any limitation - about that the sticker must be the part of the same application or your extension can identify stickers from other extension.

Eric Aya
  • 69,473
  • 35
  • 181
  • 253
Vitaliy
  • 2,744
  • 1
  • 24
  • 39
  • You get only messages sent by your application. You get informed by delegate messages. For instance `didStartSending`, which also gives you the `MSConversaton` and the `MSMessage`. Check Apples sample code: https://developer.apple.com/library/content/samplecode/IceCreamBuilder/Introduction/Intro.html – shallowThought Oct 13 '16 at 16:37
  • Thanks for response, I can see that `didStartSending` is throwing immediately after pushing send button, but the event is not thrown when I'm assigning sticker on the message. I'm looking for the delegate (or other possible way) which can inform that my `MSSticker` was assigned to my `MSMessage` – Vitaliy Oct 14 '16 at 09:09
  • I probably misunderstood "...what sticker has been assigned to the sent message...". As only you can set a `MSSticker` to a `MSMessage`, you are the only one that knows when this happens. – shallowThought Oct 14 '16 at 12:07
  • 1.I've sent a message (`MSMessage`). 2.Opponent receives a message (he see the message in the list). 3.Opponent puts sticker (`MSSticker` - Like or Dislike) on the message (drag and drops, sticker from the same application). Q. Are there any possible way to identify what sticker my opponent put to my message? – Vitaliy Oct 14 '16 at 12:18
  • I found similar question - http://stackoverflow.com/questions/38441987/callback-for-mssticker-peels-in-ios-10-imessage-sticker-app. May be it can help me – Vitaliy Oct 14 '16 at 13:23
  • Check out the IceCreamBuilder sample code mentioned above. It does exact the same thing, but with ice cream instead of like/dislike. – shallowThought Oct 15 '16 at 13:28

0 Answers0