Skip to content

Commit 915ee29

Browse files
committed
upgrade TwilioVoice to 6.3.0
1 parent f30ef15 commit 915ee29

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

RNTwilioClient.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Pod::Spec.new do |s|
1515
s.source = {:path => "./RNTwilioClient"}
1616

1717
s.dependency 'React'
18-
s.dependency 'TwilioVoice', '~> 5.5.1'
18+
s.dependency 'TwilioVoice', '6.3.0'
1919
s.dependency 'TwilioChatClient', '~> 2.6.6'
2020

2121
s.xcconfig = {'FRAMEWORK_SEARCH_PATHS' => '${PODS_ROOT}/TwilioVoice' '${PODS_ROOT}/TwilioChatClient'}

ios/RNTwilioClient/RNTwilioVoice.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ - (dispatch_queue_t)methodQueue {
100100

101101
RCT_EXPORT_METHOD(connect: (NSDictionary *)params nts: (NSArray *)iceServers andToken: (NSString *) token) {
102102
NSLog(@"[IIMobile - RNTwilioVoice][connect] Calling phone number %@", [params valueForKey:@"To"]);
103-
NSLog(@"[IIMobile - RNTwilioVoice][connect] edge: %@", TwilioVoice.edge);
103+
NSLog(@"[IIMobile - RNTwilioVoice][connect] edge: %@", TwilioVoiceSDK.edge);
104104
_token = token;
105105
UIDevice *device = [UIDevice currentDevice];
106106
device.proximityMonitoringEnabled = YES;
@@ -198,7 +198,7 @@ - (dispatch_queue_t)methodQueue {
198198

199199
RCT_EXPORT_METHOD(setEdge:(NSString *) edge) {
200200
NSLog(@"[IIMobile - RNTwilioVoice] setEdge(%@)", edge);
201-
TwilioVoice.edge = edge;
201+
TwilioVoiceSDK.edge = edge;
202202
}
203203

204204
- (void)configureCallKit {
@@ -817,7 +817,7 @@ - (void)performVoiceCallWithUUID:(NSUUID *)uuid
817817
}];
818818
}
819819

820-
self.call = [TwilioVoice connectWithOptions:options delegate:self];
820+
self.call = [TwilioVoiceSDK connectWithOptions:options delegate:self];
821821
self.callKitCompletionCallback = completionHandler;
822822
}
823823
}

0 commit comments

Comments
 (0)