Please advice, I followed the tutorial and created Xamarin.Forms application to recieve FCM notifications.
It works perfectly when the app is running or backgrounded. If I force-close the app (e.g. press the Recent Apps button, and swipe away my app) and then send a push notification, the device shows this error message: "Unfortunately, [App_Name] has stopped".
According the tutorial :
If you force-close the app, FCM will stop delivering notifications. Android prevents background service broadcasts from inadvertently or unnecessarily launching components of stopped applications.
How to recieve FCM notifications when the app force-closed?
Thanks for your reply!