implemented a guided notification permission flow triggered on the first Talk visit

This commit is contained in:
2026-07-06 20:01:45 +02:00
parent 3be0113f93
commit 38a271929c
11 changed files with 211 additions and 30 deletions
+9 -2
View File
@@ -8,8 +8,15 @@ part of 'notification_settings.dart';
NotificationSettings _$NotificationSettingsFromJson(
Map<String, dynamic> json,
) => NotificationSettings(enabled: json['enabled'] as bool? ?? true);
) => NotificationSettings(
enabled: json['enabled'] as bool? ?? true,
talkPermissionPromptShown:
json['talkPermissionPromptShown'] as bool? ?? false,
);
Map<String, dynamic> _$NotificationSettingsToJson(
NotificationSettings instance,
) => <String, dynamic>{'enabled': instance.enabled};
) => <String, dynamic>{
'enabled': instance.enabled,
'talkPermissionPromptShown': instance.talkPermissionPromptShown,
};