Go to file
Jirawat Karanwittayakarn 152ca2d962 gradle-wrapper: 5.5
2019-07-01 17:13:57 +07:00
app gradle-wrapper: 5.5 2019-07-01 17:13:57 +07:00
gradle/wrapper gradle-wrapper: 5.5 2019-07-01 17:13:57 +07:00
.gitignore Update dependencies 2017-06-30 17:49:57 +07:00
build.gradle gradle-wrapper: 5.5 2019-07-01 17:13:57 +07:00
gradle.properties Migrate to Android X 2019-06-28 18:11:07 +07:00
gradlew Initial commit 2016-06-22 18:58:32 +07:00
gradlew.bat Initial commit 2016-06-22 18:58:32 +07:00
README.md Update README.md 2019-04-16 15:30:00 +07:00
settings.gradle Initial commit 2016-06-22 18:58:32 +07:00

Firebase Cloud Messaging (FCM)

FCM is just a demo of Android Application which implement Firebase Cloud Messaging. It made for Google I/O Extended 2016 Bangkok

Prerequisites

  • Supported Android 4.1 or newer
  • Android Studio 3.3.2 or higher
  • google-services.json in app-level folder

Features

  • Subscribe and Unsubscribe with topics
  • Get token
  • Send message with payload both notification and data
  • Send message with a token, token group, a topic, condition
  • Handle message both foreground and background
  • Customize notification
  • Support notification channel for Android 0 or newer

Limitation in the message payload

  • Notification : 2KB limit and a predefined set of user-visible keys
  • Data : 4KB of custom key-value pairs

Screenshots

Slide

https://docs.google.com/presentation/d/1HPLk1PXaGUjqTlPB6RHsgrTunJNo10kbGZ-JX_7JELw/edit?usp=sharing