Skip to content
This repository has been archived by the owner on Apr 18, 2019. It is now read-only.

diogot/Segment-Branch-iOS

 
 

Repository files navigation

Segment-Branch

Version License Platform

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

To install the Segment-Branch integration, simply add this line to your CocoaPods Podfile:

pod "Segment-Branch"

Usage

After adding the dependency, you must register the integration with our SDK. To do this, import the Branch integration in your AppDelegate:

#import <Segment-Branch/BNCBranchIntegrationFactory.h>

And add the following lines:

NSString *const SEGMENT_WRITE_KEY = @" ... ";
SEGAnalyticsConfiguration *config = [SEGAnalyticsConfiguration configurationWithWriteKey:SEGMENT_WRITE_KEY];

[config use:[BNCBranchIntegrationFactory instance]];

[SEGAnalytics setupWithConfiguration:config];

Author

Branch Metrics, [email protected]

License

Segment-Branch is available under the MIT license. See the LICENSE file for more info.

About

Branch integration for the Segment iOS library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 76.5%
  • Ruby 12.3%
  • Shell 11.2%