You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
940 B
31 lines
940 B
/**
|
|
* DailyNotificationConfig.swift
|
|
* Daily Notification Plugin for Capacitor
|
|
*
|
|
* Provides configuration options for the notification plugin
|
|
*/
|
|
|
|
import Foundation
|
|
|
|
/// Configuration options for the DailyNotification plugin
|
|
///
|
|
/// This singleton structure provides configurable options that can be modified
|
|
/// to customize the plugin's behavior.
|
|
public struct DailyNotificationConfig {
|
|
/// Shared instance for singleton access
|
|
public static var shared = DailyNotificationConfig()
|
|
|
|
/// Maximum number of notifications that can be scheduled per day
|
|
public var maxNotificationsPerDay = 10
|
|
|
|
/// Default timezone for notifications when none is specified
|
|
public var defaultTimeZone = TimeZone.current
|
|
|
|
/// Whether debug logging is enabled
|
|
public var loggingEnabled = true
|
|
|
|
/// Number of days to retain delivered notifications
|
|
public var retentionDays = 7
|
|
|
|
private init() {}
|
|
}
|