im_flutter_sdk_ios 5.0.0
im_flutter_sdk_ios: ^5.0.0 copied to clipboard
Integrate the Chat SDK to enjoy the global IM services with high reliability, ultra-low latency, and high concurrency.
5.0.0 #
- Upgraded the iOS native SDK dependency to 5.0.0, keeping CocoaPods and SPM consistent;
- Added the PushKit (VoIP push) route:
bindPushKitTokencallsregisterPushKitToken:completion:andunbindPushKitTokencallsunRegisterPushKitTokenWithCompletion:; OptionsHelpermaps the certificate names as initialization options again:apnsCertNameandpushKitCertNameare read from the init payload and written toEMOptions(and returned bytoJson), instead of being assigned while binding a token;bindDeviceTokenno longer writesoptions.apnsCertNameat runtime, and it ignores thenotifierNamesent by Dart;- Adapted to Token login, data sync, batch read receipts, and the group configuration rework;
- Adapted to per-conversation delegates and the removals in native 5.0.0;
- Fixed an issue where paged group read receipt fetches did not return
totalCount; - Consolidated disconnection events into
onDisconnected: each disconnection delegate is mapped to a platform reason code and dispatched uniformly, and force-logout callbacks now pass the reason code through as-is (including the active-number-limit case); - Removed
activeNumbersReachLimitation, which no longer exists in 5.0.0, and the unusedLoginExtensionInfoHelper; - The muted list in chat room info now uses the native 5.0.0
muteMembers(a user ID list) instead of the deprecatedmuteList; the external JSON structure is unchanged; - Batch read receipts are no longer pre-validated by the wrapper: messageIds that cannot be resolved to local messages are skipped instead of failing the whole batch with 500; whether they are accepted is determined by the native SDK (110 when the whole batch cannot be resolved);
- Removed the unreachable
fromassignment in server-side history fetch options: Dart now only sendssenders, and the nativefromis deprecated in favor offromIds; - Added the native implementation of
deleteConversationsfor batch local conversation deletion: conversations are resolved one by one viagetConversationWithConvId, non-existent IDs are skipped, anddeleteConversations:isDeleteMessages:completion:is called; - Fixed a crash in the
onRequestToJoinDeclinedevent when the event dictionary was constructed with nilreason/decliner; the event now always carriesdecliner(an empty string when nil); - Removed the listenerless per-message
onMessageDeliveryAckemission, the deadmessagesDidRecall:delegate method, and the related constants; - Removed the unreachable
senderfallback in conversation keyword search (loadMsgWithKeywords): Dart now only sendssenders; - Removed the image message body
thumbnailSecretpass-through (removed in RN as well; the video body keeps it); - Fixed the video message body toJson key mistakenly written as
thumbnailSecretKey; it is nowthumbnailSecretto align with Dart/Android (the native property name is unchanged); - Removed the dead wrapper routes that no Dart code can reach:
uploadLog,removeMsgFromServerWithTimeStamp,getAllChatRooms,getImPushConfig, the legacyupdateAPNsPushToken/updateFCMPushToken/reportPushActionpush routes,updateOwnUserInfoWithType, andfetchUserInfoByIdWithType, together with the unreachablepushConfigread/write inOptionsHelper;
4.24.0 #
- Upgraded the iOS native SDK dependency to 4.24.1;
- Added the native implementation of server-side message search;
4.22.0 #
- Upgraded the iOS native SDK dependency to 4.22.1;
- Added native implementations for new APIs including original (full-size) image download, speech-to-text, group business cards, contact sync, and user attribute subscription;
4.19.2 #
- Added iOS Swift Package Manager integration support;
4.19.1 #
4.19.0 #
- Upgraded the iOS native SDK dependency to 4.19.1;
- Added support for receiving stream messages;
4.18.0 #
- Upgraded the iOS native SDK dependency to 4.18.1;
- Added secure DNS resolution (DoH) at the underlying layer to improve connectivity;
4.17.0 #
- Upgraded the iOS native SDK dependency to 4.17.1;
- The long connection now supports the WebSocket protocol;
- Private deployments can now switch between TCP and WebSocket for the underlying link;
4.16.0 #
- Upgraded the iOS native SDK dependency to 4.16.2;
- Added the
loadMessagesWithIdsAPI; - Fixed an issue where the
EEMChatEventHandler#onMessageContentChangedcallback did not return the modification when a message other than text or custom was modified; - Fixed an issue where fetching roaming messages with saving disabled (
FetchMessageOptions#needSaveset to false) still created a new local conversation; - Fixed an issue where members still fetched group or chat room details from the server after the group or chat room was destroyed;
- Fixed an issue where updating group attributes affected the group avatar;
- Updated the
AOSLlibrary to 1.3.0; - Added support for setting IPv6-format REST addresses in private deployments;
4.15.2 #
- Fixed a crash when
fetchReactionDetailfetched a non-existent reaction; - Added the
getCurrentDeviceIdAPI; - Added the
loadConversationMessagesWithKeywordAPI;
4.15.1 #
4.15.0 #
4.13.0+1 #
- Fixed a crash when the
announcementwas empty in theonAnnouncementChangedFromChatRoomcallback. - Fixed a crash when the
announcementwas empty in theonAnnouncementChangedFromGroupcallback.
4.13.0 #
- Updated the native SDK to 4.13.0