The following binding are for the Intercom SDK.
Documentation for using the library inside an iOS project can be found here.
The source for the SDK can be found here.
The bindings were generated for the version 17.0.3 and requires XCode >= 15.
Add the flowing packages to the iOS csproj:
<PackageReference Condition="'$(Configuration)|$(Platform)' != 'Debug|iPhoneSimulator'" Include="BarengoEngineering.Intercom.iOS" Version="17.0.3.0" />
<PackageReference Condition="'$(Configuration)|$(Platform)' == 'Debug|iPhoneSimulator'" Include="BarengoEngineering.Intercom.iOS.Simulator" Version="17.0.3.0" />
Add a reference to the following package:
using BarengoEngineering.Intercom;
Clean, restore nuget packages and Build for every change of Run configuration to remove Intercom Simulator/Device binaries
If you encounter issues building, deploying or running add this to the csproj
<Registrar>static</Registrar>
When installing Intercom, you'll need to make sure that you have a NSPhotoLibraryUsageDescription
entry in your Info.plist
.
This is required by Apple for all apps that access the photo library. It is necessary when installing Intercom due to the image upload functionality. Users will be prompted for the photo library permission only when they tap the image upload button.
Please consult BREAKING_CHANGES.md for more information about migration.