Android and iOS
Mixpanel’s mobile SDKs have built-in functionality that queues offline Events and User updates. The mobile libraries were built to handle offline activity, so Mixpanel timestamps the Events, and Android and iOS devices that do not have internet connection continue to collect data locally. Once the app regains connectivity, the data will be flushed to your Mixpanel project. The offline events, up to 5 days old, will be added to your project.
In other words, as long you’re using either the Mixpanel iOS or Android SDK and the offline app regains connectivity within five days of performing Events, those Events will successfully get sent over to Mixpanel as expected.
If you expect users to be offline for more than five days
While uncommon, some Mixpanel customers have apps where they expect users to be offline without an internet connection for more than five days. In this case, we recommend sending Events to the import API for data older than five days.
- Android: There is no limit imposed by Mixpanel, but Mixpanel will clear the queue when the device runs out of memory.
- Objective-C & Swift: Limited to 5000 events.