mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-21 00:01:26 +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(
|
override fun onRegistrationFailed(
|
||||||
context: Context,
|
context: Context,
|
||||||
instance: String,
|
instance: String,
|
||||||
|
Reference in New Issue
Block a user