Commit graph

22 commits

Author SHA1 Message Date
Tommy Chow
1779520db8 use forked plugin for seamless quality switching, add latency tracking and cookie auth
Switch to forked better_native_video_player that uses preferredPeakBitRate
instead of replaceCurrentItem for seamless quality transitions without
black flash. Fork also adds configureForLivePlayback and getLatencyToLive
APIs for low-latency tuning and HLS program date-time based latency.

Add latency polling (10s interval) with auto-sync chat delay support.
Only update syncedChatDelay on >2s drift to avoid restarting countdown.

Add cookie extraction from WKWebView login session for ad-free GQL
playback. The auth-token cookie works with the web Client-ID per
Streamlink's approach. Extract at login, persist to secure storage,
and attempt fresh extraction on init for existing logged-in users.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 22:34:05 -07:00
Tommy Chow
1020b37e2f add experimental native video player with iOS auto-PiP
Adds an opt-in native HLS video player (iOS-only, off by default) that
uses AVPlayerViewController for true automatic picture-in-picture on
swipe-home, replacing the WebView-based player when enabled.

Key changes:
- GQL API client for fetching playback access tokens and building HLS URLs
- NativeVideoStore (MobX) managing player lifecycle, quality selection, PiP
- VideoPlayerInterface abstraction so both stores drive the same overlay
- Settings toggle gated on iOS with "Native player (experimental)" label
- Auth token fallback: tries authenticated GQL for ad-free, falls back to
  anonymous if rejected (app OAuth token != web Client-ID token)
- Scoped UnauthorizedInterceptor to Helix/OAuth URLs only
- iOS Info.plist background audio mode for PiP audio continuity

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 22:34:05 -07:00
Tommy Chow
bc0726aaa6 update ios config: align deployment target, add privacy manifest
- align IPHONEOS_DEPLOYMENT_TARGET from 13.0 to 15.0 across all build
  configurations to match Podfile platform version
- update AppFrameworkInfo.plist MinimumOSVersion from 13.0 to 15.0
- add PrivacyInfo.xcprivacy for App Store compliance (required since May 2024)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 20:13:35 -08:00
Tommy Chow
711d609cd9
Upgrade to Flutter 3.24 (#369)
* Fix lint warnings

* Update template files and upgrade packages

* Replace chat reply icon

* Upgrade packages

* Downgrade Kotlin version
2024-08-09 20:12:19 -07:00
Tommy Chow
bfc80548f5
Upgrade Flutter and packages (#366)
* Upgrade Flutter, packages, and template files

* Fix PiP on Android

* Upgrade

* Revert firebase versions to maintain iOS 12 support

* Revert
2024-08-04 16:20:36 -07:00
Tommy Chow
d3928dfe0c Regenerate splash screen assets 2023-12-22 18:29:04 -05:00
Tommy
9bfcd49037
Upgrade Flutter/Dart and dependencies (#265)
* Fix new lint issues

* Upgrade packages and remove `device_preview`

* Regenerate splash assets

* Migrate to `webview_flutter` 4.0

* Upgrade to Flutter 3.10 and Dart 3

* Update Podfile

* Fix video not disposing when leaving channel

* Remove `tuple` package

* Upgrade packages

* Upgrade packages

* Update podfile

* Upgrade packages

* Upgrade packages
2023-05-30 21:10:04 -04:00
Tommy
e369a77115
Migrate to Firebase for crash logs & analytics (#263)
* Remove Sentry Flutter

* Install and configure firebase

* Install and configure firebase crashlytics

* Install firebase performance monitoring

* Install firebase analytics

* Remove Sentry from github actions

* Update iOS configs

* Update setting toggle for firebase
2023-04-30 00:07:43 -04:00
Tommy Chow
4e134c0734 Add missing iOS icon sizes 2022-09-07 10:54:19 -04:00
Tommy Chow
5f9f9f149d Upgrade packages 2022-08-07 19:44:19 -04:00
Tommy Chow
e4bd5d86c4 Bump version to 1.5.0 & upgrade packages 2022-06-11 20:44:33 -04:00
Tommy Chow
34f41721b2 Fix app crashing on lower Android versions 2022-05-30 16:46:42 -04:00
Tommy Chow
3e484d4173 Upgrade packages & splash screen 2022-05-27 04:00:25 -04:00
Tommy Chow
9b88463d39 Upgrade packages & apply new lints (#113) 2022-05-12 04:58:03 -04:00
tommyxchow
c146ac551e Upgrade packages & icons/splash 2022-03-29 15:05:25 -04:00
Tommy Chow
5f7b3500ab Update encryption export compliance 2022-03-24 00:44:16 -04:00
Tommy Chow
ecd0cea816 Update splash screen 2022-02-04 21:46:07 -05:00
Tommy Chow
2562375778 Tweak icon color 2022-01-06 09:56:59 -05:00
Tommy Chow
3297c18468 Add initial support for hyperlinks in chat 2022-01-05 15:11:37 -05:00
Tommy Chow
a0b6baa971 Add placeholder app icon & change launch color 2022-01-05 12:56:00 -05:00
tommyxchow
122d88bba5 Update files to match latest template 2021-12-16 01:13:23 -05:00
Tommy Chow
7cec28d839 Initial commit 2021-08-18 09:38:00 -04:00