a guest Mar 19th, 2019 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- #import "FlurryUnityPlugin.h"
- //in UnityAppController.mm
- - (BOOL)application:(UIApplication*)application didFinishLaunchingWithOptions:(NSDictionary*)launchOptions
- ::printf("-> applicationDidFinishLaunching()\n");
- FlurryUnityPlugin* sharedInstance = [FlurryUnityPlugin shared];
- [sharedInstance setupFlurryAutoMessaging];
- [Flurry setDelegate:(id <FlurryDelegate>) sharedInstance];
- //Ensure that each parameter corresponds to those set in the builder in your CSharp script
- FlurrySessionBuilder* builder = [[[[[FlurrySessionBuilder new]
- [Flurry startSession:@"FLURRY_API_KEY" withSessionBuilder:builder];
RAW Paste Data