I implemented App Center push notifications in my MonoGame Android project and everything seems to work, because I receive the notifications on my Android device that I have sent from my App Center account. But in this tutorial, they mention that you should add this code to your Acitivity class if your LaunchMode is SingleInstance, but the code isn't working I get two error messages.
Tutorial: see Intercept push notifications, Additional setup
Is this code really necessary when you have an Android project without a splashscreen? Would it make a difference if I add a splashscreen to my project?
What is this code doing and how could I use it in a MonoGame Android project if it would be necessary?
protected override void OnNewIntent(Android.Content.Intent intent)
The type or namespace name 'Content' does not exist in the namespace (are you missing an assembly reference?)
'Activity1.OnNewIntent(Content.Intent)': no suitable method found to override (CS0115)
EDIT: It works with this code:
protected override void OnNewIntent(global::Android.Content.Intent intent)