Track flipper crashes / restarts
Summary: In this diff we persist data about the state of the app when exiting, and to make sure we capture it in crashes, do that as part of track-usage events as well. with the exit data we also capture what kind of device and plugin the user was using, so that we can detect anomalies like flipper needing restarting more often for certain plugins during startup, we will always send an event how long it was since the last startup, including the above information Reviewed By: passy Differential Revision: D20515200 fbshipit-source-id: ead971e05542e0ef58ed5e5b204af70b51a15b9b
This commit is contained in:
committed by
Facebook GitHub Bot
parent
cfb82ad8c8
commit
ddf5df98c7
@@ -305,6 +305,7 @@ function tryCreateWindow() {
|
||||
});
|
||||
win.once('ready-to-show', () => win.show());
|
||||
win.once('close', () => {
|
||||
win.webContents.send('trackUsage');
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
// Removes as a default protocol for debug builds. Because even when the
|
||||
// production application is installed, and one tries to deeplink through
|
||||
|
||||
Reference in New Issue
Block a user