我在我的应用程序中设置了Firebase Analytics,并在调试日志中包含以下消息:
<FIRAnalytics/DEBUG> Timer scheduled to fire in approx. (s): 2122.100666046143 <FIRAnalytics/DEBUG> Upload task scheduled to be executed in approx. (s): 2122.100666046143因此,当此计时器结束或用户退出应用程序时,分析实际上会将数据发送到服务器。
有没有办法设置这个计时器值?
I've got Firebase Analytics set up in my application and has the following messages in debug log:
<FIRAnalytics/DEBUG> Timer scheduled to fire in approx. (s): 2122.100666046143 <FIRAnalytics/DEBUG> Upload task scheduled to be executed in approx. (s): 2122.100666046143So the analytics actually sends data to the server when this timer ends or the user quits the application.
Is there a way to set up this timer value?
最满意答案
您是正确的,Firebase Analytics会在计时器结束时(通常在每个小时内)或应用程序转到后台时将数据发送到服务器。 为了节省电量,Firebase Analytics尝试不会过于频繁地发送数据。 目前无法设置定时器来发送数据。
You are correct that Firebase Analytics will send data to the server when the timer ends (usually in every hour) or the app goes to background. To conserve battery, Firebase Analytics tries not to send data too often. There is currently no way to set up the timer to send data.
更多推荐
发布评论