openNotificationSettings function
Implementation
Future<void> openNotificationSettings() async {
try {
await AwesomeNotifications().showNotificationConfigPage();
debugPrint('Benachrichtigungseinstellungen geöffnet');
} catch (e) {
debugPrint('Fehler beim Öffnen der Benachrichtigungseinstellungen: $e');
// Fallback: App-Einstellungen öffnen
await openAppSettings();
}
}