Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
FirebaseでPush通知を送る
Search
taminif
October 02, 2016
Technology
350
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
FirebaseでPush通知を送る
taminif
October 02, 2016
More Decks by taminif
See All by taminif
React Native New Architecture 移行実践報告
taminif
1
320
「とりあえずAI」が招く悲劇〜私がAIで生産性を下げるまでの話〜 / The tragedy caused by "AI for now" - The story of how I used AI to reduce my productivity
taminif
1
360
PuppeteerとPlaywrightの15日間の演劇 / relation of Puppeteer and Playwright
taminif
3
2.4k
Redashの開発はじめました / How to get started Redash development
taminif
0
830
私の生活を変えたHeadless Chrome / Headless Chrome who changed my life
taminif
3
560
WebSocketをiOSに持ち込んで辛い思いをした経験がありますか!? / have you painful experience in web socket?
taminif
3
6.3k
LINEで馬券を購入する / Purchase a betting ticket at LINE
taminif
1
1.7k
SkyWayで一年間運用してきたけどWebRTCってつらいんじゃないの
taminif
2
1.1k
オンライン英会話とSkyWay
taminif
0
570
Other Decks in Technology
See All in Technology
Software Engineering in an AI-Driven World
erikjhordan_rey
0
130
分析作業をどこまで任せるか自分で決められる AIネイティブBI『Golden Analytics』が 良さげな話 /golden-analytics-is-ai-native-bi
shinyaa31
0
130
バックオフィスに染み出すTypeScript ── clasp で安全に仕組みを作る
nealle
1
200
Gifu WordPress Meetup #200 に向けて、私たちには何ができるだろうか?/ 2026-11-07 Gifu WordPress Meetup
torounit
0
240
業務でAWSをあまり使っていない私が、AWSへのモチベを保つ方法
smt7174
0
180
新米を「売り越さない」、Aurora DSQLで作る在庫ゼロ死守の限定ドロップEC
yama3133
0
190
81天的 AI Agent 軟體開發團隊治理實務分享
regionbbs
0
140
Metadata - Section 3 : Dublin Core Standard · DC
mohab1
0
120
内製アプリとClaudeスキルのセキュリティチェック、 Backlogの課題で回しています。
ayaka_egaaa
0
160
AIコーディングはじめました
miso
0
160
顧客合意を取りながら進めるAWSコスト削減の実践
optim
0
150
基本から分かる!AWSセキュリティ運用の考え方と任せ方
cmusudakeisuke
1
470
Featured
See All Featured
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
WENDY [Excerpt]
tessaabrams
14
40k
GraphQLとの向き合い方2022年版
quramy
50
15k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Evolving SEO for Evolving Search Engines
ryanjones
0
360
Crafting Experiences
bethany
1
430
Raft: Consensus for Rubyists
vanstee
143
7.9k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
590
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.6k
Accessibility Awareness
sabderemane
1
290
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
The SEO identity crisis: Don't let AI make you average
varn
0
630
Transcript
FirebaseͰPush௨ ΛૹΔ ؔϞόΠϧΞϓϦݚڀձ #18 2016/09/28 େౡ ޫو
ࣗݾհ • ΣϒϦΦגࣜձࣾ • WEBΤϯδχΞ • ΞϓϦΤϯδχΞ ʢࣗশʣ • 8݄ʹΞϓϦΛ
ϦϦʔε͠·ͨ͠ʂ
Firebaseͱ
Firebaseͱ • Google͕ఏڙ͢ΔmBaas • Analytics, Database, Notifications etc • ࠓ6݄ʹGoogleαʔϏεͱ౷߹
• ແྉʂʂ
ຊͦͷதͰɺ Firebase NotificationsΛ
Firebase Notifications • GUI(ίϯιʔϧ)ͰPush௨͕ૹΕΔ • ؆қతͳϝοηʔδ͔͠ૹΕͳ͍ • தFCM (Firebase Cloud
Messaging)
ඞཁͳͷ
1. Firebase Project
Firebase Project • GoogleΞΧϯτͰFirebase ConsoleʹϩάΠϯ • ϓϩδΣΫτΛ࡞ • ͘͠ɺGoogleϓϩδΣΫτ͔ΒΠϯϙʔτ •
ίϯιʔϧͰGoogleService-Info.plistΛμϯ ϩʔυ͠ɺXcodeϓϩδΣΫτʹஔ͘
2. APNs
APNs • Apple Push Notification service Certificates • Apple Developer͔ΒμϯϩʔυՄೳ
• Push NotificationΛONʹͨ͠ͷ • FirebaseެࣜͷGUIDES͕ࢀߟʹͳΓ·͢
3. Firebase Messaging SDK
Firebase Messaging SDK • CocoaPodsͰΠϯετʔϧՄೳ • Firebase/Core • Firebase/Messaging •
AppDelegate.swiftͰfirebaseΛimport͠ɺ ConfigureΛηοτ -> ࣍ͷϖʔδ
Source Code(Swift3) func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?)
-> Bool { // Override point for customization after application launch. // Use Firebase library to configure APIs FIRApp.configure() return true }
Push௨ͷ࣮ߦ
ίϯιʔϧ͔Β ௨ʹදࣔ͢Δϝοηʔδ Ұཡʹදࣔ͢Δϥϕϧ ૹ৴λΠϛϯά ૹ৴ର
·ͱΊ
·ͱΊ • ͍͔ͭ͘༻ҙ͢Δͷ͋Δ͕؆୯ʹPush௨͕ ༻Ͱ͖Δɻ • ແྉʂʂ • iOS10Ͱ࣮͞ΕͨΧελϚΠζͰ͖Δ௨࣍ճ Ҏ߱ɾɾɾ
͋Γ͕ͱ͏͍͟͝·ͨ͠