private static void SendAppOpen() { if (!string.IsNullOrEmpty(AppState.PushNotificationId)) { string pushNotificationId = AppState.PushNotificationId; AppState.PushNotificationId = null; FMLogger.vCore("App open from push notif event " + pushNotificationId); AnalyticsManager.AppOpened(true, pushNotificationId, false); } else if (AppState.LocalNotificationLaunch) { AppState.LocalNotificationLaunch = false; FMLogger.vCore("App open from local notif event"); AnalyticsManager.AppOpened(false, string.Empty, true); } else { FMLogger.vCore("App open normal event"); AnalyticsManager.AppOpened(false, string.Empty, false); } }