Skip to content

Troubleshooting

This article provides several Xamarin troubleshooting scenarios.

Android

Push doesn’t appear after app is closed from task switcher

If you observe that push notifications no longer appear after the app is closed from the task switcher, your app is likely in Debug mode. Xamarin adds scaffolding in Debug mode that prevents apps from receiving push after their process is killed. If you run your app in Release Mode, you should see push even after the app is closed from the task switcher.

Custom notification factory not being set correctly

Custom notification factories (and all delegates) must extend Java.Lang.Object to work properly across the C# and Java divide. See Xamarin on implementing Java interfaces for more information.

HOW HELPFUL WAS THIS PAGE?
New Stuff!