public static void ApplicationLaunching(AdjustConfig adjustConfig)
{
AdjustInstance.ApplicationLaunching(adjustConfig, DeviceUtil);
try
{
Window.Current.CoreWindow.VisibilityChanged += VisibilityChanged;
}
catch (Exception)
{
AdjustFactory.Logger.Debug("Not possible to detect automatically if the app goes to the background");
}
}