1.2.2 could crash on earlier Android devices when starting foreground service because the foregroundServiceType parameter is not known by some of the earlier operating systems such as Android Pie on Huawei P10.
I tested it on Xamarin.Forms and it causes crashes immediately on Android Pie and maybe on another operating system too. Should change when we are lower system version than Android 12:
StartForeground(notificationId, notification);
1.2.2 could crash on earlier Android devices when starting foreground service because the foregroundServiceType parameter is not known by some of the earlier operating systems such as Android Pie on Huawei P10.
https://github.com/Baseflow/XamarinMediaManager/blob/7f72e5b723e0fba418700bfa195a02db17f2433a/MediaManager/Platforms/Android/MediaSession/MediaBrowserService.cs#L144
I tested it on Xamarin.Forms and it causes crashes immediately on Android Pie and maybe on another operating system too. Should change when we are lower system version than Android 12:
StartForeground(notificationId, notification);