Summary: Usage tracking comes from Electron's `main.tsx`. There's a timer that dispatches an IPC event every 60 seconds. This is all good for Electron builds. For non-electron builds, there's no such thing as IPC. So, react to the IPC event whenever necessary but also handle the interval internally such that usage is tracked independently of explicit callers. Reviewed By: antonk52 Differential Revision: D47053404 fbshipit-source-id: f17694e65eed18678b45a2e815813bafab69c3f1
flipper-ui-core (TBD)
Flipper's UI, agnostic of Electron vs Browser.