mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-18 22:11:33 +02:00
There is no need to extend onReceive
This commit is contained in:
@@ -93,16 +93,6 @@ class PushMessageReceiver : MessagingReceiver() {
|
||||
}
|
||||
}
|
||||
|
||||
override fun onReceive(
|
||||
context: Context,
|
||||
intent: Intent,
|
||||
) {
|
||||
val intentData = intent.dataString
|
||||
val intentAction = intent.action.toString()
|
||||
Log.d(TAG, "Intent Data:- $intentData Intent Action: $intentAction")
|
||||
super.onReceive(context, intent)
|
||||
}
|
||||
|
||||
override fun onRegistrationFailed(
|
||||
context: Context,
|
||||
instance: String,
|
||||
|
Reference in New Issue
Block a user