[FR]: Add network connectivity check before launching Chrome Custom Tab

オープン 初心者向け
#2,110 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

@santi-pine03 がすでに取り組んでいます。

2026年5月17日 から。

  • #2111 @santi-pine03 による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
72/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
android, kotlin
領域
mobile

調査の方向性

launchCustomChromeTab エントリーポイントを特定し、既存の NetworkMonitor が接続状態をどのように通知しているかを確認します。Chrome Custom Tab を起動する前に、記事を開くにはインターネット接続が必要であることを示す Snackbar でオフラインの場合を処理します。オフライン時のタップではアプリ内に留まってフィードバックが表示され、オンライン時のタップでは引き続き記事が開けば完了です。

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

説明

enhancement
Is there an existing issue for this?
  • I have searched the existing issues
Describe the problem

Currently, when someone taps on a news article card, the app immediately launches a Chrome Custom Tab without verifying whether an internet connection is available. If the device is offline, Chrome opens and displays its own network error page, taking the user outside of the app with no feedback

Describe the solution

Before calling "launchCustomChromeTab", verify network connectivity using the existing "NetworkMonitor" available in the app and show a Snackbar informing the user that an internet connection is required to open the article.

Additional context

No response

Code of Conduct
  • I agree to follow this project's Code of Conduct
主要言語
Kotlin
スター
22.1k
フォーク
4.7k
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

android/nowinandroid のほかの issue

android/nowinandroid の issue をすべて見る

似ている issue

Kotlin の issue をもっと見る

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

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