Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Notification Tap not working when app is in foreground

$
0
0

I have developed FCM notification in app. Everything is working file except if app is in foreground/background, In this state if notifications coming
When i tap that notification it is opening App, here i want to redirect to notification screen, can anyone help me out how to do that.

public override void DidReceiveRemoteNotification(UIApplication application, NSDictionary userInfo, ActioncompletionHandler)

    {

        if (UIApplication.SharedApplication.ApplicationState.Equals(UIApplicationState.Active))
        {
            //App is in foreground
        }
    }

Best regards,
Srinivas Ch.


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>