Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Firebase Analytics Work Offline?

Tags:

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 (or partially yes) - how long can the user be offline?

like image 202
Ronen Rabinovici Avatar asked Jun 23 '16 06:06

Ronen Rabinovici


People also ask

Does Firebase Analytics use location?

Google Analytics — If you enable Google Analytics in your Firebase project, you're prompted to select an Analytics reporting location. This location represents the country or region of your organization. Your Analytics location, in turn, sets the currency for revenue reporting.

Is Firebase Analytics real time?

With StreamView you can find out if a brand new feature is as well-received as you were hoping, watch the roll-out of the latest version of your app, or gauge the response to your latest re-engagement efforts - all in real-time as events are received by Firebase Analytics.

Is Firebase Analytics same as Google Analytics?

Google analytics also supported mobile analytics though android and IOS sdk's which sent Screen hits to google analytics. There was a difference between Mobile and web google analytics accounts. Firebase is a platform developed by Google for creating mobile and web applications.

Is firestore offline?

When you initialize Firestore, you can enable or disable offline persistence: For Android and Apple platforms, offline persistence is enabled by default.


2 Answers

Yes, events are stored locally and uploaded when the radio is turned on. Events which arrive more than 72 hours late will be ignored by our server.

like image 185
Steve Ganem Avatar answered Sep 19 '22 12:09

Steve Ganem


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.

like image 24
djabi Avatar answered Sep 20 '22 12:09

djabi