如何使用 Firebase Analytics 了解 'At what time app is being used'

How to know 'At what time app is being used' using Firebase Analytics

我在我的应用程序中使用 firebase 分析进行分析。但是,我不知道如何知道一天中或多或少使用应用程序的时间间隔。

您可以将 "hour" 的自定义事件记录为 属性。

不要忘记使用 DateComponentsFormatter 查找本地时间而不是提取 UTC 日期。