This will cause us to call metricsLogger.flush() automatically when the app resigns foreground (ie. the user switches away from it). Before, clients had to do this manually.
Listen for a notification when resigning foreground and flush when this notification occurs.
This will cause us to call
metricsLogger.flush()
automatically when the app resigns foreground (ie. the user switches away from it). Before, clients had to do this manually.ClientConfig
setting for this behavior.