Skip to content
Snippets Groups Projects
Commit 85fd9dbf authored by Kamal Bramwell's avatar Kamal Bramwell
Browse files

Exposed registerForNotifications/unregister

parent 8b8aec9d
No related branches found
No related tags found
No related merge requests found
......@@ -169,4 +169,8 @@ interface Bindings {
fun updateCommonErrors(errorsJson: String)
fun isRegisteredWithUd(e2eId: E2eId): Boolean
fun registerForNotifications(e2eId: E2eId, token: String)
fun unregisterForNotifications(e2eId: E2eId)
}
\ No newline at end of file
......@@ -353,4 +353,12 @@ open class BindingsAdapter : Bindings {
override fun isRegisteredWithUd(e2eId: E2eId): Boolean {
return CoreBindings.isRegisteredWithUD(e2eId)
}
override fun registerForNotifications(e2eId: E2eId, token: String) {
CoreBindings.registerForNotifications(e2eId, token)
}
override fun unregisterForNotifications(e2eId: E2eId) {
CoreBindings.unregisterForNotifications(e2eId)
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment