The Foreground Background example in the xamarin.forms example has an exception
An exception occurs when running the official sample "ForegroundBackground", located in MainActivity.cs under "MessagingCenter.Send("app", "OnPause");" or "MessagingCenter.Send("app", "OnRestart ");", trouble to update the solution.