Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xuexiangjys
TemplateAppProject
提交
cd14730f
T
TemplateAppProject
项目概览
xuexiangjys
/
TemplateAppProject
通知
17
Star
0
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
4
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TemplateAppProject
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
4
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
cd14730f
编写于
3月 05, 2020
作者:
xuexiangjys
😊
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
更新内容
上级
8f2e6097
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
29 addition
and
14 deletion
+29
-14
app/build.gradle
app/build.gradle
+1
-0
app/proguard-rules.pro
app/proguard-rules.pro
+12
-2
app/src/main/AndroidManifest.xml
app/src/main/AndroidManifest.xml
+16
-12
未找到文件。
app/build.gradle
浏览文件 @
cd14730f
...
...
@@ -48,6 +48,7 @@ android {
buildTypes
{
release
{
minifyEnabled
true
shrinkResources
true
proguardFiles
getDefaultProguardFile
(
'proguard-android.txt'
),
'proguard-rules.pro'
if
(
isNeedPackage
.
toBoolean
())
{
signingConfig
signingConfigs
.
release
...
...
app/proguard-rules.pro
浏览文件 @
cd14730f
...
...
@@ -181,10 +181,18 @@
-keep class com.google.gson.stream.
*
* { *; }
-keep class com.google.gson.examples.android.model.
*
* { *; }
# Glide
-keep public class * implements com.bumptech.glide.module.GlideModule
-keep public class * extends com.bumptech.glide.module.AppGlideModule
-keep public enum com.bumptech.glide.load.ImageHeaderParser$
*
* {
*
*[] $VALUES;
public *;
}
# Retrofit
-dontwarn retrofit2.
*
*
-keep class retrofit2.
*
* { *; }
-keepattributes Exceptions
#XHt
-keepattributes Exceptions
# RxJava RxAndroid
-dontwarn sun.misc.
*
*
...
...
@@ -252,4 +260,6 @@
-keepclassmembers enum * {
public static
*
*[] values();
public static
*
* valueOf(java.lang.String);
}
\ No newline at end of file
}
-keep class com.xuexiang.xui.widget.edittext.materialedittext.
*
* { *; }
app/src/main/AndroidManifest.xml
浏览文件 @
cd14730f
...
...
@@ -15,7 +15,8 @@
android:roundIcon=
"@mipmap/ic_launcher_round"
android:supportsRtl=
"true"
android:theme=
"@style/AppTheme"
android:windowSoftInputMode=
"adjustPan|stateHidden"
>
android:windowSoftInputMode=
"adjustPan|stateHidden"
tools:ignore=
"LockedOrientationActivity"
>
<activity
android:name=
".activity.SplashActivity"
...
...
@@ -46,7 +47,8 @@
<!-- Scheme -->
<intent-filter>
<action
android:name=
"android.intent.action.VIEW"
/>
<action
android:name=
"com.xuexiang.xui.applink"
/>
<action
android:name=
"com.xuexiang.xui.applink"
/>
<category
android:name=
"android.intent.category.DEFAULT"
/>
<category
android:name=
"android.intent.category.BROWSABLE"
/>
...
...
@@ -55,14 +57,16 @@
<data
android:scheme=
"about"
/>
<data
android:scheme=
"javascript"
/>
<!-- 设置自己的deeplink -->
<!-- <data-->
<!-- android:host="xxx.com"-->
<!-- android:scheme="xui"/>-->
<!-- <data-->
<!-- android:host="xxx.com"-->
<!-- android:scheme="xui"/>-->
</intent-filter>
<!-- AppLink -->
<intent-filter
android:autoVerify=
"true"
<intent-filter
android:autoVerify=
"true"
tools:targetApi=
"m"
>
<action
android:name=
"android.intent.action.VIEW"
/>
<category
android:name=
"android.intent.category.BROWSABLE"
/>
<category
android:name=
"android.intent.category.DEFAULT"
/>
...
...
@@ -74,12 +78,12 @@
<data
android:mimeType=
"application/xhtml+xml"
/>
<data
android:mimeType=
"application/vnd.wap.xhtml+xml"
/>
<!-- 设置自己的applink -->
<!-- <data-->
<!-- android:host="xxx.com"-->
<!-- android:scheme="http"/>-->
<!-- <data-->
<!-- android:host="xxx.com"-->
<!-- android:scheme="https"/>-->
<!-- <data-->
<!-- android:host="xxx.com"-->
<!-- android:scheme="http"/>-->
<!-- <data-->
<!-- android:host="xxx.com"-->
<!-- android:scheme="https"/>-->
</intent-filter>
</activity>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录