简体   繁体   English

iOS BugSense集成问题

[英]iOS BugSense Integration Issue

The BugSense SDK integrated in my APp is latest & is 3.6. 我的APp中集成的BugSense SDK是最新版本,为3.6。 Here is the sample code to initialize bugsense in application:didFinishLaunchingWithOptions method. 这是在application:didFinishLaunchingWithOptions方法中初始化错误检测的示例代码。

[BugSenseController sharedControllerWithBugSenseAPIKey:@"YOUR-API-KEY" 
                    userDictionary:nil 
                    sendImmediately:YES];

The BugSense dashboard indicates that new sessions are being created in the 'insights' section. BugSense仪表板指示“见解”部分中正在创建新的会话。

会议

However, sessions & unique users indicated in the header do not increase, neither are crashes being reported. 但是,标题中指示的会话和唯一用户不会增加,也不会报告崩溃。

会议

I have added a manual crash in app, by calling a method after 20 seconds. 我在20秒后通过调用方法在应用程序中添加了手动崩溃。

 NSArray *myArray = @[[NSNull null], [NSNull null], [NSNull null], 
                      [NSNull null], [NSNull null]];
NSLog(@"%@", myArray[98]);

I am testing by archiving the build & using iTunes to sync the build instead of running directly on device. 我正在通过存档构建并使用iTunes同步构建而不是直接在设备上运行来进行测试。

Are you using free version of the bugsense? 您是否在使用免费版本的Bugsense?

I am using paid version of the bugsense (Indie). 我使用的是Bugsense(独立)的付费版本。 Free version only has 7-days data retention while Indie version has 30-days data retention. 免费版只有7天的数据保留,而独立版只有30天的数据保留。 I just checked my bugsense and I calculated the number. 我刚刚检查了我的错误,然后计算了这个数字。 Both the header and also the dashboard have almost equal number of sessions. 标头和仪表板的会话数几乎相等。

I believe that the number of session on header (on your account) is based on sessions within the last 7 days. 我认为(您帐户上)标头上的会话数基于最近7天内的会话数。 But the number of my session is based on the last 30 days. 但是我的会话数基于最近30天。

But, the session under the dashboard is based on 30 days period. 但是,仪表板下的会话基于30天。 Therefore, your number of session does not add up. 因此,您的会话数不会相加。 But, my app sessions is almost the same. 但是,我的应用会话几乎相同。 I can not 100% confirm on this. 我无法100%确认。 If you want to confirm 100%, I think you may ask the bugsense support on the number. 如果您想确认100%,我想您可能会要求该号码提供错误的支持。

在此处输入图片说明

Well, I tried everything I could, compared configurations to another project, tried custom exception handlers but nothing worked. 好吧,我尝试了一切可能,将配置与另一个项目进行了比较,尝试了自定义异常处理程序,但没有任何效果。 In the end, I had to recreate the whole project and add files again. 最后,我不得不重新创建整个项目并再次添加文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM