Skip to content

Instantly share code, notes, and snippets.

@jraska
Created February 16, 2020 15:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jraska/b999af166382b3fb9d80b23699088146 to your computer and use it in GitHub Desktop.
Save jraska/b999af166382b3fb9d80b23699088146 to your computer and use it in GitHub Desktop.
interface PushStream {
fun register(onPush: OnPush)
fun unregister(onPush: OnPush)
interface OnPush {
fun onPush(push: PushMessage)
}
}
@sivabe35
Copy link

sivabe35 commented Mar 6, 2020

hey Jraska I'm new to android i have one doubt.
how do i send message from FirebaseMessagingService class.

@jraska
Copy link
Author

jraska commented Mar 15, 2020

Hey Siva, I would recommend checking here: https://firebase.google.com/docs/cloud-messaging/android/client

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment