https://github.com/segment-integrations/analytics-ios-integration-intercom
Segment's Intercom Integration for Analytics-iOS.
https://github.com/segment-integrations/analytics-ios-integration-intercom
ios
Last synced: about 1 year ago
JSON representation
Segment's Intercom Integration for Analytics-iOS.
- Host: GitHub
- URL: https://github.com/segment-integrations/analytics-ios-integration-intercom
- Owner: segment-integrations
- License: mit
- Created: 2017-10-04T21:48:01.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-10-05T17:37:32.000Z (over 2 years ago)
- Last Synced: 2025-03-27T04:33:32.175Z (about 1 year ago)
- Topics: ios
- Language: Objective-C
- Size: 44.9 KB
- Stars: 2
- Watchers: 3
- Forks: 16
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Changelog: Changelog.md
- License: LICENSE
Awesome Lists containing this project
README
# Segment-Intercom
[](https://circleci.com/gh/segment-integrations/analytics-ios-integration-intercom)
[](http://cocoapods.org/pods/Segment-Intercom)
[](http://cocoapods.org/pods/Segment-Intercom)
[](http://cocoapods.org/pods/Segment-Intercom)
## Example
To run the example project, clone the repo, and run `pod install` from the Example directory first.
## Installation
Segment-Intercom is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:
```ruby
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](https://developer.apple.com/library/content/qa/qa1937/_index.html) 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.
## License
Segment-Intercom is available under the MIT license. See the LICENSE file for more info.