0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

firebase Remote Config がついに Web に対応。しかもリアルタイム反映機能つき

Last updated at Posted at 2025-09-26

今までiOS, Androidアプリしか提供されてなかったRemote ConfigがついにWebにも対応しました

しかもリアルタイム反映機能つきです

しかもしかも、Remote Config って完全無料なんですよね〜〜〜最高〜〜

ちなみに今までは同じことをやろうとすると、firestoreにconfig持たせて、それをonSnapshotで常時接続させ確認としないといけなくて、firestoreのREADの料金がかかってました

それがこれからは無料です

Remote Configってそもそも何できるん?

たぶんスマホアプリ開発したことない人は触れたことがないと思います

ざっと説明すると

  • firebaseのダッシュボードからキーバリューを設定できる。対象ユーザーの比率も設定できる
  • アプリ側はそれを参照できる

です。

ユースケースとしては、ABテストはもちろん一瞬でできますし、文字列や数値も設定できるので
APIのURL、画像のサイズとかも Remote Config 通称リモコンで操作可能なんですよ

すごいですね〜

ざっとアプリ側の実装フローはこんな感じ

  • firebaseインストールする
  • Remote Configの任意のキーに対して、デフォルトの値を定義しておく
  • Remote Config が変更されたら、リアルタイム検知して設定反映するためのコードを仕込んでおく

これだけで無料で出来ます

詳しくは

公式ドキュメント
https://firebase.google.com/docs/remote-config/real-time

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?