public void LogNotificationParams() { if (AGNotificationManager.IsAppOpenedViaNotification) { var text = string.Format("App was opened via notification with parameters: {0}, {1}", AGNotificationManager.GetNotificationParameter(ParamKeyId), AGNotificationManager.GetNotificationParameter(ParamKeyDate)); _resultText.text = text; Debug.Log(text); } else { _resultText.text = "App was not open via notification"; } }