mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-14 18:54:52 +00:00
450944af20
This adds a tracking interceptor to `default-interceptors` that replaces the old `add-post-event-callback` hook. The interceptor gets the required data from app-db to know if it's online and passes that to a new mixpanel tracking fn that queues up tracking events, and drains that queue iff the app is online again. Signed-off-by: Julien Eluard <julien.eluard@gmail.com>