Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Introduction to Firebase Notifications
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Daichi Furiya (Wasabeef)
June 10, 2016
Programming
1.4k
1
Share
Introduction to Firebase Notifications
Introduction to Firebase Notifications
Daichi Furiya (Wasabeef)
June 10, 2016
More Decks by Daichi Furiya (Wasabeef)
See All by Daichi Furiya (Wasabeef)
DevFest Tokyo 2025 - Flutter のアプリアーキテクチャ現在地点
wasabeef
6
2.7k
About Flutter Architecture
wasabeef
1
310
2023 Flutter/Dart Summary
wasabeef
0
130
I/O Extended 2023 - Dart と Flutter の新機能
wasabeef
0
230
I/O Extended 2023 - Flutter 活用事例
wasabeef
10
3.1k
What it Takes to be a Flutter Developer
wasabeef
0
240
FlutterKaigi 2022 Keynote
wasabeef
1
710
Flutter Hooks を使ったアプリ開発 / App Development with the Flutter Hooks
wasabeef
2
1.5k
Flutter 2021 の振り返りと今後のアプリ開発に向けて / Looking back on Flutter 2021 and for future app development.
wasabeef
4
2.2k
Other Decks in Programming
See All in Programming
Sans tests, vos agents ne sont pas fiables
nabondance
0
140
エラー処理の温故知新 / history of error handling technic
ryotanakaya
7
1.9k
Agentic AI & UI: Arcitecture, HITL, Emerging Standards
manfredsteyer
PRO
0
120
継続的な負荷検証を目指して
pyama86
3
1.2k
次世代リンターで探る、tsgo 時代における型認識カスタムルールの現実解
ytakahashii
0
230
AgentCore Optimizationを始めよう!
licux
3
260
実践ハーネスエンジニアリング:ステアリングループを実例から読み解く / Practical Harness Engineering: Understanding Steering Loops Through Real-World Examples
nrslib
5
5.6k
Spec-Driven Development with AI Agents (Workshop, May 2026)
antonarhipov
3
400
要はバランスからの卒業 #yumemi_grow
kajitack
0
170
PHPでバイナリをパースして理解するASN.1
muno92
PRO
0
460
決定論 vs 確率論:Gemini 3 FlashとTF-IDFを組み合わせた「法規判定エンジン」の構築
shukob
0
170
色即是空、空即是色、データサイエンス
kamoneggi
1
130
Featured
See All Featured
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
390
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
Speed Design
sergeychernyshev
33
1.7k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
300
How to Talk to Developers About Accessibility
jct
2
200
WCS-LA-2024
lcolladotor
0
590
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Documentation Writing (for coders)
carmenintech
77
5.3k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
430
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
4k
Transcript
Firebase Notifications wasabeef shibuya.apk #8 at Google Japan
About me Daichi Furiya wasabeef @wasabeef_jp CyberAgent, Inc.
Firebase
Firebase https://firebase.google.com/
Analytics
Crash Reporting
Notifications
Firebase Notifications
Why?
Create Android app
Create Android app
Create Android app
Dependencies dependencies { // ... compile 'com.google.firebase:firebase-messaging:9.0.2' }
FirebaseMessagingService public class MyMessagingService extends FirebaseMessagingService { @Override public void
onMessageReceived(RemoteMessage msg) { sendNotification(msg.getNotification().getBody()); } private void sendNotification(String body) { // NotificationManager#notify } }
FirebaseInstancedIdService public class MyIdService extends FirebaseInstanceIdService { @Override public void
onTokenRefresh() { sendRegistrationToServer(refreshedToken); } private void sendRegistrationToServer(String token) { // send to your server } }
Topic findViewById(R.id.button).setOnClickListener(v -> { FirebaseMessaging.getInstance() .subscribeToTopic("mytopic"); // FirebaseMessaging.getInstance() .unsubscribeFromTopic("mytopic"); });
Compose message
Status
Conclusion
Thank you. twitter.com/wasabeef_jp wasabeef.jp github.com/wasabeef