Ejemplo n.º 1
0
    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);
     }
 }
Ejemplo n.º 3
0
 public override void OnEnter()
 {
     if (string.IsNullOrEmpty(GleyNotifications.AppWasOpenFromNotification()))
     {
         Fsm.Event(FsmEventTarget.Self, no);
     }
     else
     {
         Fsm.Event(FsmEventTarget.Self, yes);
     }
     Finish();
 }