Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Xamarin android custom push notification not being received when app is killed

$
0
0

got an issue where i have this setup fully working so far:

1) created azure notification hub and setup both ios apn and firebase fcm 2) added code to xamarin forms app in ios and android to receive a custom push notification using a template. 3) template version works 100% on ios (killed app, background and foreground) when it comes to receiving notification. 4) on xamarin android got both foreground and back ground working picking up custom push notification and processing it.

Issue: I cannot get xamarin android to show (in the tray) or even associate the custom push notification with my app. This is my issue and I cannot find any way to do this? any help guys is much appreciated.

my custom template:

string templateBodyAPNS = "{"data":{"message":"$(titleParam)","name":"$(bodyParam)","image":"$(imageParam)","url":"$(urlParam)"}}";

(note: i've removed the \" in the above code to make it more readable)

works fine in all scenarios except I get not a thing when the android app is killed.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



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