harukin-expo-dev-env
dc3d250466
fix: 次駅表示をDirection非依存に修正(JS/Kotlin両方)
...
- JS側: currentPosition[0]ではなくstopStationIDList上のmax(idx0,idx1)で進行方向の駅を判定
- Kotlin側: pollRunnable復活、allStationsのダイヤ順でmaxOf(idx0,idx1)で向かう駅を判定
- Kotlin at-station: 停車中は現在駅を表示(JS側と統一)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-03-24 01:39:31 +00:00
harukin-expo-dev-env
3f6b3cfcfb
fix: API呼び出しにタイムアウトを追加し、エラーハンドリングを改善
2026-03-24 00:19:19 +00:00
harukin-expo-dev-env
ffcc6ff660
fix: 列車通知機能に路線色を追加し、進捗スタイルのセグメントに対応
2026-03-23 10:55:14 +00:00
harukin-expo-dev-env
13f2c4de7a
feat: 駅固定モード バックグラウンド更新 + 通知書式改善
...
- 駅固定モードでもForeground Serviceのバックグラウンドポーリングを有効化
- pollStationTrains(): APIから遅延情報を取得し通知を自動更新
- テキスト書式を「00:00 特急 ○○号 ○○行 定刻」に変更
- StationTrainInfo に typeColor フィールド追加
- StationLockNotificationBuilder: 種別名にBackgroundColorSpan適用
- ExpoLiveActivityModule: 駅固定もMap引数方式に変更
- trainsJson/stationName をServiceに保存してバックグラウンドで使用
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-03-23 06:31:05 +00:00
harukin-expo-dev-env
f19600a3af
fix: ProgressStyle Point位置計算を修正
...
- Point(0) は @IntRange(from=1) 違反 → coerceIn(1, max) で修正
- Segment length を均等固定値(100)にして丸め誤差を排除
- progressMax = numSegments * 100 で座標系を統一
- Point position = stationIndex * 100 で全駅等分に忠実に配置
- デバッグログにpointPositionsを追加(Metroコンソールで確認可能)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-03-23 06:21:26 +00:00
harukin-expo-dev-env
9a567d2486
debug: ProgressStyle にログ追加 + dimColor alpha を100に増加
...
- buildProgressStyle にデバッグログ追加(total, stops, curIdx, progressValue)
- build() にデータ到着ログ追加(allStations.size, isStop count)
- dimColor alpha を60→100に上げて未通過Pointの視認性向上
- mapIndexedNotNull → forEachIndexed + mutableList に変更(明示的)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-03-23 06:09:47 +00:00
harukin-expo-dev-env
9271629aa9
fix: ProgressStyle復元 + 進捗位置更新の修正
...
- ProgressStyle (Point/Segment) を復元して描画
- 停車駅のみPointを配置(通過駅はセグメントのみ)
- currentStationIndex の部分一致フォールバック追加
- currentPosition 依存を除去し train.Pos から直接計算
- bodyフォーマッタで currentStation の '~' 区間を正しく分離
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-03-23 05:44:30 +00:00
harukin-expo-dev-env
86a4428861
feat: 通知進捗バー再設計 - 全駅対応の進捗表示
...
- 進捗バー: 小●=通過駅, 大●=停車駅, 🚃 =現在地
- タイトル: ○○号 ○○行き
- サブタイトル: 次は ●● / △△~△△間走行中
- StationEntry (name, isStop) で全駅リスト(通過含む)を通知に渡す
- TrainFollowNotificationBuilder: allStationsJson対応のProgressStyle
- LiveActivityForegroundService: バックグラウンドポーリングでも全駅インデックス計算
- FixedTrainBox/LiveActivityButton: allStations, currentStationIndex を計算・送信
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-03-23 05:01:55 +00:00
harukin-expo-dev-env
86123ecb81
feat: implement train tracking notifications with background polling and update UI components
2026-03-23 04:33:58 +00:00
harukin-expo-dev-env
0a2333a201
feat: add Android notification permission handling and improve error logging for live notifications
2026-03-22 23:06:56 +00:00
harukin-expo-dev-env
39a5b33e77
feat: add station progress tracking and notification updates for train follow feature
2026-03-22 17:09:19 +00:00
harukinMBP
6829744fa4
feat: add Live Activity button for train tracking and update iOS deployment target
2026-03-23 02:07:24 +09:00
harukin-expo-dev-env
777b5c8acb
feat: add live activity notifications for train tracking and station locking
...
- Implemented ExpoLiveActivity module for Android to manage live notifications.
- Added foreground service for train tracking and station locking notifications.
- Updated app permissions to include POST_NOTIFICATIONS.
- Enhanced FixedStation and FixedTrain components to support live notifications.
- Introduced new notification builders for train and station activities.
- Updated useCurrentTrain and useNotifications hooks to manage live notification state.
- Added notification channel for live tracking in Android.
2026-03-22 16:15:48 +00:00
harukinMBP
30e4e9780a
fix: update activity state handling to use ActivityContent with nil staleDate
2026-03-22 23:09:13 +09:00
harukinMBP
44cb462595
feat: add Live Activities support for train tracking and station locking
2026-03-22 22:49:05 +09:00
harukin-expo-dev-env
d4ad8c005e
feat(widget): add Shortcut, Delay Info, and Felica Balance widgets
...
- Implemented ShortcutWidget for quick access to app features with customizable shortcuts.
- Added DelayInfoWidget to display train delay information fetched from a remote endpoint.
- Created FelicaBalanceWidget to show the balance of Felica-compatible IC cards.
- Introduced OperationInfoWidget for displaying train operation status.
- Set up shared data handling for Felica snapshots between the main app and widget.
- Configured widget assets and entitlements for proper functionality.
- Updated Info.plist and expo-target.config.js for widget deployment.
2026-03-22 11:45:58 +00:00
harukin-expo-dev-env
0d0b82eee1
feat: FeliCa対応の可用性チェック機能を追加
2026-03-22 10:13:36 +00:00
harukinMBP
3e26463354
Update app.json build number to 58 and refine NFC error handling in ExpoFelicaReaderModule
2026-03-22 18:56:13 +09:00
harukinMBP
cefca15de9
Implement NFC scanning functionality in ExpoFelicaReader module
2026-03-21 22:04:55 +09:00
harukinMBP
787718c36a
Fix ExpoFelicaReader module: restore full definition, update diagnostics
2026-03-21 17:54:54 +09:00
harukin-expo-dev-env
8bc726628a
feat(felica): add station name lookup from FeliCa history
...
- Add regionCode (byte[15]) to history entry in Android/iOS native code
- areaCode = regionCode >> 6 determines the transit area (0-3)
- stationId = (areaCode<<16) | (lineCode<<8) | stationCode
- Add lib/felicaStationMap.ts with 5900+ station entries from
metrodroid/felica_stations.db3 (GPL-3.0)
- FelicaHistoryPage now shows station names instead of raw L/S codes
- Falls back to raw code format if station is not in the database
2026-03-14 13:21:47 +00:00
harukin-expo-dev-env
ee22d21862
fix: FeliCa履歴サービスコードを0x090Dから0x090Fに修正、バイトレイアウト修正
...
- 履歴サービスコード修正 (Android/iOS): 0x090D → 0x090F
- 0x090F が交通系IC共通の利用履歴サービスコード(tattn/NFCReader等で確認)
- 0x090D は存在しないサービスで常に空配列が返っていた
- parseHistoryBlock バイトレイアウト修正 (Android/iOS):
- [6] → 入場路線コード(旧: 入場時刻30分単位)
- [7] → 入場駅コード (旧: 出場時刻30分単位)
- [8] → 出場路線コード(旧: 残高低位)
- [9] → 出場駅コード (旧: 残高高位)
- [10-11] → 残高LE (rolex: 路線コード)
- [13] → 会社コード (旧: byte[14])
- FelicaHistoryEntry から entryHour/entryMinute/exitHour/exitMinute 削除
- FelicaHistoryPage UI から時刻表示を削除、路線+駅コード表示に更新
- PiTaPa は systemCode 0003 (交通系IC共通) を実装しているため追加設定不要
2026-03-14 11:27:51 +00:00
harukin-expo-dev-env
3894694c9b
fix: podspecのpackage.jsonパスとsource_filesを修正、.gitignoreのios除外を修正
2026-03-14 09:56:12 +00:00
harukin-expo-dev-env
6a66429431
feat: add FeliCa transaction history retrieval and update data structures
2026-03-14 08:53:23 +00:00
harukin-expo-dev-env
c2d3645b86
fix: update service code for FeliCa balance retrieval
2026-03-13 16:43:08 +00:00
harukin-expo-dev-env
ea94e4cf0d
fix: update FeliCa NFC reader configuration and correct balance parsing comments
2026-03-13 01:54:06 +00:00
harukin-expo-dev-env
4a7e481bfd
test
2026-03-12 14:39:57 +00:00
harukin-expo-dev-env
29941f515f
暫定コミット
2026-03-03 02:16:37 +00:00
harukin-expo-dev-env
625ee1d786
FeliCaリーダー機能を実装し、残高情報を取得するためのインターフェースを追加
2026-03-02 13:34:11 +00:00
harukin-expo-dev-env
b0822ba5fb
細かいバグを修正
2024-03-08 13:58:07 +00:00
harukin-expo-dev-env
18a6851966
felica-readerを自分のmodulesで再作成、依存関係を最適化
2024-03-08 09:09:03 +00:00