首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >分析事件未出现

分析事件未出现
EN

Stack Overflow用户
提问于 2017-05-29 17:49:36
回答 1查看 4.8K关注 0票数 3

我把Firebase插件放在我的联合应用程序中,一切都很好(Android版本)。我试过使用iOS版本,但它没有记录事件。我知道这些事件需要几个小时才能出现,但它们不是在1天后出现,也不是在调试模式下出现的。

对于调试模式,我放置了"-FIRAnalyticsDebugEnabled“参数,就像教程(console)一样。在另一个站点(id=ad)上,我意识到还有另一个论点"-FIRDebugEnabled“。我两次都试过了,但没有人记录我的事件。

我注意到的另一件事是,我在Firebase网站上下载的“GoogleServiceInfo.plist”文件带有变量"IS_ANALYTICS_ENABLED“= false。它在教程(https://firebase.google.com/docs/analytics/unity/start?hl=pt-br)中什么都没有说,但我把它说成是真的。

我做错了什么吗?

编辑(日志):

代码语言:javascript
运行
复制
2017-05-29 12:54:41.638343 brincando[22620:5072036] [Firebase/Analytics][I-ACS023105] Event is not subject to real-time event count daily limit. Marking an event as real-time. Event name, parameters: 
post_score, 
{     
    firebase_screen_id (_si) = -396951154609863799;     
    score = 42;     
    firebase_screen_class (_sc) = UnityDefaultViewController;     
    firebase_realtime (_r) = 1;     
    firebase_debug (_dbg) = 1;     
    firebase_event_origin (_o) = app; 
} 
2017-05-29 12:54:41.640 brincando[22620] <Debug> [Firebase/Analytics][I-ACS023105] Event is not subject to real-time event count daily limit. Marking an event as real-time. Event name, parameters: 
post_score, 
{       
    firebase_screen_id (_si) = -396951154609863799;         
    score = 42;         
    firebase_screen_class (_sc) = UnityDefaultViewController;       
    firebase_realtime (_r) = 1;         
    firebase_debug (_dbg) = 1;      
    firebase_event_origin (_o) = app;   
} 

2017-05-29 12:54:41.646107 brincando[22620:5072192] [Firebase/Analytics][I-ACS012018] Saving bundle. size (bytes): 415 
2017-05-29 12:54:41.648 brincando[22620] <Debug> [Firebase/Analytics][I-ACS012018] Saving bundle. size (bytes): 415 

2017-05-29 12:54:41.657411 brincando[22620:5072026] [Firebase/Analytics][I-ACS023116] Bundle added to the upload queue. BundleID, timestamp (ms): 13, 1496073280620 
2017-05-29 12:54:41.658 brincando[22620] <Debug> [Firebase/Analytics][I-ACS023116] Bundle added to the upload queue. BundleID, timestamp (ms): 13, 1496073280620 

2017-05-29 12:54:41.678965 brincando[22620:5072026] [Firebase/Analytics][I-ACS023038] Uploading events. Elapsed time since last successful upload (s): 21.54594898223877 
2017-05-29 12:54:41.679 brincando[22620] <Debug> [Firebase/Analytics][I-ACS023038] Uploading events. Elapsed time since last successful upload (s): 21.54594898223877 

2017-05-29 12:54:41.681181 brincando[22620:5072026] [Firebase/Analytics][I-ACS023039] Measurement data sent to network. Timestamp (ms), data: 1496073281675, <FIRAPBMeasurementBatch: 0x170016af0> 
2017-05-29 12:54:41.681 brincando[22620] <Debug> [Firebase/Analytics][I-ACS023039] Measurement data sent to network. Timestamp (ms), data: 1496073281675, <FIRAPBMeasurementBatch: 0x170016af0> 

2017-05-29 12:54:41.690525 brincando[22620:5072050] [Firebase/Analytics][I-ACS900000] Uploading data. Host: https://app-measurement.com/a 
2017-05-29 12:54:41.690 brincando[22620] <Debug> [Firebase/Analytics][I-ACS900000] Uploading data. Host: https://app-measurement.com/a 

2017-05-29 12:54:41.747085 brincando[22620:5072192] [Firebase/Analytics][I-ACS901006] Received SSL challenge for host. Host: https://app-measurement.com/a 
2017-05-29 12:54:41.747 brincando[22620] <Debug> [Firebase/Analytics][I-ACS901006] Received SSL challenge for host. Host: https://app-measurement.com/a 

2017-05-29 12:54:41.849945 brincando[22620:5072050] [Firebase/Analytics][I-ACS023044] Successful upload. Got network response. Code, size: 204, 0 
2017-05-29 12:54:41.850 brincando[22620] <Debug> [Firebase/Analytics][I-ACS023044] Successful upload. Got network response. Code, size: 204, 0 

2017-05-29 12:54:41.860015 brincando[22620:5072036] [Firebase/Analytics][I-ACS002002] Measurement timer scheduled to fire in approx. (s): -0.2379031181335449 
2017-05-29 12:54:41.860 brincando[22620] <Debug> [Firebase/Analytics][I-ACS002002] Measurement timer scheduled to fire in approx. (s): -0.2379031181335449 

2017-05-29 12:54:41.860374 brincando[22620:5072036] [Firebase/Analytics][I-ACS023028] Upload task scheduled to be executed in approx. (s): -0.2379031181335449 
2017-05-29 12:54:41.860 brincando[22620] <Debug> [Firebase/Analytics][I-ACS023028] Upload task scheduled to be executed in approx. (s): -0.2379031181335449 

2017-05-29 12:54:41.878356 brincando[22620:5072050] [Firebase/Analytics][I-ACS023024] No data to upload. Upload task will not be scheduled 
2017-05-29 12:54:41.878 brincando[22620] <Debug> [Firebase/Analytics][I-ACS023024] No data to upload. Upload task will not be scheduled 

2017-05-29 12:54:41.878814 brincando[22620:5072050] [Firebase/Analytics][I-ACS002003] Measurement timer canceled 
2017-05-29 12:54:41.880 brincando[22620] <Debug> [Firebase/Analytics][I-ACS002003] Measurement timer canceled
EN

回答 1

Stack Overflow用户

发布于 2020-02-21 14:19:57

这可能是一个迟来的答案,但我仔细检查了其他解决方案,但仍有类似的问题。

  • 确保所有事件参数都以值发送,而不是空的。
  • 启用"-FIRAnalyticsDebugEnabled“标志
  • 启用"-FIRDebugEnabled“标志
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/44248068

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档