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.

  1. clone github.com/pubnub/c-sharp repo
  2. open c-sharp/monotouch/PubnubMessaging/PubnubMessaging.Core.csproj in Xamarin Studio
  3. add Json.NET package (Newtonsoft.Json) from NuGet
  4. 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

  1. Create a new Xamarin iOS app, e.g. Single View App
  2. Add RingCentral package from Official NuGet Gallery
  3. Add PubnubMessaging.dll reference by editing .NET Assembly and adding the DLL from previous step

Start Coding

  1. Add the following to your code:
using RingCentral;
using RingCentral.Subscription; // if using subscriptions

Notes

  1. To run your simulator, you may need to set the target device to an actual device vs iOS Device