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
What's New Firebase 2019 Q1 #FJUG #io19jp
Search
k2wanko
May 19, 2019
Technology
5
2.6k
What's New Firebase 2019 Q1 #FJUG #io19jp
Google I/O 2019で話されたFirebaseの話を軽くまとめたものです。
https://gdg-tokyo.connpass.com/event/128867/
k2wanko
May 19, 2019
Tweet
Share
More Decks by k2wanko
See All by k2wanko
Sales AI Cloud "ailead" TSConfig Strictly Adopted / セールスAIクラウド「ailead」の TSConfig厳格化対応した話 /
k2wanko
1
1.8k
Google Analytics for Firebaseを 使うときに把握しておきたいこと / Keep in mind when using Google Analytics for Firebase
k2wanko
2
490
パスワードのない未来のための Firebaseで実装するFIDO2 / FIDO2 actualized by Firebase for the password-less future
k2wanko
5
2.3k
Firebase Auth& Performance Monitoring
k2wanko
0
350
Firebase for Grow
k2wanko
5
950
gosecを試してみた話 / try gosec
k2wanko
1
3.2k
最近のFirebase / Recent Firebase
k2wanko
4
1.6k
Firebase Japan User Group Introduction 2018 #FJUG
k2wanko
0
590
Firestore with Security - Firebase Summit 2018 Report Day
k2wanko
5
1.9k
Other Decks in Technology
See All in Technology
マルチプロダクト環境におけるSREの役割 / SRE NEXT 2025 lunch session
sugamasao
1
390
[SRE NEXT] ARR150億円_エンジニア140名_27チーム_17プロダクトから始めるSLO.pdf
satos
5
2.1k
How Do I Contact HP Printer Support? [Full 2025 Guide for U.S. Businesses]
harrry1211
0
130
united airlines ™®️ USA Contact Numbers: Complete 2025 Support Guide
flyunitedhelp
1
470
freeeのアクセシビリティの現在地 / freee's Current Position on Accessibility
ymrl
2
280
CDK Vibe Coding Fes
tomoki10
1
530
〜『世界中の家族のこころのインフラ』を目指して”次の10年”へ〜 SREが導いたグローバルサービスの信頼性向上戦略とその舞台裏 / Towards the Next Decade: Enhancing Global Service Reliability
kohbis
3
1.1k
SRE不在の開発チームが障害対応と 向き合った100日間 / 100 days dealing with issues without SREs
shin1988
2
1.5k
American airlines ®️ USA Contact Numbers: Complete 2025 Support Guide
airhelpsupport
0
390
AI エージェントと考え直すデータ基盤
na0
18
7.3k
NewSQLや分散データベースを支えるRaftの仕組み - 仕組みを理解して知る得意不得意
hacomono
PRO
3
230
AWS CDK 入門ガイド これだけは知っておきたいヒント集
anank
5
600
Featured
See All Featured
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
138
34k
Adopting Sorbet at Scale
ufuk
77
9.5k
Building Applications with DynamoDB
mza
95
6.5k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
107
19k
YesSQL, Process and Tooling at Scale
rocio
173
14k
Optimising Largest Contentful Paint
csswizardry
37
3.3k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
How to Ace a Technical Interview
jacobian
278
23k
4 Signs Your Business is Dying
shpigford
184
22k
Testing 201, or: Great Expectations
jmmastey
43
7.6k
The World Runs on Bad Software
bkeepers
PRO
69
11k
BBQ
matthewcrist
89
9.7k
Transcript
What’s New Firebase 2019 Q1 コキチーズ@k2wanko Google I/O 2019 報告会
Slideは DarkTheme Firebase Japan User Group
None
firebase.asia/join
firebase.asia/youtube
cast.firebase.asia
What’s New Firebase
None
None
Webも含まれた (うれしい)
None
ML Kit - 手軽に機械学習を導入できるライブラリ 機能 On-device Cloud Text recognition (OCR)
✔ ✔ Face detection ✔ Barcode scanning ✔ Image labeling ✔ ✔
ML Kit 機能 On-device Cloud Object detection & tracking ✔
Landmark recognition ✔ Language identification ✔ Translation ✔ Smart Reply ✔ AutoML model inference ✔ Custom model inference ✔
Object Detection & Tracking API
Object Detection & Tracking API - 椅子やマグカップなど物体を検出できるAPI - https://firebase.google.com/docs/ml-kit/object-detection
Translation API
Translation API - 端末内だけで翻訳が可能 - 59カ国語に対応している。
AutoML Vision Edge
Auto ML Vision Edge - 画像とラベルを投げると最適な手法でTFのモデルを作成して アプリにデプロイできる。 - 無料プランでも利用できる -
モデルを利用するときは端末内で完結する。
Human labeling - ラベル付けがめんどくさい場合はGCPに人間がラベリングしてくれる サービスもある。 - (誰か試してみたら感想を教えてほしい。) - https://cloud.google.com/vision/automl/docs/human-labeling?hl=en
C++ SDK Support
C++ SDKがSupportされた。 - https://github.com/firebase/firebase-cpp-sdk - モバイルはもちろん一部デスクトップもSupportされる - 主にゲーム向け - https://firebase.google.com/docs/cpp/setup
None
Firebase Crashlytics - アプリのクラッシュ情報やデバッグログの収集するサービス - クラッシュ情報を元に通知などできる。
Crashlytics BigQuery Support
Configurable velocity alerts in Crashlytics
アラートのしきい値を設定できるようになった
None
Performance Monitoring - アプリのパフォーマンスを自動収集してくれるサービス - 取得したトレースやメトリックはコンソールから確認できる。
Web Support
Webをアプリを追加するようになった。 Performance Monitoringで計測するには登録は必要
SDKを導入するだけで自動で収集してくれる - Browserや国などはもちろん - Webのためのパフォーマンス指標として - First paint - First
contentful paint - domInteractive - domContentLoadedEventEnd - loadEventEnd - first input delay - https://firebase.google.com/docs/perf-mon/automatic-web
カスタムトレースやメトリックも可能 - trace.putAttribute("experiment", "A"); - 個人情報を送らないように注意が必要
None
モバイル向けのアナリティクスツール - 無制限に無料で使えるアナリティクス - イベントベースでユーザーのグループ分けや統計情報の取得ができる。 - WebはSupportされていない。(Webは従来のGoogle Analyticsを使う)
Audience Builder
None
None
Cloud Firestore - ドキュメント指向のデータベース - クライアントから直接読み書きができる - オフラインでも動作する - 書き込みの制御にセキュリティルールがある
Collection Group Query
restaurant rest1 rest2 reviews review1 review2
restaurant review review review restaurant review review
restaurant review review review restaurant review review db.collectionGroup(‘review’);
None
Cloud Functions - Firebaseの様々なイベントをNode.jsで書けるFaaS - クライアントで処理できないものはこれを使うと良い - GCPのFunctionsとはbackendは同じだけどSDK部分だけ違う。 - GCP経由ならGoなど別ランタイムでもいくつかのイベントは受け取れる。
Schedule Functions
Schedule Functions - cronのようにFunctionsを定期実行するための機能 - Cloud SchedulerとFunctionsの糖衣構文のようなもの
Cloud Functions Emulator
Cloud Functions Emulator - HTTP Function - Callable Function -
Firestore Function - でのテストがローカルで可能 https://firebase.google.com/docs/functions/local-emulator
None
Test Lab - エミュレーターや実機でアプリのテストができるサービス - Android,iOSでの利用が可能。 - apkをアップロードするだけで自動テストもある。
NEW Support
None
Firebase Hosting - 静的サイトを配信するためのサービス - HTTP2で配信され、無料で独自ドメインも利用できる。 - CDNが標準でついている。 - ワンクリックで過去のバージョンに戻すことができる。
- 1プロジェクトで複数サイトの運用も可能 - Functionsを組み合わせて動的なコンテンツを配信することも可能
*.web.app
Firebase Hosting Cloud Run Integration
Cloud Run Integration - Cloud RunはDockerイメージを動かせるプラットフォーム - 好きなランタイムでHTTPサーバーを立ち上げられる。 - 1インスタンスで80リクエストまで同時処理できる。
- Functionsの代わりにCloud Runでも動的コンテンツの配信が可能になった。
App Distribution
App Distribution - Fabric Betaの後継サービス - 開発中のアプリの配信が可能になる。 - private alpha
None
サポートされるプロバイダー - メールパスワード認証 - 電話番号 - Google - Facebook -
Twitter - GitHub - 匿名 - (New) Yahoo - (New) Microsoft - (New) Play ゲーム - (New) Game Center
Authentication Support Stackdriver Logging
今の所有効にするUIはないので APIからONにする curl -d "{'monitoring': {'requestLogging':{'enabled':true}}}" \ -H 'Authorization: Bearer
[AUTH_TOKEN]' -X PATCH \ -H 'Content-Type: application/json' \ https://identitytoolkit.googleapis.com/admin/v2/projects/[PROJECT_ID]/config?upd ateMask=monitoring.requestLogging.enabled
GCP Consoleからログを確認できる。
MFA Support
SMS based MFA - SMSを使ってMFA - Private Alpha
Authentication + Cloud Functions beforeCreate beforeSignIn (Blocking Function)
Blocking Function - ユーザーの作成時や、認証時にFunctionsでロジックを書ける機能 - Private Alpha - g.co/firebasealpha
Reference - What's new from Firebase at Google I/O 2019
- What's New in Firebase (Google I/O'19) - Three New Ways to Secure Your App with Firebase Authentication
Thanks @k2wanko