twilio / twilio-conversations-demo-ios-swift

Twilio Conversations for iOS Demo application in Swift
MIT License
17 stars 18 forks source link

NotificationService is not being called when new media is received. #16

Open iosYash opened 11 months ago

iosYash commented 11 months ago

I am getting notification from Twilio but Notification service's didReceive method not being called.

Don't know what exactly the issue is.

berkus commented 11 months ago

Can you please provide more details?

How do you set up notifications? Where do you DO receive notification from Twilio?

A bit more details would be helpful to diagnose what is going wrong.

iosYash commented 11 months ago

Hello,

I have setup notification using APNS and added required configuration in Twilio console for chat service. I am getting push notification from Twilio when new message comes in conversation, participant removed and participant added. For rich notification, In conversation demo of Twilio, there is one push notification service to handle. NotificationService is not being called even if in notification payload “mutable-content - 1”.

Thanks, Yash Patel

On 27-Sep-2023, at 5:33 PM, Berkus Decker @.***> wrote:

Can you please provide more details?

How do you set up notifications? Where do you DO receive notification from Twilio?

A bit more details would be helpful to diagnose what is going wrong.

— Reply to this email directly, view it on GitHub https://github.com/twilio/twilio-conversations-demo-ios-swift/issues/16#issuecomment-1737258857, or unsubscribe https://github.com/notifications/unsubscribe-auth/A36RRKZDBFN5K6TC4NWE343X4QI2JANCNFSM6AAAAAA5JDYZQI. You are receiving this because you authored the thread.

berkus commented 7 months ago

I think there are no notifications for media messages at the moment, I might be wrong but that's in my memory now.