Skip to content
This repository was archived by the owner on Jan 18, 2020. It is now read-only.

Commit 29ddea9

Browse files
Updates for Voice iOS 3.0.0 release (#164)
* Updates for Voice iOS 3.0.0 release * Mention versions in README
1 parent 6c86671 commit 29ddea9

File tree

5 files changed

+6
-7
lines changed

5 files changed

+6
-7
lines changed

Cartfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
github "twilio/twilio-voice-ios" "3.0.0-beta13"
1+
github "twilio/twilio-voice-ios" >= 3.0.0
22

ObjCVoiceCallKitQuickstart/ViewController.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ - (void)toggleAudioRoute:(BOOL)toSpeaker {
375375
// The mode set by the Voice SDK is "VoiceChat" so the default audio route is the built-in receiver. Use port override to switch the route.
376376
self.audioDevice.block = ^ {
377377
// We will execute `kDefaultAVAudioSessionConfigurationBlock` first.
378-
kDefaultAVAudioSessionConfigurationBlock();
378+
kTVODefaultAVAudioSessionConfigurationBlock();
379379

380380
// Overwrite the audio route
381381
AVAudioSession *session = [AVAudioSession sharedInstance];

ObjCVoiceQuickstart/ViewController.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ - (void)toggleAudioRoute:(BOOL)toSpeaker {
418418
TVODefaultAudioDevice *audioDevice = (TVODefaultAudioDevice *)TwilioVoice.audioDevice;
419419
audioDevice.block = ^ {
420420
// We will execute `kDefaultAVAudioSessionConfigurationBlock` first.
421-
kDefaultAVAudioSessionConfigurationBlock();
421+
kTVODefaultAVAudioSessionConfigurationBlock();
422422

423423
// Overwrite the audio route
424424
AVAudioSession *session = [AVAudioSession sharedInstance];

Podfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ source 'https://github.com/CocoaPods/Specs.git'
33
workspace 'ObjCVoiceQuickstart'
44

55
abstract_target 'TwilioVoice' do
6-
pod 'TwilioVoice', '3.0.0-beta13'
6+
pod 'TwilioVoice', '~> 3.0.0'
77

88
target 'ObjCVoiceQuickstart' do
99
platform :ios, '10.0'

README.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Twilio Voice Objective-C Quickstart for iOS
22

3-
> This is a beta release of the Programmable Voice 3.X SDK for iOS. This major version now uses WebRTC. APIs are unlikely to change. We recommend you look at known issues provided in the [changelog](https://www.twilio.com/docs/voice/voip-sdk/ios/3x-changelog).
4-
> To use a generally available version of the Programmable Voice SDKs for iOS please see the [master](https://github.com/twilio/video-quickstart-objc/tree/master) branch based on the 2.X APIs.
3+
> NOTE: These sample applications use the Twilio Voice 3.x APIs. For examples using our 2.x APIs, please see the 2.x branch.
54
65
## Get started with Voice on iOS:
76
* [Quickstart](#quickstart) - Run the quickstart app
@@ -316,7 +315,7 @@ Please ensure that after deleting the Push Credential you remove or replace the
316315
You can find more documentation on getting started as well as our latest AppleDoc below:
317316

318317
* [Getting Started](https://www.twilio.com/docs/api/voice-sdk/ios/getting-started)
319-
* [AppleDoc](https://media.twiliocdn.com/sdk/ios/voice/releases/3.0.0-beta13/docs)
318+
* [AppleDoc](https://media.twiliocdn.com/sdk/ios/voice/latest/docs)
320319

321320

322321
## Twilio Helper Libraries

0 commit comments

Comments
 (0)