If you are running Highlight in Electron, you can benefit from the additional functionality that tracks main process window events to stop and start Highlight recording when your app is minimized.
Please ensure you are using Highlight SDK version firstname.lastname@example.org. Call
configureElectronHighlight with a
BrowserWindow object to instrument Electron events.
Under the hood, the function will forward the
blur events to your renderer process so that the highlight recording SDK can track them.
This will stop all highlight recording when the app is not visible and resume the session when the app regains visibility to help minimize performance and battery impact that Highlight may have on Electron users.