Adding Flurry in the alertView

不想你离开。 提交于 2020-01-03 05:09:32

问题


I have added a Flurry logevent when the ok button of the alertView is clicked.

- (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex;
{
    if (buttonIndex == 1) 
    {
        NSString *start = @"Start";
        NSString* myLogEvent = [start stringByAppendingString:title.text];
        NSLog(@"%@",myLogEvent);
        [Flurry logEvent:myLogEvent];
    }
}

I have logged the event like 2 hours ago. It is still not appearing in my Flurry Login Page. Did i do something wrong?

I know the analytics takes time to appear but the event name should appear in the login page after 45 minutes or so. Am i right? Worried I did something wrong..


回答1:


Usage data from Flurry may take up to 7 hours to get reflected on the developer portal. First time Events may take slightly longer.

Edit: If you're using the simulator, please ensure that you press the home button before closing the app. This is required in order to complete the Flurry reporting lifecycle.

(Full disclosure: I work in the Support team at Flurry)




回答2:


Flurry proved to work for me including events, so it should work for you, too. I'd check with the debugger that the Flurry session was started ([Flurry startSession:@"YOUR_API_KEY"]) and your event code got really executed. And that you have internet connection, otherwise all events will get saved locally and transfered to Flurry on the next occasion.

Than wait some more, it takes time at times for the analytics results to show...



来源:https://stackoverflow.com/questions/14473814/adding-flurry-in-the-alertview

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!