Skip to content

Commit 4a4b1f5

Browse files
committed
Implement Rooms API for iOS
Signed-off-by: Mohtasim <mbellah@microsoft.com>
1 parent e61bb33 commit 4a4b1f5

File tree

3 files changed

+16
-5
lines changed

3 files changed

+16
-5
lines changed

demo/ios/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ end
2727

2828
target 'demo' do
2929
use_frameworks!
30-
pod 'AzureCommunicationUICalling', '1.8.0'
30+
pod 'AzureCommunicationUICalling', '1.9.0'
3131
config = use_native_modules!
3232

3333
# Flags change depending on the env values.

demo/ios/Podfile.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ PODS:
22
- AzureCommunicationCalling (2.11.0):
33
- AzureCommunicationCommon (~> 1.0)
44
- AzureCommunicationCommon (1.2.0)
5-
- AzureCommunicationUICalling (1.8.0):
5+
- AzureCommunicationUICalling (1.9.0):
66
- AzureCommunicationCalling (= 2.11.0)
77
- AzureCore (= 1.0.0-beta.15)
88
- MicrosoftFluentUI/ActivityIndicator_ios (= 0.10.0)
@@ -485,7 +485,7 @@ PODS:
485485
- Yoga (1.14.0)
486486

487487
DEPENDENCIES:
488-
- AzureCommunicationUICalling (= 1.8.0)
488+
- AzureCommunicationUICalling (= 1.9.0)
489489
- boost (from `../node_modules/react-native/third-party-podspecs/boost.podspec`)
490490
- DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
491491
- FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`)
@@ -631,7 +631,7 @@ EXTERNAL SOURCES:
631631
SPEC CHECKSUMS:
632632
AzureCommunicationCalling: 35bebb366c5d423bacdd43550df35c9d89d25235
633633
AzureCommunicationCommon: 130a21be2be889f83dc4adbf994af6285f962de8
634-
AzureCommunicationUICalling: 9f2151de8c0c0f85cbf6e7a01519608d596034a2
634+
AzureCommunicationUICalling: d573f8ceb6f7c53cc3a437d9e67f3f93eaaabc78
635635
AzureCore: ebbf7cf4dfe72afc7584088c38d1c99f5a35d647
636636
boost: 7dcd2de282d72e344012f7d6564d024930a6a440
637637
DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54
@@ -680,6 +680,6 @@ SPEC CHECKSUMS:
680680
SocketRocket: f32cd54efbe0f095c4d7594881e52619cfe80b17
681681
Yoga: c32e0be1a17f8f1f0e633a3122f7666441f52c82
682682

683-
PODFILE CHECKSUM: c9c5eb9f72d6f83c75fe7b41c95d74b24d0d393e
683+
PODFILE CHECKSUM: 2898fca038640016314fa7636bbf89c933b38e48
684684

685685
COCOAPODS: 1.15.2

demo/ios/RNAzureCommunicationUICalling.swift

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,8 @@ class RNAzureCommunicationUICalling: RCTEventEmitter {
208208
}
209209
resolve(nil)
210210
}
211+
212+
211213

212214
private func getTokenCredential(tokenInput: String) throws -> CommunicationTokenCredential {
213215
if let url = URL(string: tokenInput),
@@ -229,6 +231,15 @@ class RNAzureCommunicationUICalling: RCTEventEmitter {
229231
}
230232
}
231233

234+
private func isRoomsCall(meetingInput: String) -> Bool {
235+
for ch in meetingInput {
236+
if !(ch >= "0" && ch <= "9") {
237+
return false
238+
}
239+
}
240+
return true
241+
}
242+
232243
private func getCommunicationToken(tokenUrl: URL) -> TokenRefresher {
233244
return { [weak self] completionHandler in
234245
self?.tokenRefresherHandler = completionHandler

0 commit comments

Comments
 (0)