urbanairship / ios-library

Urban Airship iOS SDK
http://urbanairship.com
Apache License 2.0
478 stars 265 forks source link

ExpirationDate is not set on UAInboxMessage #365

Closed sandammeer closed 1 year ago

sandammeer commented 1 year ago

Preliminary Info

What Airship dependencies are you using?

16.11.3

What are the versions of any relevant development tools you are using?

Report

What unexpected behavior are you seeing?

What is the expected behavior?

What are the steps to reproduce the unexpected behavior?

Do you have logging for the issue?

Bildschirmfoto 2023-06-14 um 11 36 48

sandammeer commented 1 year ago

I started debugging and found out that the message_expiry key is missing in the NSDictionary in this method - (void)updateMessageData:(UAInboxMessageData *)data withDictionary:(NSDictionary *)dict in file UAInboxStore

khmMouna commented 1 year ago

Are you using the correct expiration field from the UI ?

Screenshot 2023-06-14 at 7 44 39 AM

sandammeer commented 1 year ago

Sorry my bad, this is working for the message center, thanks for the clarification :)