I wish to share a sample application that can help faster integration of CPaaS IOS SDK into your application using React Native. We need to create a react native bridge between IOS native code and Javascript to use CPaaS IOS SDK.
The sample app contains the following modules -
- Login
- SMS
- Chat
- Address book
- Presence
- Directory
Click here to get the sample app
Note :- Preferably use the master branch to clone the application.
Instructions to setup the app for IOS
- Open the project folder
kandy_sample_reactnative_ios
in terminal. - Run
npm install
that will add all the node packages required. - Then move to
ios
folder. - Run
pod install
that will add all the pods required. - Open
RibbonSample.xcworkspace
from Xcode or runreact-native run-ios
from terminal in root folder. - Build and deploy the app.
You will need login with your account clientId, email and password that you created at API marketplace.
To watch React Native IOS demo Video click here
For full Developer Documentation, Quickstarts and API reference code visit https://apimarket.att.com/developer.