Go to file
Jirawat Karanwittayakarn 7a4b2f632d - update .gitignore
- update firebase 9.2.1
- update appcompat 24.1.0
- update gradle-wrapper 2.14.1
2016-07-21 23:45:29 +07:00
app - update .gitignore 2016-07-21 23:45:29 +07:00
gradle/wrapper - update .gitignore 2016-07-21 23:45:29 +07:00
.gitignore - update .gitignore 2016-07-21 23:45:29 +07:00
build.gradle - update .gitignore 2016-07-21 23:45:29 +07:00
gradle.properties Initial commit 2016-06-22 18:58:32 +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 2016-07-21 23:09:56 +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 2.3 (Gingerbread) and newer
  • Google Play services 9.2.1 or newer
  • Android Studio 1.5 or higher

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

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