d11f0e46c0
clean up and fixes - Heute gefixt - Code Cleanup NotificationScheduleItemViewModel -fixed NotificationScheduleItemViewModel for Windows compat push implementation Push fixes Push benachrichtungen eingebaut - Status bei push - Push auch in background - Toggle für symtome angepasst push system change exporter update Optionen fix - Optionen aufgeteilt auf 3 tabs - Anpassungen haben jetzt Farbslider Optimierung fix
19 lines
522 B
C#
19 lines
522 B
C#
using Android;
|
|
|
|
namespace cfs_tracker.Platforms.Android;
|
|
|
|
public class NotificationPermission : Permissions.BasePlatformPermission
|
|
{
|
|
public override (string androidPermission, bool isRuntime)[] RequiredPermissions
|
|
{
|
|
get
|
|
{
|
|
var result = new List<(string androidPermission, bool isRuntime)>();
|
|
|
|
if (OperatingSystem.IsAndroidVersionAtLeast(33))
|
|
result.Add((Manifest.Permission.PostNotifications, true));
|
|
|
|
return result.ToArray();
|
|
}
|
|
}
|
|
} |