Request notification permission on Android 13

This commit is contained in:
Moez Bhatti
2022-12-13 13:31:22 -05:00
parent c4e07c2181
commit cc819b3ac4
9 changed files with 108 additions and 27 deletions
@@ -84,6 +84,7 @@ class Preferences @Inject constructor(
val canUseSubId = rxPrefs.getBoolean("canUseSubId", true)
val version = rxPrefs.getInteger("version", context.versionCode)
val changelogVersion = rxPrefs.getInteger("changelogVersion", context.versionCode)
val hasAskedForNotificationPermission = rxPrefs.getBoolean("hasAskedForNotificationPermission", false)
@Deprecated("This should only be accessed when migrating to @blockingManager")
val sia = rxPrefs.getBoolean("sia", false)