Created
August 9, 2019 09:02
-
-
Save aditrioka/52b5acfc83b280bae9f4a3b49062191c to your computer and use it in GitHub Desktop.
custom push message listener file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// We also created custom push listener | |
class CustomPushMessageListener : PushMessageListener() { | |
override fun onHandleRedirection(activity: Activity?, payload: Bundle?) { | |
super.onHandleRedirection(activity, payload) | |
payload?.keySet()?.forEach { | |
Log.i("MOENGAGE", "$it = ${payload.getString(it)}") | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi , How to modify notification ringtone in this class at runtime, can you please help me out