private void Start() { GleyNotifications.Initialize(); if (GleyNotifications.AppWasOpenFromNotification() != null) { AppMetricaManager.SendOpenFromPushNotification(); } }
// Code implementing the effect of the action protected override void OnExecute() { base.OnExecute(); if (string.IsNullOrEmpty(GleyNotifications.AppWasOpenFromNotification())) { _output.SetValue(false); } else { _output.SetValue(true); } }
public override void OnEnter() { if (string.IsNullOrEmpty(GleyNotifications.AppWasOpenFromNotification())) { Fsm.Event(FsmEventTarget.Self, no); } else { Fsm.Event(FsmEventTarget.Self, yes); } Finish(); }