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
600
Firestore with Security - Firebase Summit 2018 Report Day
k2wanko
5
1.9k
Other Decks in Technology
See All in Technology
AI時代の経営、Bet AI Vision #BetAIDay
layerx
PRO
1
1.3k
Claude CodeでKiroの仕様駆動開発を実現させるには...
gotalab555
3
540
東京海上日動におけるセキュアな開発プロセスの取り組み
miyabit
0
220
Microsoft Clarityでインサイトを見つけよう
nakasho
0
110
AI駆動開発 with MixLeap Study【大阪支部 #3】
lycorptech_jp
PRO
0
300
AI コードレビューが面倒すぎるのでテスト駆動開発で解決しようとして読んだら、根本的に俺の勘違いだった
mutsumix
0
140
【CEDEC2025】現場を理解して実現!ゲーム開発を効率化するWebサービスの開発と、利用促進のための継続的な改善
cygames
PRO
0
650
人に寄り添うAIエージェントとアーキテクチャ #BetAIDay
layerx
PRO
8
1.6k
LLMをツールからプラットフォームへ〜Ai Workforceの戦略〜 #BetAIDay
layerx
PRO
1
640
LLMでAI-OCR、実際どうなの? / llm_ai_ocr_layerx_bet_ai_day_lt
sbrf248
0
410
AWS表彰プログラムとキャリアについて
naoki_0531
1
150
2025-07-31: GitHub Copilot Agent mode at Vibe Coding Cafe (15min)
chomado
2
310
Featured
See All Featured
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
161
15k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
283
13k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
The Cost Of JavaScript in 2023
addyosmani
51
8.7k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.4k
Navigating Team Friction
lara
188
15k
Docker and Python
trallard
45
3.5k
Unsuck your backbone
ammeep
671
58k
Speed Design
sergeychernyshev
32
1k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
Making Projects Easy
brettharned
117
6.3k
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