Last active
September 11, 2015 21:20
-
-
Save kineticac/1562ebe6690477e6d471 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { | |
let branch = Branch.getInstance() | |
branch.initSessionWithLaunchOptions(launchOptions, andRegisterDeepLinkHandler: { params, error in | |
if (error != nil) { | |
TrackingManager.track(eventName: "Branch failed", withProperties: ["errorMsg": error.localizedDescription, "code": "\(error.code)"], timed: false) | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment