Installation using Xamarin.iOS
This covers installation of the RingCentral SDK and PubNub dependency for making event subscriptions. Both packages are hosted on NuGet as follows:
Build PubNub Messaging DLL
The following steps will compile the required libraries.
- clone
github.com/pubnub/c-sharp
repo - open
c-sharp/monotouch/PubnubMessaging/PubnubMessaging.Core.csproj
in Xamarin Studio - add Json.NET package (Newtonsoft.Json) from NuGet
- Build All (⌘B)
This builds the following in c-sharp/monotouch/PubnubMessaging/bin/Release/
Newtonsoft.Json.dll
PubnubMessaging.dll
PubnubMessaging.dll.mdb
Create New RingCentral Xamarin iOS Solution
Perform the following steps to load RingCentral and PubNub
- Create a new Xamarin iOS app, e.g. Single View App
- Add
RingCentral
package from Official NuGet Gallery - Add
PubnubMessaging.dll
reference by editing.NET Assembly
and adding the DLL from previous step
Start Coding
- Add the following to your code:
using RingCentral;
using RingCentral.Subscription; // if using subscriptions
Notes
- To run your simulator, you may need to set the target device to an actual device vs
iOS Device