Ian Vink
Ian Vink

Reputation: 68800

MonoTouch: Flurry Analytics

Using the new http://Xamarin.com wrapped assembly for Flurry (thank you Xamarin) I am porting my apps that used the old binding to the new one.

Where do I set the Flurry API Key for the app?

enter image description here

Upvotes: 2

Views: 1156

Answers (1)

Anuj
Anuj

Reputation: 3134

The API key is set in the FinishedLaunching method in the AppDelegate, and should be called before any of the rest of the delegate code:

public override bool FinishedLaunching(UIApplication app, NSDictionary options)
{
    FlurryAnalytics.StartSession("YOUR_API_KEY");

    //
    //your code goes here...
    //
}

Check out the sample for some decent coverage of the API usage: https://github.com/mono/monotouch-bindings/tree/master/FlurryAnalytics/sample

Upvotes: 3

Related Questions