From 8ebaaa3827aa95bbe5a3d37fe7da4fb523c1d778 Mon Sep 17 00:00:00 2001 From: Decoder07 Date: Tue, 10 Oct 2023 15:18:22 +0530 Subject: [PATCH] Fixed iOS error --- packages/hmssdk_flutter/example/ios/Podfile.lock | 8 ++++---- .../ios/Classes/Actions/HMSPeerListIteratorAction.swift | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/hmssdk_flutter/example/ios/Podfile.lock b/packages/hmssdk_flutter/example/ios/Podfile.lock index 2b79332e9..508f1ae94 100644 --- a/packages/hmssdk_flutter/example/ios/Podfile.lock +++ b/packages/hmssdk_flutter/example/ios/Podfile.lock @@ -95,14 +95,14 @@ PODS: - HMSBroadcastExtensionSDK (0.0.9) - HMSHLSPlayerSDK (0.0.2): - HMSAnalyticsSDK (= 0.0.2) - - HMSSDK (1.0.1): + - HMSSDK (1.1.0): - HMSAnalyticsSDK (= 0.0.2) - HMSWebRTC (= 1.0.5116) - hmssdk_flutter (1.8.0): - Flutter - HMSBroadcastExtensionSDK (= 0.0.9) - HMSHLSPlayerSDK (= 0.0.2) - - HMSSDK (= 1.0.1) + - HMSSDK (= 1.1.0) - HMSWebRTC (1.0.5116) - MTBBarcodeScanner (5.0.11) - nanopb (2.30909.0): @@ -231,8 +231,8 @@ SPEC CHECKSUMS: HMSAnalyticsSDK: 4d2a88a729b1eb42f3d25f217c28937ec318a5b7 HMSBroadcastExtensionSDK: d80fe325f6c928bd8e5176290b5a4b7ae15d6fbb HMSHLSPlayerSDK: 6a54ad4d12f3dc2270d1ecd24019d71282a4f6a3 - HMSSDK: 4d3227d2e2499fccaaff25e94a1ff74faf7f2681 - hmssdk_flutter: f0b773e7105c732748603e0ab356c86870e7102a + HMSSDK: 49e3ac665ceb8904d41787ddf99742e8d7d6529a + hmssdk_flutter: 83f141790bc2eb7906d3073afbed9f8e7d445a4b HMSWebRTC: ae54e9dd91b869051b283b43b14f57d43b7bf8e1 MTBBarcodeScanner: f453b33c4b7dfe545d8c6484ed744d55671788cb nanopb: b552cce312b6c8484180ef47159bc0f65a1f0431 diff --git a/packages/hmssdk_flutter/ios/Classes/Actions/HMSPeerListIteratorAction.swift b/packages/hmssdk_flutter/ios/Classes/Actions/HMSPeerListIteratorAction.swift index a287bdb54..0269d5776 100644 --- a/packages/hmssdk_flutter/ios/Classes/Actions/HMSPeerListIteratorAction.swift +++ b/packages/hmssdk_flutter/ios/Classes/Actions/HMSPeerListIteratorAction.swift @@ -102,7 +102,7 @@ class HMSPeerListIteratorAction{ * Here we find the iterator with [uid] passed from flutter channel * Since we need to perform the operation on that specific iterator */ - guard let peerListIterator = peerListIterators["uid"] + guard let peerListIterator = peerListIterators[uid] else{ HMSErrorLogger.returnHMSException(#function, "No peerListIterator with given uid found", "NULL Error", result) return @@ -130,7 +130,7 @@ class HMSPeerListIteratorAction{ * Here we find the iterator with [uid] passed from flutter channel * Since we need to perform the operation on that specific iterator */ - guard let peerListIterator = peerListIterators["uid"] + guard let peerListIterator = peerListIterators[uid] else{ HMSErrorLogger.returnHMSException(#function, "No peerListIterator with given uid found", "NULL Error", result) return