-
-
Save flurrydev/d3351c757b41944d04609038439d4992 to your computer and use it in GitHub Desktop.
Initialize Flurry long form swift
This file contains 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
import Flurry_iOS_SDK //this is only needed if the libraries were obtained using CocoaPods | |
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { | |
let sb = FlurrySessionBuilder() | |
.build(logLevel: FlurryLogLevel.all) | |
.build(crashReportingEnabled: true) | |
.build(appVersion: "1.0") | |
.build(iapReportingEnabled: true) | |
Flurry.startSession(apiKey: "YOUR_API_KEY", sessionBuilder: sb) | |
return true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment