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
2cd5142262
fix: バックグラウンドでのデータ取得を継続し、列車追跡の終了条件をフォアグラウンドに依存させるよう修正
2026-03-23 15:52:23 +00:00
harukin-expo-dev-env
4b518b848e
fix: FelicaQuickAccessWidgetとFelicaBalanceWidgetのUIを改善し、背景デザインを最適化
2026-03-23 15:14:08 +00:00
harukin-expo-dev-env
fb89a2b334
fix: Live Activity関連の不要なコードを削除し、トレイン情報の構築を最適化
2026-03-23 14:54:56 +00:00
harukin-expo-dev-env
a66af59438
fix: Live Activityの定期的な更新を追加し、selectedTrainの再計算を60秒ごとに実施
2026-03-23 11:45:08 +00:00
harukin-expo-dev-env
04d0f50b99
fix: Live Activityの自動開始条件をselectedTrainに依存させるように修正
2026-03-23 11:33:36 +00:00
harukin-expo-dev-env
f4b86f4e77
fix: FelicaQuickAccessWidgetおよびShortcutWidgetのUIを改善し、バランスウィジェットのデザインを更新
2026-03-23 11:26:17 +00:00
harukin-expo-dev-env
91470b5db8
fix: LiveActivityButtonを削除し、FixedStationおよびFixedTrainコンポーネントでの自動Live Activity開始を実装
2026-03-23 11:25:29 +00:00
harukin-expo-dev-env
ffcc6ff660
fix: 列車通知機能に路線色を追加し、進捗スタイルのセグメントに対応
2026-03-23 10:55:14 +00:00
harukin-expo-dev-env
681b12b622
fix: 通知機能のエラーハンドリングを改善し、Androidの通知権限を要求する処理を追加
2026-03-23 09:37:15 +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
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
d79f5a07f8
feat: TrainDataSourcesコンポーネントにスクリーンショット共有機能を追加
2026-03-23 05:14:05 +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
960acdbb3f
refactor: update ShortcutWidget layout and component structure for improved readability and maintainability
2026-03-23 04:40:02 +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
c7b1501475
fix: correct scroll reference in useAutoScroll hook
2026-03-23 01:32:54 +00:00
harukin-expo-dev-env
814de31418
feat: add date formatting and stale check for Unyohub entries in TrainDataSources
2026-03-23 01:10:59 +00:00
harukin-expo-dev-env
ecc9ee313e
feat: update navigation handling and widget click actions for improved user experience
2026-03-22 23:23:32 +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
d9574f991d
feat: add automatic Live Activity updates for train position and station lock in TrainDataView and StationDiagramView
2026-03-22 23:03:07 +09:00
harukinMBP
a665bf3a74
feat: add Live Activity support for station locking in StationDiagramView
2026-03-22 23:01:00 +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
787718c36a
Fix ExpoFelicaReader module: restore full definition, update diagnostics
2026-03-21 17:54:54 +09:00
harukin-expo-dev-env
91cad9c2c8
Refactor code structure for improved readability and maintainability
2026-03-20 07:14:58 +00:00
harukin-expo-dev-env
11cd8e0f40
fix: ダークモード - 設定リスト・お気に入り並び替え・SNSリストの表示修正
...
- SettingTopPage: SettingList の containerStyle を直接設定して背景色を適用
- FavoiliteSettingsItem: 駅名テキストと並び替えアイコンに color: colors.text を追加
- SocialMenu: SNS一覧の ListItem に containerStyle と ListItem.Title の色を追加
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-03-19 08:46:14 +00:00
harukin-expo-dev-env
cf611c6c8d
feat: 新アーキテクチャへの移行準備と依存関係の更新
...
- app.json: newArchEnabledをtrueに設定し、kotlinVersionを2.1.20に更新
- babel.config.js: lazyImportsを有効化し、react-native-reanimated/pluginを追加
- metro.config.js: experimentalImportSupportを有効化
- package.json: react-native-reanimated-carouselを4.0.3に更新
- 新しいプラグインwith-android-local-propertiesを追加
- 新しいドキュメントnew-architecture-migration-plan.mdを作成
- その他のファイルでの軽微な修正
2026-03-18 05:43:21 +00:00
harukin-expo-dev-env
b7a09eda6e
feat: Expo SDK 53 → 54 upgrade (React Native 0.81.5)
...
- expo: ^53.0.0 → ^54.0.0 (54.0.33)
- react-native: 0.79.6 → 0.81.5
- react: 19.0.0 → 19.1.0
- babel-preset-expo: ~13.0.0 → ~54.0.10
- @expo/vector-icons: ^14.0.2 → ^15.0.3
- react-native-reanimated: ~3.17.4 → ~4.1.1
- react-native-worklets: 新規追加 (reanimated v4 必須 peer dep)
- expo-system-ui: 新規追加 (userInterfaceStyle 対応)
変更内容:
- app.json: newArchEnabled を expo-build-properties から expo root へ移動
- babel.config.js: React Compiler を明示的に無効化
- UpdateAsync.ts: expo-updates reloadAsync API 変更に対応
- TopMenuButton.tsx: @expo/vector-icons deep path import を named import に変更
- trainIconStatus.tsx: 未使用の Icon deep path import を削除
- package.json: @types/react ~19.0.10 → ~19.1.4、doctor exclude 追加
2026-03-18 01:51:44 +00:00
harukin-expo-dev-env
10df37d0a2
feat: Expo SDK 52→53 upgrade + full dark mode support
...
- Upgrade Expo SDK 52→53 (React 18→19, RN 0.76→0.79)
- Remove deprecated packages (native-base, react-native-elements)
- Migrate to @rneui/themed 5.0.0 + modular vector icons
- Fix breaking changes: defaultProps, BackHandler, notifications, key props
- Add Babel plugin for font scaling (replaces Text.defaultProps)
- Configure expo-font for native font preloading
- Add complete dark mode theme system (lib/theme/)
- AppThemeProvider + useThemeColors hook
- Light/dark/fixed color token definitions
- Migrate ~60 files across all screens to use theme colors
- Set userInterfaceStyle to "automatic" for system dark mode
2026-03-17 22:19:46 +00:00
harukin-expo-dev-env
29bc89f183
feat: Felicaウィジェット ディープリンク対応 + 通知タップルーティング\n\n- FelicaQuickAccessWidget: OPEN_URI で jrshikoku://open/felica へディープリンク\n- App.tsx: ディープリンクハンドラ (routeFromUrl → FelicaHistoryPage)\n- Apps.tsx: linking config + rootNavigationRef 接続\n- lib/rootNavigation.ts: グローバルナビゲーション ref 追加\n- useNotifications.tsx: 通知タップ時のルーティング (遅延速報EX/怪レい列車/運行情報)\n- docs/widget-overview.md: ウィジェット機能の概要ドキュメント"
2026-03-17 10:00:21 +00:00
harukin-expo-dev-env
adfe69b72f
feat: expo-audioによる音声再生機能を追加
...
- expo-audio依存を追加、app.jsonにプラグイン設定
- 設定画面ヘッダー画像タップで音声再生
- expo-assetでOTA対応のアセット解決 + file:// prefix除去(SDK52バグ回避)
- 音声ファイルはmp3のみ保持(wav/m4a/ogg削除)
- SDK53以降でinterruptionMode: duckOthers対応予定
2026-03-17 09:43:54 +00:00
harukin-expo-dev-env
f387479ff7
feat(Felica): implement Felica quick access widget and update snapshot handling
2026-03-17 06:17:14 +00:00
harukin-expo-dev-env
0a8d5ca2b6
feat(FixedContentBottom): add buttons for ダイヤグラフ and 運用チャート with navigation
2026-03-17 02:32:21 +00:00
harukin-expo-dev-env
48b38a2fa3
fix(TrainDataSources): update URL opening logic and hide sheet on link click
...
fix(ListViewItem): ensure source index wraps around for vehicle sources display
2026-03-15 08:28:47 +00:00
harukin-expo-dev-env
aeb043cac5
fix(ListViewItem): update dependency array in useEffect for source index and fade animation
2026-03-15 08:07:24 +00:00
harukin-expo-dev-env
2c6ceb73d8
fix(ScrollingDescription): round width values for text and container layout
2026-03-15 07:57:15 +00:00
harukin-expo-dev-env
f214f45fef
feat(felica): add vehicle source display and selection modal in StationDiagramView and ListView components
2026-03-15 06:11:48 +00:00
harukin-expo-dev-env
616846e1cd
feat(felica): enhance history row with balance calculation and long press copy functionality
2026-03-15 03:41:30 +00:00
harukin-expo-dev-env
be88a46df1
feat(felica): update build and version codes, enhance Felica history page with card type display and scanning functionality
2026-03-15 03:01:07 +00:00
harukin-expo-dev-env
7386ec09fc
feat(felica): update station label handling for non-transit process types
2026-03-14 17:23:24 +00:00
harukin-expo-dev-env
8fda56793a
Merge commit '83c7dbde630da01d608558c687ca178bbae5e020' into feature/felica-example
2026-03-14 13:55:27 +00:00
harukin-expo-dev-env
676fbf7b64
feat: add nearest station tracking and display functionality
2026-03-14 13:55:05 +00: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
ec4db3de9b
feat: implement FeliCa history page and update navigation
2026-03-14 08:54:35 +00:00