Forum

android firebase, b...
 
Notifications
Clear all

android firebase, background or idle app get from topic name

1 Posty
1 Users
0 Reactions
832 Widok
0
Topic starter

example

1 Answer
0
Topic starter

get topic title/from

getIntent().getStringExtra("from");

get all data for notification

        val i = intent
        val extras = i.extras
        if (extras != null) {
            for (key in extras.keySet()) {
                val value = extras[key]
                Log.d("MY_DEBUG_TAG", "EXTRA DATA KEY: $key Value: $value")
            }
        }

Odpowiedź

Author Name

Author Email

Your question *

 
Preview 0 Revisions Saved
Share: