Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[FR] - Need a setter to set FCM host for Functional tests/Service Level tests.

オープン
#802 コメント 5 件 リアクション 1 件 担当者 0 名 GitHub で見る

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
42/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
firebase, java

調査の方向性

まず FirebaseMessagingClientImpl を読み、FCM_URL がどのように設定されるかを追跡し、FcmMessaging と FirebaseApp の構築経路を調べます。ホストが指定されていない場合はデフォルトのハードコードされたホストが引き続き有効でありながら、呼び出し元が機能テストまたはサービスレベルテスト用の FCM ホストを指定できれば完了です。

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

説明

needs-triage type: feature request

Summary:
I recently integrated FCM SDK to send Push Notifications. The integration was very simple and smooth but while I started writing Functional Tests, I got to know that I can't give FCM host while constructing a FcmMessaging object. The FCM_URL is hardcoded in the FirebaseMessagingClientImpl class, which is restricting me from writing functional tests.

Solution:
While constructing the FcmMessaging object or while initializing FirebaseApp there can be an option to pass the FCM host. If the host is not passed then the default hardcoded host must be used.

Describe alternatives you've considered
Currently, due to this, I'm blocked from writing FTs. I'm currently only dependent on UTs

主要言語
Java
スター
620
フォーク
305
平均マージ
3時間 23分
マージ済み PR(30日)
1

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

firebase/firebase-admin-java のほかの issue

firebase/firebase-admin-java の issue をすべて見る

似ている issue

Java の issue をもっと見る

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

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