LayerKit v0.7.12 Release Notes
-
API changes
- Method
conversationForParticipants:
which returned a single result, changed toconversationsForParticipants:
which now returns a set of conversations. LYRMessage
'srecipientStatusByUserID
property now populated immediately after thesendMessage:
call.- LYRConversation's
conversationWithParticipants:
method now accepts anNSSet
instead of anNSArray
of participants. - LYRClient's
conversationsForParticipants:
method now accepts anNSSet
instead of anNSArray
of participants. - LYRClient's
addParticipants:toConversation:error:
method now accepts anNSSet
instead of anNSArray
of participants. - ๐ LYRClient's
removeParticipants:fromConversation:error:
method now accepts anNSSet
instead of anNSArray
of participants.
โจ Enhancements
- โ Many API methods on
LYRClient
will now validate authentication state and log warnings when invoked from an unauthenticated state. - โ
LYRClient
will now enforce a single authentication request limit. If concurrent authentication cycles are begun the latest request will cancel its predecessors.
๐ Bug Fixes
- Attempts to authenticate while already connected will now return errors.
- ๐ Silent push notifications no longer start synchronization.
- ๐ Fixed an issue where incorrect conversations could be returned by
conversationForParticipants:
. - Object change notifications will no longer return non-uniqued instances of a given object.
- Receivers don't generate delivery events anymore for messages already marked as delivered or read.
conversationsForParticipants:
will now implicitly include the current user in the queried set.- ๐ Fixed an issue where messages sent during a synchronization process had incorrect index values.
- Method