Skip to content

ATMLGG/RRAnalyzeManager

Repository files navigation

RRAnalyzeManager

AF/FB/Firbase/友盟打点集成,屏幕追踪

    pod 'RRAnalyzeManager', '~> 1.0.5'(UMemg版本6.0.0以下使用1.0.4)

使用方法:

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    // Override point for customization after application launch.

    //UMeng
    [RRAnalyzeManager initUMengWithAppkey:@"" andChannel:@"" andScenarioType:E_UM_NORMAL];

    //FB
    [RRAnalyzeManager initFacebookWithApplication:application andLaunchOptions:launchOptions];

    //Firbase
    [RRAnalyzeManager initFirebaseWithNothing];

    //AppsFlyer
    [RRAnalyzeManager initAppsFlyerWithAppsFlyerDevKey:@"" andAppleAppID:@""];


    [RRAnalyzeManager shareManager].trackPattern = AnalyzePatternDebug;
    [RRAnalyzeManager shareManager].trackDictionary = @{
                                                        @"ViewController":@"showViewController",
                                                        @"OtherViewController":@"showOtherVC"
                                                        };

    [RRAnalyzeManager trackEvent:@"123"];
    [RRAnalyzeManager trackEvent:@"withValue" value:@{
                                                        @"userName":@"yyj"
                                                        }];

    return YES;
}

- (void)applicationDidBecomeActive:(UIApplication *)application {
    // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.

    [RRAnalyzeManager activeTrack];
}

About

AF/FB/Firbase/友盟打点集成,屏幕追踪

Resources

License

Stars

Watchers

Forks

Packages

No packages published