Commit Graph

15 Commits

Author SHA1 Message Date
Developer
b4d5d2a0e2 Merge branch 'master-bug'
# Conflicts:
#	CHANGELOG.md
#	app/video/[bvid].tsx
#	components/DanmakuList.tsx
2026-03-25 15:06:37 +08:00
Developer
33a3148b38 feat: 直播小窗播放(PiP)功能
- 新增 store/liveStore.ts:Zustand store,存储小窗直播状态(roomId/title/cover/hlsUrl)
- 新增 components/LiveMiniPlayer.tsx:可拖动悬浮迷你直播播放器
  - 原生端实际播放 HLS 流(react-native-video,有声)
  - Web 端降级展示封面图 + LIVE 徽标
  - LIVE 红点徽标 + 标题条底部
  - 关闭按钮(×)和点击进入直播间
  - HLS 出错时自动关闭(onError → clearLive)
  - 视频 MiniPlayer 激活时自动上移避免重叠
- _layout.tsx:全局挂载 <LiveMiniPlayer />
- live/[roomId].tsx:顶部栏添加小窗按钮(browsers-outline)
  - 仅直播中且有流地址时显示,离线时占位保持 title 居中
  - 点击后 setLive + router.back(),返回首页继续看直播
  - 进入同房间时自动 clearLive() 避免双播
2026-03-25 13:16:16 +08:00
jinsha
4baec977e3 Merge pull request #30 from ac666666666/feat/ac-feature
fix(web): 补全缺失的 web shims 并修复渲染崩溃问题
2026-03-25 11:35:14 +08:00
Action
6f7c99906b fix(web): 补全缺失的 web shims 并修复渲染崩溃问题
- 新增 sentry-react-native、react-native-video、react-native-static-server、expo-network、expo-intent-launcher、expo-clipboard、expo-file-system 的 web shim
- 重写 react-native-pager-view shim,通过 useImperativeHandle 暴露 setPage 方法
- 修复 sentry-react-native shim 缺少 ErrorBoundary 导致的渲染崩溃
- 在 _layout.tsx 中加载 Ionicons 字体,修复 web 端字体 404
- 更新 metro.config.js 中 sentry shim 路径为 .tsx
2026-03-24 21:21:15 +08:00
Developer
f2fc4693a6 feat: 暗黑模式 + 节流模式
- settingsStore: 移除 coverQuality,新增 darkMode / trafficSaving 布尔字段(AsyncStorage 持久化)
- utils/theme.ts: 新建 useTheme() hook,返回浅色/深色颜色表
- settings.tsx: 新增外观(浅色/深色)和流量(标准/节流)选项,移除封面图清晰度
- BigVideoCard: 节流模式跳过预加载、禁止自动播放;封面低画质;支持暗黑配色
- useVideoDetail: 节流模式下默认 qn=16(360p)
- VideoCard / LiveCard: 移除 coverQuality 依赖,改用 trafficSaving;支持暗黑配色
- index.tsx: 导航栏/搜索栏/列表背景跟随主题
- search.tsx: 页面背景/输入框/文字跟随主题
- downloads.tsx: 顶栏/背景/文字跟随主题
- _layout.tsx: StatusBar 随暗黑模式切换 light/dark
2026-03-24 21:04:10 +08:00
Developer
eb4d61669a fix:expo-updates 包会在 expo prebuild 阶段向 Android 项目注入与 EAS Update 相关的 Gradle 任务,导致 assembleRelease 时卡住(挂起不退出) 2026-03-24 01:26:39 +08:00
Developer
9bffc16fef feat:添加哨兵功能,错误日志收集,为持续迭代做准备 2026-03-24 00:17:43 +08:00
Developer
462a090599 设置页面 2026-03-19 16:34:56 +08:00
Developer
94db7445fb 视频缓存 2026-03-17 22:18:05 +08:00
Developer
a46e63f0ba 1 2026-03-16 21:13:26 +08:00
Developer
829d175baa 1 2026-03-16 16:20:59 +08:00
Developer
a971a65f96 直播卡片 2026-03-13 21:52:09 +08:00
Developer
cf20b016ff 1 2026-03-10 19:04:18 +08:00
Developer
9b7e728c9d 1 2026-03-06 12:58:41 +08:00
Developer
a0e53bd073 feat: add all source files - services, store, hooks, components, screens 2026-03-05 18:02:54 +08:00