nabettu.
Firebase Summit 2020のまとめと所感
技術Firebase

Firebase Summit 2020のまとめと所感

今回のUpdateがまとまっている公式ブログです。

Helpful product updates from Firebase Summit 2020Over the past few months, we've seen that apps not only improve the way we live, they also enhance our ability to adapt to change. In 2020, more businesses and families have turned to apps to stay connected, productive, and entertained.firebase.googleblog.com

このブログの目次に沿ってまとめていきます。

Accelerate app development with new building blocks

Introducing the Authentication emulator for rapid iteration and local development

Authがエミュレータで使えるようになったやつ。これでログインしたり何だり〜の流れのテストもローカルで完結するようになりました!

そしてローカルエミュレーターUIを改善したようです。

これでそろそろ個別にdevelop用のfirebaseプロジェクトを作って検証していたのが、不要になりそうじゃないかな!やったね!

New Hosting preview channels let you see changes before publishing

Hostingのプレビューチャンネルで、公開前にブランチごととかでプレビューサイトを作れるようになりました。

自動でやるなら別途CIは必要だけど、Cloud Runに追加されたようにGitHub連携とかそのうち入ると思います!するとNetlifyやAmplifyでやってたようなPRごとのプレビュー環境構築とかができて確認が楽になるから期待大!

Hostingの機能追加

  • サーバーサイドAnalitics Cloud Logging

  • Brotliでの圧縮

  • localized 機能の追加 ↓ここに別途まとまってます。

  • New for Firebase Hosting: request logging, Brotli compression, and internationalization — We're excited to announce several new features that make developing with Firebase Hosting even better! Our new integration with Cloud Logging gives you access to web request logs for your Hosting sites. Cloud Logging, previously known as Stackdriver Logging, makes it easy to view, search, and filter logs.

More Extensions for adding features and functionality

Firebase拡張が増えた!

Stripe連携

↓Stripe連携でのサブスクはこの記事見たらすぐ作れましたよ〜便利!

Firebase ExtensionsのRun Subscription Payments with Stripeを使ってサブスク課金をコードを書かずに実装する - Qiita歳のせいか、おでこのシワが最近隠せません。 話は戻り、最近とうとうfirebase extensionsでstripeのextensionが発表されましたね! 🚨New Extensions alert! 🚨 We're unveiling two brand new Extensions with @StripeDev that help you run subscription payments and send invoices in your web apps.qiita.com

オンライン検知

https://firebase.google.com/products/extensions/firestore-detect-presenceAlphaユーザーだけの早期アクセスです。ユーザーのオンライン状態をfirestoreに勝手に保存してくれるみたいな感じ。firebase.google.com

自分で作ると地味に面倒だったやつですね!Extensionは基本的にそういう「地味に便利」みたいな感じだけど「かゆいところに手が届かない」のが多いですw しかしソースは見れるのでかゆいところがあったら自分でゼロから作らなくてもある程度参考にできるのでいいですね〜

Get actionable insights to run your app efficiently

Redesigned Performance Monitoring dashboard to help you focus on critical metrics

パフォーマンスモニターの改善

ダッシュボードでアラートとか出して致命的な部分は改善提案をするらしい。

New organizational and targeting tools for Remote Config

Remote configにorganizationを追加して、よりパーソナライズできるようになった

これは結構マーケティング的要素が多くて、これから先 所謂「ビジネスサイド」の人もFirebaseダッシュボードを触ってエンジニアと二人三脚で改善しやすくなって行くんじゃないかな〜まぁチームによりますが

Tailor Firebase to suit your needs as you scale

New Google Analytics APIs for better data management

サーバー側からGAのイベント記録とかできるようにとか

・Crashlytics BigQueryストリーミング(クラッシュ情報のリアルタイム分析可) ・Measurement Protocol(サーバーサイドのイベントをGA計測可)

setDefaultEventParameters って ECでの測定にいいですよ。ってことらしい。

Measure Ecommerce | FirebaseEcommerce allows measurement of user interactions with products across your users' shopping experiences, including interactions such as product (item) list views, product list clicks, viewing product details, adding a product to a shopping cart, initiating the checkout process, purchases, and refunds.firebase.google.com

3つ新しいAPI生えた

  1. Google Analytics 4 Measurement Protocol,
  2. Data API
  3. Admin API
Measurement Protocol (Google Analytics 4)"type": "thumb-down", "id": "missingTheInformationINeed", "label":"Missing the information I need" },{ "type": "thumb-down", "id": "tooComplicatedTooManySteps", "label":"Too complicated / too many steps" },{ "type": "thumb-down", "id": "outOfDate", "label":"Out of date" },{ "type": "thumb-down", "id": "samplesCodeIssue", "label":"Samples/Code issue" },{ "type": "thumb-down", "id": "otherDown", "label":"Other" }] [{ "type": "thumb-up", "id": "easyToUnderstand", "label":"Easy to understand" },{ "type": "thumb-up", "id": "solvedMyProblem", "label":"Solved my problem" },{ "type": "thumb-up", "id": "otherUp", "label":"Other" }] This is an alpha API and subject to change.developers.google.com Analytics Data API Overview | Google Analytics Data API"type": "thumb-down", "id": "missingTheInformationINeed", "label":"Missing the information I need" },{ "type": "thumb-down", "id": "tooComplicatedTooManySteps", "label":"Too complicated / too many steps" },{ "type": "thumb-down", "id": "outOfDate", "label":"Out of date" },{ "type": "thumb-down", "id": "samplesCodeIssue", "label":"Samples/Code issue" },{ "type": "thumb-down", "id": "otherDown", "label":"Other" }] [{ "type": "thumb-up", "id": "easyToUnderstand", "label":"Easy to understand" },{ "type": "thumb-up", "id": "solvedMyProblem", "label":"Solved my problem" },{ "type": "thumb-up", "id": "otherUp", "label":"Other" }] Developer Trusted Testing Preview Summary: This document provides a high level overview of the Google Analytics Data API V1.developers.google.com Google Analytics Admin API Overview | Google Developers"type": "thumb-down", "id": "missingTheInformationINeed", "label":"Missing the information I need" },{ "type": "thumb-down", "id": "tooComplicatedTooManySteps", "label":"Too complicated / too many steps" },{ "type": "thumb-down", "id": "outOfDate", "label":"Out of date" },{ "type": "thumb-down", "id": "samplesCodeIssue", "label":"Samples/Code issue" },{ "type": "thumb-down", "id": "otherDown", "label":"Other" }] [{ "type": "thumb-up", "id": "easyToUnderstand", "label":"Easy to understand" },{ "type": "thumb-up", "id": "solvedMyProblem", "label":"Solved my problem" },{ "type": "thumb-up", "id": "otherUp", "label":"Other" }] Developer Trusted Testing Preview Summary: This document provides a high level overview of the Google Analytics Admin API Version 1.0.developers.google.com

Introducing imported segments for increased targeting flexibility

セグメントをBigQueryからimport出来るようになったらしい。

このあたりも結構マーケティング寄りなアップデート!実際サーバーに仕込んだほうが便利なイベント計測は多いと思うのでいいですね。ユーザーセグメント分析もより詳細にしやすくなっている感じなんですかね〜

Looking ahead

今後の展望 頑張って改善していくからみんなAlphaプログラムに登録しよう!

以下ブログに載っていないアップデートなど

Not in とか

ついにFirestoreに != クエリが来たので検証してみた - QiitaJSのClient SDK v7.21.0で、ついにFirestoreに ノットイコール != クエリが来ました🎉🎉🎉 他のSDKにも来るのが楽しみですね!他にも not-inクエリが来ています! v7.21.0 of @Fire...qiita.com

App distributionとか

𝕏 読み込み中…

ちょっとネイティブアプリ周りのアップデートはあまり追えていません><

全体所感

エミュレータやHostingのPreview機能で開発のしやすさが上がってきていますね〜嬉しい。

あと今回はマーケティング用のデータ分析周りへの力の入れようが伺えます。

Firebaseは「個人開発やプロトタイプだけのもの」という過去の印象を払拭するためにそのあたりゴリゴリに作り始めている感じがありますね。

今後一層Firebaseが活躍出来る場が増えて来ていると共に、機能が増えすぎてSDKがデカイんじゃ〜ってなってるので、その辺のアップデートにも期待したいですね!笑

Share