Ejemplo n.º 1
0
        void NavigateUponNotificationIntent(Intent intent)
        {
            if (intent?.Extras?.Size() > 0)
            {
                Log.Debug(TAG, "Received extras in onNewIntent()");

                foreach (var key in intent.Extras.KeySet())
                {
                    if (key != null)
                    {
                        Log.Debug(TAG, "Key: {0} Value: {1}", key, intent.Extras.GetString(key));
                        if (key == "tweetUrl")
                        {
                            _NotificationNavigationService.OnNotificationReceived();
                        }
                    }
                }
            }
        }
Ejemplo n.º 2
0
 public void DidReceiveNotificationResponse(UNUserNotificationCenter center, UNNotificationResponse response, Action completionHandler)
 {
     _NotificationNavigationService.OnNotificationReceived();
 }