1. 移除通用 WebView 登录入口(半成品功能,凭据无法正确映射到 Repository) 2. allowBackup=false,移除空模板备份规则引用 3. 版本号修正:versionCode=5, versionName=1.5 4. 签名密码默认值改为空字符串(CI 注入 Secret) 5. release workflow 注入签名密码环境变量 6. 新增 ci.yml:push/PR 触发单测+Debug 编译 7. 新增 LICENSE 文件(MIT) 8. CommandCodeGoRepository 注释修正(顺序执行非并行) 9. README 安全声明更新}
71 lines
2.9 KiB
XML
71 lines
2.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||
xmlns:tools="http://schemas.android.com/tools">
|
||
|
||
<uses-permission android:name="android.permission.INTERNET" />
|
||
<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />
|
||
|
||
<application
|
||
android:name=".RainyTokenApplication"
|
||
android:allowBackup="false"
|
||
android:enableOnBackInvokedCallback="true"
|
||
android:icon="@mipmap/ic_launcher"
|
||
android:label="@string/app_name"
|
||
android:roundIcon="@mipmap/ic_launcher_round"
|
||
android:supportsRtl="true"
|
||
android:theme="@style/Theme.RainyToken"
|
||
android:networkSecurityConfig="@xml/network_security_config"
|
||
tools:targetApi="31">
|
||
|
||
<activity
|
||
android:name=".MainActivity"
|
||
android:exported="true"
|
||
android:label="@string/app_name"
|
||
android:theme="@style/Theme.RainyToken">
|
||
<intent-filter>
|
||
<action android:name="android.intent.action.MAIN" />
|
||
<category android:name="android.intent.category.LAUNCHER" />
|
||
</intent-filter>
|
||
</activity>
|
||
|
||
<!-- 桌面小组件:后台刷新接收器(主进程,需要 Hilt DI) -->
|
||
<receiver
|
||
android:name=".ui.widget.WidgetRefreshReceiver"
|
||
android:exported="false" />
|
||
|
||
<!-- OpenCode Go 小组件(MIUI Widget) -->
|
||
<receiver
|
||
android:name=".ui.widget.OpenCodeGoWidgetProvider"
|
||
android:exported="true"
|
||
android:label="@string/widget_name">
|
||
<intent-filter>
|
||
<!-- 标准 Android 定时刷新 -->
|
||
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
|
||
<!-- MIUI 曝光刷新(划到负一屏/桌面时触发) -->
|
||
<action android:name="miui.appwidget.action.APPWIDGET_UPDATE" />
|
||
</intent-filter>
|
||
<meta-data
|
||
android:name="android.appwidget.provider"
|
||
android:resource="@xml/widget_opencode_go_info" />
|
||
<!-- MIUI Widget 核心标识 -->
|
||
<meta-data
|
||
android:name="miuiWidget"
|
||
android:value="true" />
|
||
<!-- MIUI 曝光刷新:用户滑动到小组件所在页面时自动触发 -->
|
||
<meta-data
|
||
android:name="miuiWidgetRefresh"
|
||
android:value="exposure" />
|
||
<!-- 曝光刷新最小间隔 20 秒(官方最短为 10 秒) -->
|
||
<meta-data
|
||
android:name="miuiWidgetRefreshMinInterval"
|
||
android:value="20000" />
|
||
</receiver>
|
||
|
||
<!-- MIUI Widget 版本号(application 级,升级时递增) -->
|
||
<meta-data
|
||
android:name="miuiWidgetVersion"
|
||
android:value="1" />
|
||
|
||
</application>
|
||
|
||
</manifest> |