Skip to content

Androidでバックグラウンドで位置情報更新が止まるバグを修正 - #5128

Merged
TinyKitten merged 2 commits into
devfrom
fix/android-location-issues
Jan 24, 2026
Merged

TinyKitten merged 2 commits into
devfrom
fix/android-location-issues

Conversation

@TinyKitten

@TinyKitten TinyKitten commented Jan 24, 2026 •

Copy link
Copy Markdown
Member

Summary by CodeRabbit

  • 改善
    • バックグラウンド位置情報トラッキングの精度と反応性が向上しました。位置情報の更新頻度が改善され、より正確でリアルタイムに近い位置情報の取得が可能になります。
    • 位置情報サービスの設定が最適化され、アプリケーションのバックグラウンド動作がより効率的になりました。

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai

coderabbitai Bot commented Jan 24, 2026 •

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

AndroidManifest.xmlにLocationTaskServiceの新しいサービス宣言を追加しました。同時に、位置情報関連の定数をsrc/constants/location.tsで更新し、LOCATION_DISTANCE_INTERVALを10から5に、LOCATION_TIME_INTERVALを5000から2000に変更しました。

Changes

コホート / ファイル 変更内容
Androidマニフェスト設定
android/app/src/main/AndroidManifest.xml
LocationTaskServiceの新しいサービス宣言を追加。android:exported="false"、android:foregroundServiceType="location"、tools:node="replace"属性を含む
位置情報定数の更新
src/constants/location.ts
LOCATION_DISTANCE_INTERVALを10から5に、LOCATION_TIME_INTERVALを5000から2000に変更。背景位置情報タスクの頻度と精度に関連する動作を更新

推定コードレビュー工数

🎯 2 (Simple) | ⏱️ ~10分

関連する可能性のあるPR

推奨ラベル

android

Poem

🐰 ウサギがぴょんと跳ねて、
位置情報を追いかける旅へ
定数たちが踊って、速度が上がり
マニフェストは新しい友を迎え入れ
サービスの光、背景で輝く ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed プルリクエストのタイトルは日本語で「Androidでバックグラウンドで位置情報更新が止まるバグを修正」であり、変更内容のメインポイント(Androidのバックグラウンド位置情報更新の問題修正)を明確に説明しています。raw_summaryに示されているように、AndroidManifest.xmlのLocationTaskService追加と位置情報定数の更新という変更が、このバグ修正の目的に合致しています。
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant