Updated on 2026-08-14
This commit is contained in:
parent
7f131732ff
commit
7619e9706b
13 changed files with 289 additions and 11 deletions
|
|
@ -0,0 +1,8 @@
|
|||
package com.tangem.features.pushnotifications.api.navigation
|
||||
|
||||
import androidx.fragment.app.Fragment
|
||||
|
||||
interface PushNotificationsRouter {
|
||||
|
||||
fun entryFragment(): Fragment
|
||||
}
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
package com.tangem.features.pushnotifications.api.utils
|
||||
|
||||
import android.Manifest
|
||||
import android.os.Build
|
||||
|
||||
val PUSH_PERMISSION = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
|
||||
Manifest.permission.POST_NOTIFICATIONS
|
||||
} else {
|
||||
"android.permission.POST_NOTIFICATIONS"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue