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.4k
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.5k
Google Analytics for Firebaseを 使うときに把握しておきたいこと / Keep in mind when using Google Analytics for Firebase
k2wanko
2
460
パスワードのない未来のための Firebaseで実装するFIDO2 / FIDO2 actualized by Firebase for the password-less future
k2wanko
5
2.1k
Firebase Auth& Performance Monitoring
k2wanko
0
310
Firebase for Grow
k2wanko
5
860
gosecを試してみた話 / try gosec
k2wanko
1
2.6k
最近のFirebase / Recent Firebase
k2wanko
4
1.5k
Firebase Japan User Group Introduction 2018 #FJUG
k2wanko
0
570
Firestore with Security - Firebase Summit 2018 Report Day
k2wanko
5
1.7k
Other Decks in Technology
See All in Technology
不動産売買取引におけるAIの可能性とプロダクトでのAI活用
zabio3
0
260
プログラム検証入門
riru
6
860
DuckDB雑紹介(1.1対応版)@DuckDB座談会
ktz
6
1.4k
Privacy Sandbox on Android / DroidKaigi 2024
7pairs
1
240
忙しい人のためのLangGraph概要まとめ
__ymgc__
1
170
OR学会2024秋_短期収益と将来のオフ方策評価性能を考慮したクーポン割当方策混合比の決定
recruitengineers
PRO
4
460
四国クラウドお遍路 2024 in 高知 エンディング
yukataoka
0
200
ついに出た!OpenAIの最新モデル「o1」って何がすごいの?
minorun365
PRO
3
730
Envoy External AuthZとgRPC Extensionを利用した「頑張らない」Microservices認証認可基盤
andoshin11
0
240
AIで変わるテスト自動化:最新ツールの多様なアプローチ/ 20240910 Takahiro Kaneyama
shift_evolve
0
210
ネットワークだけ隔離されたコンテナ作成デモ / Kichijoji.pm36
tenforward
1
210
持続可能なソフトウェア開発を支える『GitHub CI/CD実践ガイド』
tmknom
6
1.3k
Featured
See All Featured
For a Future-Friendly Web
brad_frost
174
9.3k
The Language of Interfaces
destraynor
153
23k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
0
96
A better future with KSS
kneath
235
17k
Scaling GitHub
holman
458
140k
Intergalactic Javascript Robots from Outer Space
tanoku
268
26k
VelocityConf: Rendering Performance Case Studies
addyosmani
322
23k
What the flash - Photography Introduction
edds
67
11k
Web development in the modern age
philhawksworth
204
10k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
278
13k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
29
2.6k
Practical Orchestrator
shlominoach
185
10k
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