xiaomakuaiz
|
301a75fb16
|
feat(mobile): 任务对话支持选图作为附件发送 + 对话图片保存到相册
对齐 Web chat-inputbox:
- 选图:expo-image-picker 相册多选(≤3 张、仅图片);超 2MB 自动用 expo-image-manipulator
缩边长 + JPEG 压缩到 2MB 内(≤2MB 原图直接用)
- 上传:预签名直传(POST /api/v1/uploader/presign → PUT 原始字节)。用 XHR(responseType blob)
取本地文件,blob.slice(...,'') 去掉 Content-Type,fetch credentials:'omit' 跨域直传——对齐 Web
的 new Blob([file]);否则 iOS 多发的 Content-Type 进入 SigV4 规范请求触发 SignatureDoesNotMatch
- 发送:user-input 负载带 attachments:[{url,filename}](原来恒为空);历史/实时用户消息渲染缩略图
- composer:暂存缩略图(上传中/失败态、可移除)、上传中禁发、并发上传;快捷指令不带走暂存图
- AI 的 markdown 图片:覆盖 markdown image 规则,用普通 <Image> + onLoad 自适应比例,修掉
react-native-fit-image 永久 loading 转圈 + React19 "key spread into JSX" 告警
- 保存到相册:点对话里的图片 → expo-media-library/legacy 存系统相册
- 新增原生依赖 expo-image-picker / expo-image-manipulator / expo-media-library
(需重新原生构建;app.json 加图库读/写权限)
|
2026-06-09 22:06:33 +08:00 |
|
xiaomakuaiz
|
ac8e90de2a
|
chore(mobile): 取消跟踪 android/ 与 ios/(回归纯 CNG,由 expo prebuild 生成)
mobile/.gitignore 的 "# Native" 段本就忽略 android/ 与 ios/,但早期用 git add -f
强行入库了 16 个 android 脚手架文件(build.gradle/AndroidManifest/gradlew 等)和一个
误入的 ios/.gitignore。这些都是 expo prebuild 每次重新生成的产物,入库冗余且与 gitignore
矛盾,还可能让 CI 用到旧的入库文件而非现生成的。改为从 git 移除(磁盘保留),CI 的
expo prebuild -p android/ios 会现生成。签名靠 CI 注入、版本靠 app.json,均不受影响。
|
2026-06-09 12:34:30 +08:00 |
|
xiaomakuaiz
|
a6fd8ecbc8
|
chore(mobile): 移除旧 Capacitor 客户端,Expo 客户端(mobile-expo)重命名为 mobile
删除原 Capacitor 版 mobile/;将 SDK56 重构的 mobile-expo/ 重命名为 mobile/。
(android/ios/node_modules 等为 gitignore 生成物,未入库;本地需重新 npm install + prebuild)
|
2026-06-09 00:52:42 +08:00 |
|
Monster
|
b6d73a9dbb
|
Add explicit frontend edition builds
|
2026-05-19 17:54:42 +08:00 |
|
monster
|
40fb410b85
|
fix: stabilize ios webview and app store submission
|
2026-03-24 23:33:48 +08:00 |
|
monster
|
54f069838f
|
revert: restore pre-xcode-26 ios state
|
2026-03-24 22:52:17 +08:00 |
|
monster
|
8398d50576
|
fix: prefer stable xcode for ios ci
|
2026-03-24 22:44:27 +08:00 |
|
monster
|
8a3c55203b
|
fix: stabilize ios launch screen build
|
2026-03-24 22:30:44 +08:00 |
|
monster
|
04fee9d817
|
fix: stabilize desktop and ios release builds
|
2026-03-24 22:19:21 +08:00 |
|
monster
|
d339f67254
|
fix: stabilize ios archive build
|
2026-03-24 22:03:41 +08:00 |
|
monster
|
223da804fd
|
fix xcode platform detection
|
2026-03-24 21:46:34 +08:00 |
|
monster
|
21552bb0b1
|
fix ios submission compliance and xcode selection
|
2026-03-24 21:19:47 +08:00 |
|
monster
|
c38f1b3e42
|
fix ios app icon and ipa naming
|
2026-03-24 21:06:30 +08:00 |
|
monster
|
5c315e304d
|
fix ios archive target overrides
|
2026-03-24 20:55:53 +08:00 |
|
monster
|
f797ca19b8
|
fix ios pod framework signing
|
2026-03-24 20:50:44 +08:00 |
|
monster
|
7a43b72b77
|
fix ios export signing
|
2026-03-24 20:45:05 +08:00 |
|
monster
|
a3c72be87d
|
fix ios ci path resolution
|
2026-03-24 20:38:17 +08:00 |
|
monster
|
f8a8bbb342
|
Use xcodebuild for iOS archive export
|
2026-03-24 20:26:49 +08:00 |
|
monster
|
30c1f6d6f2
|
Disable iOS profile auto-detection
|
2026-03-24 20:22:49 +08:00 |
|
monster
|
bc82e22d0d
|
Fix iOS export method compatibility
|
2026-03-24 20:18:34 +08:00 |
|
monster
|
a14b53dc24
|
Fix iOS export signing mode
|
2026-03-24 20:14:36 +08:00 |
|
monster
|
3595a372b7
|
Fix iOS target-specific signing
|
2026-03-24 20:07:13 +08:00 |
|
monster
|
ffa212f8e1
|
Fix iOS release signing configuration
|
2026-03-24 20:01:36 +08:00 |
|
monster
|
6343c3a5ba
|
Add iOS release pipeline and project
|
2026-03-24 19:08:57 +08:00 |
|
 MonsterandClaude Sonnet 4.6
|
0be9dd67db
|
chore: 桌面和移动端入口点改为 /console/
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-03-24 15:44:43 +08:00 |
|
 MonsterandClaude Sonnet 4.6
|
d31dbc7836
|
feat(android): 改为打 release 包并配置签名
build.gradle 从环境变量读取 keystore 信息,CI 从 GitHub Secrets
解码 keystore 文件后执行 assembleRelease。
需在仓库 Secrets 配置:
ANDROID_KEYSTORE_BASE64 / ANDROID_KEY_ALIAS
ANDROID_KEY_PASSWORD / ANDROID_STORE_PASSWORD
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-03-24 15:25:09 +08:00 |
|
 MonsterandClaude Sonnet 4.6
|
57876a8f66
|
fix(android): 修复图标尺寸,前景层使用正确的 108dp 规范
ic_launcher_foreground 是自适应图标前景层,需使用 108dp 画布(非
普通图标的 48dp),logo 内容居中在 72dp 安全区内,避免显示过大。
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-03-24 15:13:12 +08:00 |
|
Monster
|
5b00d54a92
|
revert: 撤回 WebView UA 覆盖(与验证码失败无关)
|
2026-03-24 12:40:41 +08:00 |
|
 MonsterandClaude Sonnet 4.6
|
cad2bfc1a9
|
fix(android): 修复 WebView 验证码失败与欢迎页白屏问题
- MainActivity: 覆盖 WebView User-Agent,移除 `wv` 标识,避免被
@cap.js/widget 验证码检测为机器人导致登录失败
- banner: 将"开始使用"改用 React Router Link,避免触发完整页面
重载导致 Capacitor WebView 白屏
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-03-24 12:37:59 +08:00 |
|
 MonsterandClaude Sonnet 4.6
|
6c98f3410e
|
fix(mobile): 替换 Android 应用图标为 logo-colored,入口点改为 /login
- 将 logo-colored.png 缩放到各 mipmap 密度(48~192px)替换默认图标
- capacitor.config.json 设置 server.url 为生产地址 /login,与 Electron 行为一致
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-03-24 12:29:51 +08:00 |
|
 MonsterandClaude Sonnet 4.6
|
5e786ea826
|
feat: 新增 Android 移动端项目(Capacitor)
基于 Capacitor 7.6.0 的 Android 壳层项目,加载 frontend/dist 编译产物
补充 .gitignore 忽略 node_modules 和 cap sync 生成的前端资源
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-03-24 12:19:16 +08:00 |
|