To run the example project, clone the repo, and run pod install
from the Example directory first.
Segment-Intercom is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'Segment-Intercom'
After adding the dependency, you must import the integration: 'SEGIntercomIntegrationFactory.h'
. And finally, register it with the Segment SDK: [configuration use:[SEGIntercomIntegrationFactory instance]];
.
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.
Segment-Intercom is available under the MIT license. See the LICENSE file for more info.