Does Firebase Analytics Work Offline?

后端 未结 5 1561
悲&欢浪女
悲&欢浪女 2020-12-09 16:24

I know Firebase in general works offline, and syncs whenever an opportunity. Does the same thing apply to Firebase-Analytics for mobile (Android, iOS) apps?

If yes (

5条回答
  •  臣服心动
    2020-12-09 17:07

    Firebase Analytics will store logged evens locally on the device (online or offline). When its time to upload the data and the devices has network connection Firebase Analytics will batch the data in as fewer uploads as possible, compress it and attempt to upload the data.

    When the upload is successful the data is deleted from the device. When the upload fails a new attempt is scheduled with progressive back-off. If the device is offline the app will wait for connectivity before attempting upload.

    Data older than 72 hours will be ignored. There are safety limits on how much data can be stored on the device (to limit disk usage). Logging excessive data on device that is offline for long period of time might lead to data loss.

提交回复
热议问题