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

Notifications on Android

$
0
0

Our application uses a background service on all three platforms to download updates for in-app updates, and I want to send notifications (Local Notifications) to the user about new content.

For this I'm using a BackgroundService with two BroadcastReceivers (one handles boot and package update, the other deals with battery watch and the custom Heart Beat event, on which it runs the background task). It works fine, it updates the content at the set period, BUT. It is set to launch a notification with an intent that should launch the main application - however, it never happens, tapping the notification does nothing.

What can be the issue here? Here is my code: https://gist.github.com/fonix232/abb1a3724a3e174e3a0c


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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