【问题标题】:Inactivity, disconnecting from AppMeasurementService不活动,与 AppMeasurementService 断开连接
【发布时间】:2016-12-10 04:19:45
【问题描述】:

我正在使用 firebase 进行分析和推送通知。

我在我的设备上收到推送通知,但分析未显示在 firebase 控制台中。在工作室的 logcat 中,它显示“不活动,与 AppMeasurementService 断开连接”。

当我尝试从事件状态使用以下命令时

adb shell setprop log.tag.FA VERBOSE
adb shell setprop log.tag.FA-SVC VERBOSE
adb logcat -v time -s FA FA-SVC

我收到来自终端的以下响应

Upload scheduled in approximately ms: 730280
08-04 12:30:51.751 V/FA-SVC  ( 4287): Background event processing time, ms: 26
08-04 12:30:56.686 V/FA      (19359): Inactivity, disconnecting from AppMeasurementService

请提出可能的错误/错误。

【问题讨论】:

  • 该日志消息似乎相当温和。是什么让您认为有问题?
  • 我的项目有同样的问题

标签: android firebase push-notification firebase-analytics


【解决方案1】:

我相信此消息是预期的。您可能需要等待几个小时才能在控制台中显示第一个数据。仔细检查您的集成(您的秘密、google-services.json 文件以及是否由插件加载等),以确保您没有在其他地方出错。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2017-02-04
    • 2017-12-24
    • 2018-02-15
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多