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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
k2wanko
May 19, 2019
Technology
5
2.7k
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
4
2k
Google Analytics for Firebaseを 使うときに把握しておきたいこと / Keep in mind when using Google Analytics for Firebase
k2wanko
2
510
パスワードのない未来のための Firebaseで実装するFIDO2 / FIDO2 actualized by Firebase for the password-less future
k2wanko
5
2.5k
Firebase Auth& Performance Monitoring
k2wanko
0
360
Firebase for Grow
k2wanko
5
990
gosecを試してみた話 / try gosec
k2wanko
0
3.5k
最近のFirebase / Recent Firebase
k2wanko
4
1.7k
Firebase Japan User Group Introduction 2018 #FJUG
k2wanko
0
620
Firestore with Security - Firebase Summit 2018 Report Day
k2wanko
5
2k
Other Decks in Technology
See All in Technology
聲の形にみるアクセシビリティ
tomokusaba
0
170
AI実装による「レビューボトルネック」を解消する仕様駆動開発(SDD)/ ai-sdd-review-bottleneck
rakus_dev
0
110
Yahoo!ショッピングのレコメンデーション・システムにおけるML実践の一例
lycorptech_jp
PRO
1
200
アーキテクチャモダナイゼーションを実現する組織
satohjohn
0
430
ランサムウエア対策してますか?やられた時の対策は本当にできてますか?AWSでのリスク分析と対応フローの泥臭いお話。
hootaki
0
110
親子 or ペアで Mashup for the Future! しゃべって楽しむ 初手AI駆動でものづくり体験
hiroramos4
PRO
0
110
us-east-1 に障害が起きた時に、 ap-northeast-1 にどんな影響があるか 説明できるようになろう!
miu_crescent
PRO
13
4.2k
[JAWSDAYS2026]Who is responsible for IAM
mizukibbb
0
500
スクリプトの先へ!AIエージェントと組み合わせる モバイルE2Eテスト
error96num
0
160
Kubernetesにおける推論基盤
ry
1
320
身体を持ったパーソナルAIエージェントの 可能性を探る開発
yokomachi
1
110
Claude Codeの進化と各機能の活かし方
oikon48
22
12k
Featured
See All Featured
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
1
1.4k
Designing Powerful Visuals for Engaging Learning
tmiket
0
270
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
170
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
210
Navigating Weather and Climate Data
rabernat
0
140
The SEO Collaboration Effect
kristinabergwall1
0
390
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.5k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
New Earth Scene 8
popppiees
1
1.7k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
480
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2.4k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
470
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