add auto update subscriptions with interval

This commit is contained in:
Hadi Norouzi committed 2023-08-17 21:06:22 +03:30
1 parent 99307ab8f0
commit 062c0d8ddb
10 files changed
+257 -17

No files matched your search

@@ -87,4 +87,11 @@ object AppConfig {
const val MSG_MEASURE_CONFIG = 7
const val MSG_MEASURE_CONFIG_SUCCESS = 71
const val MSG_MEASURE_CONFIG_CANCEL = 72
// subscription settings
const val SUBSCRIPTION_AUTO_UPDATE = "pref_auto_update_subscription"
const val SUBSCRIPTION_AUTO_UPDATE_INTERVAL = "pref_auto_update_interval"
const val DEFAULT_UPDATE_INTERVAL = "1440" // 24 hours
const val UPDATE_TASK_NAME = "subscription-updater"
}