refactor(bundle): 更新 Android资源保留列表并调整导入路径

- 更新 keep.xml 文件,添加新的 drawable 资源
- 修改 env.ts 和 envUtils.ts 中的导入路径
- 移除 common.ts 中的冗余导入- 添加多个新模块的导入,包括工具类、界面组件和上下文管理
这个提交包含在:
xuqm 2025-09-01 15:04:59 +08:00
父节点 e575e9deb5
当前提交 6fe13630ba
共有 6 个文件被更改,包括 3265 次插入353 次删除

文件差异因一行或多行过长而隐藏

查看文件

@ -1 +1 @@
<resources xmlns:tools="http://schemas.android.com/tools" tools:keep="@drawable/src_common_assets_images_common_arrow_back,@drawable/node_modules_reactnavigation_elements_lib_module_assets_searchicon,@drawable/node_modules_reactnavigation_elements_lib_module_assets_backicon,@drawable/node_modules_reactnavigation_elements_lib_module_assets_backiconmask,@drawable/node_modules_reactnavigation_elements_lib_module_assets_clearicon,@drawable/node_modules_reactnavigation_elements_lib_module_assets_closeicon" />
<resources xmlns:tools="http://schemas.android.com/tools" tools:keep="@drawable/src_common_assets_images_common_appicon,@drawable/src_common_assets_images_common_arrow_back,@drawable/src_app_assets_images_common_common_clear,@drawable/src_app_assets_images_common_common_radio_button_selected,@drawable/src_app_assets_images_common_common_radio_button_unselected,@drawable/node_modules_reactnavigation_elements_lib_module_assets_searchicon,@drawable/node_modules_reactnavigation_elements_lib_module_assets_backicon,@drawable/node_modules_reactnavigation_elements_lib_module_assets_backiconmask,@drawable/node_modules_reactnavigation_elements_lib_module_assets_clearicon,@drawable/node_modules_reactnavigation_elements_lib_module_assets_closeicon,@drawable/src_app_assets_images_login_login_logo,@drawable/src_app_assets_images_login_login_phone_number,@drawable/src_app_assets_images_login_login_sms_code,@drawable/src_app_assets_images_login_login_username,@drawable/src_app_assets_images_login_login_password,@drawable/src_app_assets_images_login_login_invitation_code,@drawable/src_app_assets_images_login_login_id_card,@drawable/src_app_assets_images_common_common_logo" />

文件差异因一行或多行过长而隐藏

查看文件

@ -1,4 +1,3 @@
export const version_common = '1.0.0';
export const version_code = 1;
@ -19,3 +18,20 @@ import '@common/components/Alert.tsx';
import '@common/components/BottomSheet.tsx';
import '@common/components/HeaderBackImage.tsx';
import '@common/components/Spinner.tsx';
// 工具
import '@common/utils/commonUtils.ts';
import '@common/utils/md5';
// 界面
import '@common/screens/webview/WebViewScreen';
// context
import '@common/contexts/AuthContext';
import '@common/contexts/CommonContext';
import '@common/contexts/useAuth';
import '@common/contexts/useCommon';
// 常量定义
import '@common/constants/index';
import '@common/constants/types';
import '@common/constants/values';
// 网络工具
import '@common/api/useApi';
import '@common/api/usePageApi';

查看文件

@ -1,4 +1,4 @@
import {RequiredCommonInfo} from '@app/contexts/CommonContext';
import { RequiredCommonInfo } from '@common/contexts/CommonContext.tsx';
type Env = {
env: RequiredCommonInfo['env'];

查看文件

@ -1,5 +1,5 @@
import {RequiredCommonInfo} from '@app/contexts/CommonContext';
import ENV from '@common/env/env.ts';
import { RequiredCommonInfo } from '@common/contexts/CommonContext.tsx';
/**
* @description: