[Feature Request] Support filtering triggers by Analytics Event Parameters

オープン
#7,638 コメント 0 件 リアクション 2 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
android, java
領域
mobile

調査の方向性

まず AnalyticsConnector と FIAM のトリガー処理を追跡し、イベント名がどこで転送され、Bundle パラメータがどこで破棄されるのかを確認します。完了条件は、In-App Message が result="fail" のようなパラメータと Analytics Event 名を組み合わせて一致させることができ、他のパラメータ値ではトリガーされないことです。issue ではテストファイルは指定されていません。

索引モデルが issue の本文から書いたものです。

説明

api: analytics type: feature request

What feature would you like to see?
Support triggering In-App Messages based on Analytics Event Parameters, not just Event Names.

Currently, the AnalyticsConnector used by FIAM strips away event parameters and only forwards the event name. This limits granularity. I propose extending the triggering logic to support validation of the event's Bundle parameters (e.g., using regex or exact match). This would allow triggers to target specific event states (e.g., trigger only if event="refresh" AND status="fail").

How would you use it?
Scenario: Targeted Error Handling I track a refresh_result event in my app. I want to show a "Help/Retry" In-App Message only when the refresh fails.

Current Behavior: The IAM triggers on every refresh_result event (including successful ones), which disturbs normal users.
Desired Behavior: I can configure the IAM to fire only when the refresh_result event contains the parameter result="fail".
This feature would enable precise user targeting and prevent message spamming during successful user flows.

主要言語
Java
スター
2.6k
フォーク
733
平均マージ
2日 15時間
マージ済み PR(30日)
72

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

firebase/firebase-android-sdk のほかの issue

firebase/firebase-android-sdk の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。