Kiran Jasvanee
Kiran Jasvanee

Reputation: 6554

IOS Twilio IP Messaging initial integration steps

I have been exploring twilio for 2 days and I have been unable to see some important points on their documentation https://www.twilio.com/docs/api/ip-messaging/guides/identity, which is required to integrate twilio ip messaging in iOS.

What pod name is required to install twilio ip messaging service on iOS?
What are the other iOS in-built frameworks libraries requires to integrate for twilio?
or what are the other initial steps requires to startup with twilio ip messaging service in iOS?

I prefer the answer of this question will help me and many others in initial integration of twilio ip messaging service in iOS.

Thanks in advance.

Upvotes: 1

Views: 547

Answers (2)

Nick Wood
Nick Wood

Reputation: 680

They forget the key element in the guidelines... in your bridging header add...

#import <TwilioIPMessagingClient/TwilioIPMessagingClient.h>

Upvotes: 1

Badal Shah
Badal Shah

Reputation: 7602

As i cover your questions :

1) what pod name is required to install twilio ip messaging service on ios?

Ans:- As said in twillio official documents in This link,

-For IP Messaging Client you need to download it from below link.

Download the IP Messaging Client framework

-And you need some common framework to startup with twilio

Download the Twilio Common framework

Dont forget to include libstdc++.tbd in Linkedframeworks and Library section.

enter image description here

If you want to Download through cocoapods then, (use cocoapods preferable by me) for whole SDK Twilio sdk or as per your question

1) pod 'TwilioIPMessagingClient', :podspec => 'https://media.twiliocdn.com/sdk/rtc/ios/ip-messaging/v0.13/TwilioIPMessagingClient.podspec'
2) pod 'TwilioCommon', :podspec => 'https://media.twiliocdn.com/sdk/ios/common/v0.2/TwilioCommon.podspec'

Note:- Currently i have provided download link but please download framework from twilio sdk link for updated version

2) what are the other ios in-built frameworks libraries requires to integrate for twilio?

Ans:- Twilio has provided all the framework which needed to impliment it. and regarding some inbuilt library , integrate default helpful libraries like , AVFoundation , Audio toolbox etc. They have already provide image in their blog.

enter image description here

3) what are the other initial steps requires to startup with twilio ip messaging service in ios?

Ans:- For initial startup and .plist entry please follow installing-twilio-client-for-ios-using-cocoapods

My suggestion is install it through cocoapods , it is good for dependency. so, you will not get headersearchpath related error or headerfile missing error etc.

and last but not the least,

Now you can start with importing file in your project as said in www.twilio.com.

Note:- In below link they have describe all the detail regarding which file you want to import or etc.

On the left side,

1) Server Setup

2) make-outgoing-call

3) hang-up-call

4) Connect /twilio-application

5) passing-parameters

6) Receiving Incoming calls

7) Making Calls in/out of your App

I hope this information is enough for you to startup with twilio.

Upvotes: 9

Related Questions