protected override void OnCreate(Bundle savedInstanceState) { TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; base.SetTheme(Resource.Style.MainTheme); base.OnCreate(savedInstanceState); // Override WorkRequest configuration // Must be run before being scheduled with `ExposureNotification.Init()` in `App.OnInitialized()` var repeatInterval = TimeSpan.FromHours(6); Action <PeriodicWorkRequest.Builder> requestBuilder = b => b.SetConstraints(new Constraints.Builder() .SetRequiresBatteryNotLow(true) .SetRequiredNetworkType(NetworkType.Connected) .Build()); ExposureNotification.ConfigureBackgroundWorkRequest(repeatInterval, requestBuilder); Xamarin.Forms.Forms.SetFlags("RadioButton_Experimental"); Xamarin.Essentials.Platform.Init(this, savedInstanceState); Xamarin.Forms.Forms.Init(this, savedInstanceState); Xamarin.Forms.FormsMaterial.Init(this, savedInstanceState); FFImageLoading.Forms.Platform.CachedImageRenderer.Init(enableFastRenderer: true); global::FFImageLoading.ImageService.Instance.Initialize(new FFImageLoading.Config.Configuration()); UserDialogs.Init(this); //NotificationCenter.CreateNotificationChannel(); LoadApplication(new App()); //NotificationCenter.NotifyNotificationTapped(base.Intent); }