Firebase Cloud Messaging

From ◜◝◟◞◜◝◟◞◜◝◟◞◜◝◟◞◜◝◟◞◜◝◟◞◜◝◟◞
Jump to: navigation, search

History

Firebase started as a Backend as a Service platform. Chatrooms and such, and then expanded. They were then acquired by Google, and integrated into Google Cloud System.

What is the what

Recommended to use Firebase as a read-only realtime API. Wrap all calls to this service with an interface to make it easier to test and replace.

Add Firebase to Android Project

There's a longer way manually, but inside AS, you can use the wizard tutorial. So lazyǃ[1]

Set Up a Firebase Cloud Messaging Client App on Android

Add FCM dependency to your app-level build.gradle file byː

dependencies {
    compile 'com.google.firebase:firebase-messaging:10.2.4'
}


[2]

Cloud Functions

[3]


Reference

  1. https://firebase.google.com/docs/android/setup
  2. https://firebase.google.com/docs/cloud-messaging/android/client
  3. https://firebase.google.com/docs/functions/