1

I am using firebase analytics in my app for analysis. But, I am not getting how to know the time interval in a day at which time app is being used more or less.

KENdi
  • 7,576
  • 2
  • 16
  • 31
kchopda
  • 312
  • 4
  • 16

1 Answers1

2

You can log custom event with an "hour" as a property.

Don't forget to use DateComponentsFormatter to find local time rather than extracting UTC date.

Daniyar
  • 2,975
  • 2
  • 26
  • 39