Firebase Cloud Messaging
From ◜◝◟◞◜◝◟◞◜◝◟◞◜◝◟◞◜◝◟◞◜◝◟◞◜◝◟◞
Contents
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' }
Cloud Functions