Skip to content

Commit

Permalink
feat:新增APK和密钥文件
Browse files Browse the repository at this point in the history
  • Loading branch information
sumingyan committed Apr 20, 2023
1 parent 1ee16d8 commit 158b4a9
Show file tree
Hide file tree
Showing 12 changed files with 40 additions and 9 deletions.
15 changes: 6 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@

| 图片 | 图片 |
| :----------------------------------------------------------: | :----------------------------------------------------------: |
| ![分类体系](https://user-images.githubusercontent.com/20841967/233252110-ebc4fdc0-132a-451a-8f27-29ea92052edf.gif) | ![分类体系](https://user-images.githubusercontent.com/20841967/233252110-ebc4fdc0-132a-451a-8f27-29ea92052edf.gif) |
| ![搜索](https://user-images.githubusercontent.com/20841967/233252130-59da489b-0595-4e8d-87cc-c9c1805ece1b.gif) | ![登录](https://user-images.githubusercontent.com/20841967/233252123-18ed07a7-89bc-42f8-a57d-7a1d4e388b09.gif) |
| ![分类体系](other/st_video.gif) | ![分类体系](other/st_category_system.gif) |
| ![搜索](other/st_search.gif) | ![登录](other/st_login.gif) |

| --- | --- | --- | --- |
| ![](other/st_home.jpeg) | ![](other/st_category.jpeg) | ![](other/st_system.jpeg) | ![](other/st_mine.jpeg) |

## 一、 关于SumTea

Expand Down Expand Up @@ -48,12 +50,7 @@

欢迎在 **Issue** 中提交对本仓库的改进建议~

## 三、版权声明

* 所有原创文章(未进行特殊标识的均属于原创) 的著作权属于 **Sumiya**
* 所有译文文章(标题注明`[译]`的所有文章) 的原文著作权属于原作者,译文著作权属于 **Sumiya**

#### 注意事项
## 三、注意事项

本项目API均来源于[**WanAndroid**](https://www.wanandroid.com),禁止商用。

Expand All @@ -67,7 +64,7 @@

- #### 微信:`SUM_817`
- #### Email:`[email protected]`
- #### Blog[https://blog.csdn.net/m0_37796683/](https://blog.csdn.net/m0_37796683/)
- #### 掘金[https://juejin.cn/user/1654096907477549](https://juejin.cn/user/1654096907477549)

如您有任何问题,也可以添加我的微信,进行学习上的交流。

Expand Down
15 changes: 15 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,20 @@ plugins {
}

android {
signingConfigs {
debug {
storeFile file('/Users/dnsb1389/AndroidStudioProjects/SumTea_Android/SumTea.jks')
storePassword '123456'
keyAlias 'sumtea'
keyPassword '123456'
}
release {
storeFile file('/Users/dnsb1389/AndroidStudioProjects/SumTea_Android/SumTea.jks')
storePassword '123456'
keyAlias 'sumtea'
keyPassword '123456'
}
}
compileSdk rootProject.android.compileSdk

defaultConfig {
Expand Down Expand Up @@ -42,6 +56,7 @@ android {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
}
compileOptions {
Expand Down
1 change: 1 addition & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
android:supportsRtl="true"
android:theme="@style/AppTheme"
android:usesCleartextTraffic="false"
android:networkSecurityConfig="@xml/network_security_config"
tools:targetApi="31">
<activity
android:name="com.sum.main.ui.SplashActivity"
Expand Down
18 changes: 18 additions & 0 deletions app/src/main/res/xml/network_security_config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<network-security-config xmlns:tools="https://schemas.android.com/tools">
<base-config cleartextTrafficPermitted="true">
<trust-anchors>
<certificates src="system" />
<certificates
src="user"
tools:ignore="AcceptsUserCertificates" />
</trust-anchors>
</base-config>
<!-- 支持 Android 7.0 以上调试时,信任 Charles 和 Fiddler 等用户信任的证书 -->
<debug-overrides>
<trust-anchors>
<certificates src="system" />
<certificates src="user" />
</trust-anchors>
</debug-overrides>
</network-security-config>
Binary file added other/st_category.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added other/st_category_system.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added other/st_home.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added other/st_login.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added other/st_mine.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added other/st_search.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added other/st_system.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added other/st_video.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 158b4a9

Please sign in to comment.