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

How to go to SPECIFIC PAGE when user clicks on Push Notification

$
0
0

I have a Xamarin.Forms app (XF 1.3.4) that uses Azure Messaging to connect with GCM and APNS. The app works great - the app registers for push notifications, and push notifications are received successfully from Azure Notification Hubs on iOS and Android.

My question - how do I get my app to launch into or display a specific page when the user taps on a push notification, (1) when the app isn't running, AND (2) when the app is already running???

I've seen this question asked a few times in the forums, but I haven't seen a cohesive/detailed response yet.

Can someone please provide an answer with source code, or point me to a solution online that explicitly shows how to pass data from a push notification, through the platform-specific code, to the PCL code? ALSO, I don't want or need to integrate with another plugin (Push Notifications Plugin or otherwise) - I have push notifications working, I just need to make them content-aware.

Thanks!


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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