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(); } } } } }
public void DidReceiveNotificationResponse(UNUserNotificationCenter center, UNNotificationResponse response, Action completionHandler) { _NotificationNavigationService.OnNotificationReceived(); }