Retrieve notification - WIP

This commit is contained in:
Benoit Marty 2023-03-29 18:04:32 +02:00 committed by Benoit Marty
parent 2247639a89
commit d41f4fc954
16 changed files with 228 additions and 22 deletions

View file

@ -25,4 +25,5 @@ android {
dependencies {
implementation(libs.androidx.corektx)
implementation(libs.coroutines.core)
implementation(projects.libraries.matrix.api)
}

View file

@ -16,10 +16,15 @@
package io.element.android.libraries.push.api
import io.element.android.libraries.matrix.api.core.UserId
interface PushService {
fun setCurrentRoom(roomId: String?)
fun setCurrentThread(threadId: String?)
fun notificationStyleChanged()
// Ensure pusher is registered
suspend fun registerPusher(userId: UserId)
suspend fun testPush()
}