Rebrand the entire application from "胡萝卜社区" (Carrot BBS) to "威友" (WithYou), including:
Some checks failed
Frontend CI / build-and-push-web (push) Failing after 2m51s
Frontend CI / ota-android (push) Successful in 11m16s
Frontend CI / build-android-apk (push) Failing after 12m54s

- Update app name, package name (skin.carrot.bbs → cn.qczlit.withyou), and bundle identifier
- Update API endpoints (bbs.littlelan.cn → withyou.littlelan.cn)
- Update URL scheme (carrotbbs:// → withyou://)
- Rename database from carrot_bbs to with_you
- Update CI/CD pipeline image names and artifact naming
- Add Android signing configuration for release builds
- Update all UI text and comments throughout the codebase
- Refactor registerStore to use in-memory state instead of AsyncStorage persistence
- Improve WebRTC track handling and call stream management
- Add metro platform resolution for native platform support

BREAKING app package, database, and URLs are no longer valid
This commit is contained in:
lafay
2026-04-22 16:54:51 +08:00
parent 1c3797ea7d
commit 437dab3b6e
47 changed files with 221 additions and 235 deletions

View File

@@ -1,6 +1,6 @@
/**
/**
* 关于我们页面 AboutScreen
* 胡萝卜BBS - 应用信息、版本检查与更新
* 威友 - 应用信息、版本检查与更新
* 扁平化设计风格,参考登录、注册、设置页面
*/
@@ -39,7 +39,7 @@ const THEME_COLORS = {
primaryDark: '#E55A2B',
};
const APP_NAME = '萝卜社区';
const APP_NAME = '威友';
const APP_SLOGAN = '连接校园,分享生活';
const APP_VERSION = Constants.expoConfig?.version || '1.0.0';
const BUILD_NUMBER = Constants.expoConfig?.android?.versionCode || Constants.expoConfig?.ios?.buildNumber || '1';

View File

@@ -1,6 +1,6 @@
/**
/**
* 聊天设置页 ChatSettingsScreen
* 胡萝卜BBS - 聊天个性化设置
* 威友 - 聊天个性化设置
*/
import React, { useMemo, useCallback, useRef } from 'react';

View File

@@ -1,6 +1,6 @@
/**
/**
* 数据与存储设置页 DataStorageScreen响应式适配
* 胡萝卜BBS - 缓存管理、存储统计
* 威友 - 缓存管理、存储统计
*/
import React, { useState, useEffect, useCallback, useMemo } from 'react';

View File

@@ -1,6 +1,6 @@
/**
/**
* 编辑资料页 EditProfileScreen响应式适配
* 胡萝卜BBS - 编辑用户资料
* 威友 - 编辑用户资料
* 与用户资料页样式完全一致
* 表单在宽屏下居中显示
*/

View File

@@ -1,6 +1,6 @@
/**
/**
* 通知设置页 NotificationSettingsScreen响应式适配
* 胡萝卜BBS - 通知相关设置
* 威友 - 通知相关设置
* 在宽屏下居中显示
*/

View File

@@ -1,6 +1,6 @@
/**
/**
* 隐私政策页面 PrivacyPolicyScreen
* 胡萝卜BBS - 隐私政策
* 威友 - 隐私政策
* 扁平化设计风格
*/
@@ -22,7 +22,7 @@ import { useResponsive, useResponsiveSpacing } from '../../hooks';
// 内容最大宽度
const CONTENT_MAX_WIDTH = 400;
// 胡萝卜橙主题色
// 威友橙主题色
const THEME_COLORS = {
primary: '#FF6B35',
};
@@ -34,7 +34,7 @@ const LAST_UPDATED = '2026年4月4日';
const PRIVACY_SECTIONS = [
{
title: '引言',
content: `萝卜社区(以下简称"我们"或"本应用")非常重视用户的隐私和个人信息保护。我们深知个人信息对您的重要性,并会尽全力保护您的个人信息安全可靠。
content: `威友(以下简称"我们"或"本应用")非常重视用户的隐私和个人信息保护。我们深知个人信息对您的重要性,并会尽全力保护您的个人信息安全可靠。
本隐私政策旨在帮助您了解我们如何收集、使用、存储、共享和保护您的个人信息,以及您享有的相关权利。请您在使用我们的服务前,仔细阅读并理解本隐私政策的全部内容。
@@ -293,7 +293,7 @@ export const PrivacyPolicyScreen: React.FC = () => {
<View style={styles.highlightBox}>
<Text style={styles.highlightTitle}></Text>
<Text style={styles.highlightText}>
</Text>
</View>

View File

@@ -1,6 +1,6 @@
/**
/**
* 个人主页 ProfileScreen
* 胡萝卜BBS - 当前用户个人主页
* 威友 - 当前用户个人主页
* 使用统一的 UserProfileScreen 组件mode='self'
*/

View File

@@ -1,6 +1,6 @@
/**
/**
* 设置页 SettingsScreen响应式适配
* 胡萝卜BBS - 应用设置
* 威友 - 应用设置
* 在宽屏下居中显示,最大宽度限制
*/
@@ -363,7 +363,7 @@ export const SettingsScreen: React.FC = () => {
<View style={styles.footer}>
<Text variant="caption" color={colors.text.hint}>
v{APP_VERSION}
v{APP_VERSION}
</Text>
<Text variant="caption" color={colors.text.hint} style={styles.copyright}>
© 2026

View File

@@ -1,6 +1,6 @@
/**
/**
* 用户协议页面 TermsOfServiceScreen
* 胡萝卜BBS - 用户服务协议
* 威友 - 用户服务协议
* 扁平化设计风格
*/
@@ -22,7 +22,7 @@ import { useResponsive, useResponsiveSpacing } from '../../hooks';
// 内容最大宽度
const CONTENT_MAX_WIDTH = 400;
// 胡萝卜橙主题色
// 威友橙主题色
const THEME_COLORS = {
primary: '#FF6B35',
};
@@ -34,7 +34,7 @@ const LAST_UPDATED = '2026年4月4日';
const TERMS_SECTIONS = [
{
title: '一、协议的范围',
content: `1.1 本协议是您与萝卜社区(以下简称"我们"或"本应用")之间关于您使用本应用服务所订立的协议。
content: `1.1 本协议是您与威友(以下简称"我们"或"本应用")之间关于您使用本应用服务所订立的协议。
1.2 本协议内容包括协议正文及所有我们已经发布或将来可能发布的各类规则、公告或通知。所有规则为本协议不可分割的组成部分,与协议正文具有同等法律效力。

View File

@@ -1,6 +1,6 @@
/**
/**
* 统一的用户主页组件
* 胡萝卜BBS - 支持两种模式self当前用户和 other其他用户
* 威友 - 支持两种模式self当前用户和 other其他用户
* 采用现代卡片式设计,优化视觉层次和交互体验
* 支持桌面端双栏布局
*/

View File

@@ -1,6 +1,6 @@
/**
/**
* 用户主页 UserScreen
* 胡萝卜BBS - 查看其他用户资料
* 威友 - 查看其他用户资料
* 使用统一的 UserProfileScreen 组件mode='other'
*/