Compare commits
156 Commits
peki
...
develop_hi
Author | SHA1 | Date | |
---|---|---|---|
![]() |
9f0b36b951 | ||
![]() |
7a4a9cf7ea | ||
![]() |
beb5b04ad9 | ||
![]() |
5a92e5c564 | ||
![]() |
5a264ef629 | ||
![]() |
44596de033 | ||
![]() |
09f7c47bea | ||
![]() |
3cf3a59a3e | ||
![]() |
873467cbbc | ||
![]() |
ec0e0046bd | ||
![]() |
22439f478a | ||
![]() |
7e8e2d93e7 | ||
![]() |
c89029afe8 | ||
![]() |
bc3555d36c | ||
![]() |
1e2e40a462 | ||
![]() |
798949bce2 | ||
![]() |
1324412250 | ||
![]() |
3937aac9d9 | ||
![]() |
5d9ff675a7 | ||
![]() |
ac76027eca | ||
![]() |
e633943a74 | ||
![]() |
873ab6071d | ||
![]() |
d2bf4ae00d | ||
![]() |
9a438f1b6b | ||
![]() |
db900d6d63 | ||
![]() |
cc285b5832 | ||
![]() |
f6c2354f4c | ||
![]() |
90a9b52551 | ||
![]() |
ecfe005606 | ||
![]() |
c8a23a1532 | ||
![]() |
9ac08da9f1 | ||
![]() |
00f025a8c5 | ||
![]() |
103f6a2744 | ||
![]() |
c68c254073 | ||
![]() |
609386f668 | ||
![]() |
aa28ad2513 | ||
![]() |
03a101d8f7 | ||
![]() |
ef1c12d14b | ||
![]() |
089249a5da | ||
![]() |
07417877f7 | ||
![]() |
6b98da175d | ||
![]() |
0c36bfe7eb | ||
![]() |
16348e44d8 | ||
![]() |
6c73ac79c4 | ||
![]() |
9858dbb0f2 | ||
![]() |
50333f5a66 | ||
![]() |
64b7a0a808 | ||
![]() |
3d73cae162 | ||
![]() |
fa33b1d53f | ||
![]() |
6fc4b7528d | ||
![]() |
ede0acb1de | ||
![]() |
93f3a6d87f | ||
![]() |
10f0c71ad7 | ||
![]() |
60ecb4f58e | ||
![]() |
40b4c45fcf | ||
![]() |
d44a10b8dd | ||
![]() |
e14f76cb47 | ||
![]() |
62c5aa8bd8 | ||
![]() |
7a5a706745 | ||
![]() |
0ce739db30 | ||
![]() |
5bda23c293 | ||
![]() |
efef976125 | ||
![]() |
615e0d7427 | ||
![]() |
6cde3bd66d | ||
![]() |
dcf30b9e13 | ||
![]() |
f0ec5c059d | ||
![]() |
404951a428 | ||
![]() |
129af8f574 | ||
![]() |
4dba696ee3 | ||
![]() |
2f895274eb | ||
![]() |
339fb12490 | ||
![]() |
d9c84e1ac7 | ||
![]() |
4c80cda20a | ||
![]() |
be14ac50e1 | ||
![]() |
0bd3686cd2 | ||
![]() |
568bf9b786 | ||
![]() |
c28ecebf71 | ||
![]() |
624349ea7b | ||
![]() |
780613ee56 | ||
![]() |
5f2dce29e1 | ||
![]() |
a51813e706 | ||
![]() |
9828bd433d | ||
![]() |
ced0ceb6e3 | ||
![]() |
729a73ef54 | ||
![]() |
066bcde63c | ||
![]() |
f430241d9f | ||
![]() |
7fc1285ad7 | ||
![]() |
892ac6b8f9 | ||
![]() |
897c4ce34d | ||
![]() |
2e6d3502ea | ||
![]() |
84b6a40e93 | ||
![]() |
c311ab96ac | ||
![]() |
a274271dd8 | ||
![]() |
fefcc5260a | ||
![]() |
99451e9bc4 | ||
![]() |
c4631f2143 | ||
![]() |
75d662204a | ||
![]() |
1fc37eb85d | ||
![]() |
bc3097f412 | ||
![]() |
4f24fed67f | ||
![]() |
e1b7a5464d | ||
![]() |
f5ba7b3f22 | ||
![]() |
81da986e04 | ||
![]() |
85dff2ac90 | ||
![]() |
7b773d0558 | ||
![]() |
46ba8d2db3 | ||
![]() |
5d54acd01d | ||
![]() |
c7ff6f0524 | ||
![]() |
45ab9ac463 | ||
![]() |
5287533ee8 | ||
![]() |
9cacea3ef4 | ||
![]() |
c4eacb63d9 | ||
![]() |
157d71edcd | ||
![]() |
95ab273750 | ||
![]() |
a7ba26a85b | ||
![]() |
7291b61e44 | ||
![]() |
034185d13b | ||
![]() |
39a9e277bd | ||
![]() |
b11b6928c5 | ||
![]() |
41c00cadcd | ||
![]() |
4cbc12487b | ||
![]() |
345cf1a112 | ||
![]() |
7cb27f61b1 | ||
![]() |
865dbb09b6 | ||
![]() |
a38190e2f9 | ||
![]() |
ef5e0a8f59 | ||
![]() |
774965a2ec | ||
![]() |
0d488877c8 | ||
![]() |
b647785244 | ||
![]() |
9063aee884 | ||
![]() |
a3f2f1324c | ||
![]() |
fe3347fd00 | ||
![]() |
e97f5b3953 | ||
![]() |
72f12588c0 | ||
![]() |
995278f44f | ||
![]() |
382eeb3a89 | ||
![]() |
9462b4a1be | ||
![]() |
cfdb30b1d5 | ||
![]() |
b598d6d3a6 | ||
![]() |
ab08a85a2a | ||
![]() |
2b79b7ae6a | ||
![]() |
7e05a6514f | ||
![]() |
ee28779a01 | ||
![]() |
71dab1bb8f | ||
![]() |
1fd9f386d8 | ||
![]() |
c334100bae | ||
![]() |
99844fc6eb | ||
![]() |
cedc402455 | ||
![]() |
1d4f1492f9 | ||
![]() |
5b76455f20 | ||
![]() |
b57eb8b9f4 | ||
![]() |
cb6ca8049f | ||
![]() |
8157edc05c | ||
![]() |
c474cd5824 | ||
![]() |
7560110af2 | ||
![]() |
9d63a90942 |
6
.gitignore
vendored
@@ -7,7 +7,7 @@
|
||||
.externalNativeBuild
|
||||
.idea
|
||||
.settings
|
||||
app/peki/debug/app-accompany-debug.apk
|
||||
app/peki/debug/output.json
|
||||
app/peko/debug/app-accompany-debug.apk
|
||||
app/peko/debug/output.json
|
||||
*.apk
|
||||
app/peki/release/output.json
|
||||
app/peko/release/output.json
|
||||
|
@@ -1,34 +0,0 @@
|
||||
apply plugin: 'com.android.library'
|
||||
apply plugin: 'kotlin-android'
|
||||
|
||||
android {
|
||||
compileSdkVersion COMPILE_SDK_VERSION.toInteger()
|
||||
|
||||
defaultConfig {
|
||||
minSdkVersion MIN_SDK_VERSION.toInteger()
|
||||
targetSdkVersion TARGET_SDK_VERSION.toInteger()
|
||||
|
||||
testApplicationId 'com.soundcloud.android.crop.test'
|
||||
testInstrumentationRunner 'android.test.InstrumentationTestRunner'
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled true
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
|
||||
buildToolsVersion = '30.0.3'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api 'androidx.annotation:annotation:1.4.0'
|
||||
api 'androidx.legacy:legacy-support-v4:1.0.0'
|
||||
implementation "androidx.core:core-ktx:1.7.0"
|
||||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
||||
}
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
@@ -1 +0,0 @@
|
||||
<manifest package="com.soundcloud.android.crop" />
|
@@ -1,48 +0,0 @@
|
||||
package com.soundcloud.android.crop;
|
||||
|
||||
import android.content.Context;
|
||||
import android.net.Uri;
|
||||
import android.os.Build;
|
||||
import android.os.Environment;
|
||||
import android.text.TextUtils;
|
||||
import android.util.Log;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
public class UriUtil {
|
||||
|
||||
public final static String getFileProviderName(Context context){
|
||||
return context.getPackageName()+".fileprovider";
|
||||
}
|
||||
|
||||
/**
|
||||
* 将TakePhoto 提供的Uri 解析出文件绝对路径
|
||||
*
|
||||
* @param uri
|
||||
* @return
|
||||
*/
|
||||
public static String parseOwnUri(Context context, Uri uri) {
|
||||
if (uri == null) return null;
|
||||
String path;
|
||||
if (TextUtils.equals(uri.getAuthority(), getFileProviderName(context))) {
|
||||
String target_text_camera_photos = "camera_photos/";
|
||||
if (uri.getPath() != null && uri.getPath().contains(target_text_camera_photos)) {
|
||||
path = new File(uri.getPath().replace(target_text_camera_photos, ""))
|
||||
.getAbsolutePath();
|
||||
} else {
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
|
||||
path = new File(Environment.getExternalStorageDirectory(),
|
||||
uri.getPath())
|
||||
.getAbsolutePath();
|
||||
} else {
|
||||
path = uri.getPath();
|
||||
}
|
||||
}
|
||||
|
||||
} else {
|
||||
path = uri.getPath();
|
||||
}
|
||||
return path;
|
||||
}
|
||||
|
||||
}
|
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 142 B |
0
app/aab-res-guard-mapping.txt
Normal file
104
app/build.gradle
@@ -1,26 +1,31 @@
|
||||
apply plugin: 'com.android.application'
|
||||
apply plugin: 'kotlin-android'
|
||||
apply plugin: 'com.tencent.vasdolly'
|
||||
apply from: '../mob.gradle'
|
||||
apply from: '../project.gradle'
|
||||
|
||||
def onlyArm64 = Boolean.parseBoolean(only_arm64)
|
||||
apply plugin: "com.bytedance.android.aabResGuard"
|
||||
apply plugin: "xml-class-guard"
|
||||
|
||||
android {
|
||||
compileSdkVersion COMPILE_SDK_VERSION.toInteger()
|
||||
|
||||
defaultConfig {
|
||||
applicationId "fun.peki.live"
|
||||
applicationId isolationMode ? 'com.example.gogo' : 'app.hiyoo.fun'
|
||||
minSdkVersion MIN_SDK_VERSION.toInteger()
|
||||
targetSdkVersion TARGET_SDK_VERSION.toInteger()
|
||||
versionCode Integer.valueOf(version_code)
|
||||
versionName version_name
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
multiDexEnabled true
|
||||
|
||||
flavorDimensions 'default'
|
||||
buildConfigField "boolean", "ISOLATION_MODE", "$isolationMode"
|
||||
|
||||
manifestPlaceholders = [CRASHLYTICS_COLLECTION_ENABLED: CRASHLYTICS_COLLECTION_ENABLED.toBoolean()]
|
||||
if (isolationMode) {
|
||||
resValue "string", "app_name", "Hi-debug"
|
||||
} else {
|
||||
resValue "string", "app_name", "Hiyoo"
|
||||
}
|
||||
}
|
||||
|
||||
splits {
|
||||
@@ -58,7 +63,7 @@ android {
|
||||
if (abi == null) {
|
||||
abi = "universal"
|
||||
}
|
||||
outputFileName = "peki_${buildType.name}_v${defaultConfig.versionName}_${abi}_${date}.apk"
|
||||
outputFileName = "hiyoo_${buildType.name}_v${defaultConfig.versionName}_${abi}_${date}.apk"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -78,24 +83,23 @@ android {
|
||||
|
||||
signingConfigs {
|
||||
|
||||
v2 {
|
||||
storeFile file('../pikolive.jks')
|
||||
storePassword "pikolive2023"
|
||||
keyAlias "pikolive"
|
||||
keyPassword "pikolive2023"
|
||||
debug {
|
||||
storeFile file('../app_debug.jks')
|
||||
storePassword "debug2023"
|
||||
keyAlias "debug"
|
||||
keyPassword "debug2023"
|
||||
v2SigningEnabled true
|
||||
v1SigningEnabled true
|
||||
}
|
||||
|
||||
v1 {
|
||||
storeFile file('../pikolive.jks')
|
||||
storePassword "pikolive2023"
|
||||
keyAlias "pikolive"
|
||||
keyPassword "pikolive2023"
|
||||
v2SigningEnabled false
|
||||
release {
|
||||
storeFile file('../hiyoo.jks')
|
||||
storePassword "hiyoo2023"
|
||||
keyAlias "hiyoo"
|
||||
keyPassword "hiyoo2023"
|
||||
v2SigningEnabled true
|
||||
v1SigningEnabled true
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
@@ -117,7 +121,7 @@ android {
|
||||
'src/module_treasure_box/java',
|
||||
'src/module_community/java',
|
||||
'src/module_album/java',
|
||||
'src/module_other/java',
|
||||
|
||||
]
|
||||
|
||||
res.srcDirs = [
|
||||
@@ -137,7 +141,6 @@ android {
|
||||
'src/module_treasure_box/res',
|
||||
'src/module_community/res',
|
||||
'src/module_album/res',
|
||||
'src/module_other/res',
|
||||
|
||||
]
|
||||
|
||||
@@ -146,8 +149,8 @@ android {
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
def server_url_debug = '"http://beta.api.pikolive.fun/"'
|
||||
def server_url_release = '"https://api.pikolive.fun/"'
|
||||
def server_url_debug = '"http://beta.api.hiyoo.fun/"'
|
||||
def server_url_release = '"https://api.hiyoo.fun/"'
|
||||
|
||||
debug {
|
||||
println("minifyEnabled = " + minify_enabled)
|
||||
@@ -162,7 +165,7 @@ android {
|
||||
minifyEnabled minify_enabled.toBoolean() // 是否混淆
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||
crunchPngs false // 停用 PNG 压缩
|
||||
signingConfig signingConfigs.v2
|
||||
signingConfig isolationMode ? signingConfigs.debug : signingConfigs.release
|
||||
gradle.taskGraph.whenReady {
|
||||
tasks.each { task ->
|
||||
if (task.name.contains("Test") || task.name.contains("Lint")) {
|
||||
@@ -188,7 +191,7 @@ android {
|
||||
shrinkResources true // 开了混淆的时候才能开启 是否去除无效的资源文件
|
||||
zipAlignEnabled true // 开了混淆的时候才能开启 是否进行压缩并重排列
|
||||
crunchPngs true // 启用 PNG 压缩
|
||||
signingConfig signingConfigs.v2
|
||||
signingConfig isolationMode ? signingConfigs.debug : signingConfigs.release
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
@@ -211,14 +214,8 @@ def Lombok = "1.18.24"
|
||||
dependencies {
|
||||
implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar'])
|
||||
implementation fileTree(dir: 'aliyun-libs', include: ['*.jar', '*.aar'])
|
||||
implementation 'androidx.appcompat:appcompat:1.4.2'
|
||||
implementation 'com.google.android.material:material:1.6.1'
|
||||
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
||||
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
||||
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.6.2'
|
||||
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.2'
|
||||
testImplementation 'junit:junit:4.13.2'
|
||||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
|
||||
|
||||
api 'androidx.multidex:multidex:2.0.1'
|
||||
|
||||
@@ -238,9 +235,8 @@ dependencies {
|
||||
api "com.github.zyyoona7:EasyPopup:1.0.2"
|
||||
api "com.github.donkingliang:LabelsView:1.6.5"
|
||||
api "com.github.yyued:SVGAPlayer-Android:2.6.1"
|
||||
implementation "com.orhanobut:logger:2.2.0"
|
||||
api "com.ms-square:expandableTextView:0.1.4"
|
||||
annotationProcessor 'androidx.annotation:annotation:1.4.0'
|
||||
annotationProcessor 'androidx.annotation:annotation:1.6.0'
|
||||
|
||||
implementation 'io.github.h07000223:flycoTabLayout:3.0.0'
|
||||
|
||||
@@ -261,7 +257,7 @@ dependencies {
|
||||
//数字滚动效果
|
||||
implementation 'com.github.YvesCheung:RollingText:1.2.3'
|
||||
// 引入原有第三方裁图源码,方便修改
|
||||
api project(':android_crop_lib')
|
||||
api project(':libs:lib_crop')
|
||||
|
||||
//rx权限请求框架
|
||||
implementation('com.github.tbruyelle:rxpermissions:0.10.2') {
|
||||
@@ -274,12 +270,12 @@ dependencies {
|
||||
|
||||
implementation 'com.github.fodroid:XRadioGroup:v1.5'
|
||||
|
||||
api 'com.tencent.vasdolly:helper:3.0.3'
|
||||
api 'com.tencent.vasdolly:helper:3.0.6'
|
||||
implementation "io.github.tencent:vap:2.0.24"
|
||||
|
||||
implementation 'com.github.mmin18:realtimeblurview:1.2.1'
|
||||
|
||||
implementation 'com.appsflyer:af-android-sdk:6.8.2'
|
||||
// implementation 'com.appsflyer:af-android-sdk:6.8.2'
|
||||
|
||||
implementation 'com.github.zhpanvip:BannerViewPager:3.5.6'
|
||||
|
||||
@@ -301,15 +297,19 @@ dependencies {
|
||||
//wheelView
|
||||
implementation 'com.contrarywind:wheelview:4.1.0'
|
||||
|
||||
implementation 'tech.sud.mgp:SudMGP-static:1.3.3.1158'
|
||||
// implementation 'tech.sud.mgp:SudMGP-static:1.3.3.1158'
|
||||
|
||||
implementation project(':modules:module_base')
|
||||
if (!isolationMode && file("../modules/module_google/build.gradle").exists()) {
|
||||
implementation project(':modules:module_google')
|
||||
}
|
||||
}
|
||||
|
||||
channel {
|
||||
//多渠道包的输出目录,默认为new File(project.buildDir,"channel")
|
||||
outputDir = new File(project.buildDir, "channelapk")
|
||||
//多渠道包的命名规则,默认为:${appName}-${versionName}-${versionCode}-${flavorName}-${buildType}-${buildTime}
|
||||
def only64 = onlyArm64 ? "-only64" : ""
|
||||
apkNameFormat = 'peki-${buildType}only64-${flavorName}-v${versionName}-${buildTime}'.replace("only64", only64)
|
||||
apkNameFormat = 'hiyoo-${buildType}-${flavorName}-v${versionName}-${buildTime}'
|
||||
//快速模式:生成渠道包时不进行校验(速度可以提升10倍以上,默认为false)
|
||||
fastMode = false
|
||||
//buildTime的时间格式,默认格式:yyyyMMdd-HHmmss
|
||||
@@ -317,3 +317,31 @@ channel {
|
||||
//低内存模式(仅针对V2签名,默认为false):只把签名块、中央目录和EOCD读取到内存,不把最大头的内容块读取到内存,在手机上合成APK时,可以使用该模式
|
||||
lowMemory = false
|
||||
}
|
||||
|
||||
aabResGuard {
|
||||
mappingFile = file("aab-res-guard-mapping.txt").toPath() // Mapping file used for incremental obfuscation
|
||||
whiteList = [ // White list rules
|
||||
"*.R.raw.*",
|
||||
"*.R.drawable.icon"
|
||||
]
|
||||
obfuscatedBundleFileName = "duplicated-app.aab" // Obfuscated file name, must end with '.aab'
|
||||
mergeDuplicatedRes = true // Whether to allow the merge of duplicate resources
|
||||
enableFilterFiles = false // Whether to allow filter files
|
||||
filterList = [ // file filter rules
|
||||
// "*/arm64-v8a/*",
|
||||
// "META-INF/*"
|
||||
]
|
||||
|
||||
enableFilterStrings = false // switch of filter strings
|
||||
unusedStringPath = file("unused.txt").toPath() // strings will be filtered in this file
|
||||
languageWhiteList = ["en", "zh"] // keep en,en-xx,zh,zh-xx etc. remove others.
|
||||
}
|
||||
|
||||
//以下均为非必须
|
||||
xmlClassGuard {
|
||||
findAabConstraintReferencedIds = true
|
||||
//用于增量混淆的 mapping 文件
|
||||
mappingFile = file("xml-class-mapping.txt")
|
||||
//更改manifest文件的package属性,即包名
|
||||
packageChange = ["com.chwl.app": "co.ch.a"]
|
||||
}
|
61
app/proguard-rules.pro
vendored
@@ -29,9 +29,6 @@
|
||||
|
||||
# 保留行号
|
||||
-keepattributes SourceFile,LineNumberTable
|
||||
-obfuscationdictionary ../dic.txt
|
||||
-classobfuscationdictionary ../dic.txt
|
||||
-packageobfuscationdictionary ../dic.txt
|
||||
|
||||
#-dontwarn #//dontwarn去掉警告
|
||||
#-dontskipnonpubliclibraryclassmembers
|
||||
@@ -119,20 +116,15 @@
|
||||
-dontwarn com.netease.**
|
||||
-keep class com.netease.** {*;}
|
||||
|
||||
# Presenter 相关
|
||||
-keep class com.bingchuang.app.base.** { *; }
|
||||
-keep public class * extends com.bingchuang.app.base.BaseMvpPresenter
|
||||
-keep public class * extends com.bingchuang.library.base.factory.AbstractMvpPresenter
|
||||
|
||||
# 云信自定义 ViewHolder 配置
|
||||
-dontwarn com.bingchuang.app.ui.im.recent.holder.**
|
||||
-keep class com.bingchuang.app.ui.im.recent.holder.** {*;}
|
||||
-keep class com.bingchuang.app.ui.im.chat.** {*;}
|
||||
-keep class com.bingchuang.app.luckymoney.viewholder.** {*;}
|
||||
-keep class com.bingchuang.app.share.viewholder.** {*;}
|
||||
-keep class com.bingchuang.app.public_chat_hall.msg.viewholder.** {*;}
|
||||
-keep class com.bingchuang.app.module_hall.im.msgholder.** {*;}
|
||||
-keep class com.bingchuang.core.mentoring_relationship.viewholder.** {*;}
|
||||
-dontwarn com.chwl.app.ui.im.recent.holder.**
|
||||
-keep class com.chwl.app.ui.im.recent.holder.** {*;}
|
||||
-keep class com.chwl.app.ui.im.chat.** {*;}
|
||||
-keep class com.chwl.app.luckymoney.viewholder.** {*;}
|
||||
-keep class com.chwl.app.share.viewholder.** {*;}
|
||||
-keep class com.chwl.app.public_chat_hall.msg.viewholder.** {*;}
|
||||
-keep class com.chwl.app.module_hall.im.msgholder.** {*;}
|
||||
-keep class com.chwl.app.mentoring_relationship.viewholder.** {*;}
|
||||
-keep public class * extends com.netease.nim.uikit.common.ui.recyclerview.holder.RecyclerViewHolder {*;}
|
||||
-keep public class * extends com.netease.nim.uikit.business.session.viewholder.MsgViewHolderBase {*;}
|
||||
|
||||
@@ -180,8 +172,8 @@
|
||||
-keep class com.darsh.multipleimageselect.** { *; }
|
||||
-dontwarn com.darsh.multipleimageselect.**
|
||||
|
||||
-keep class com.soundcloud.android.crop.** { *; }
|
||||
-dontwarn com.soundcloud.android.crop.**
|
||||
-keep class com.soundcloud.crop.** { *; }
|
||||
-dontwarn com.soundcloud.crop.**
|
||||
|
||||
# glide4.0
|
||||
-keep public class * implements com.bumptech.glide.module.GlideModule
|
||||
@@ -193,6 +185,11 @@
|
||||
# for DexGuard only
|
||||
#-keepresourcexmlelements manifest/application/meta-data@value=GlideModule
|
||||
|
||||
# Presenter 相关
|
||||
-keep class com.chwl.app.base.** { *; }
|
||||
-keep public class * extends com.chwl.app.base.BaseMvpPresenter
|
||||
-keep public class * extends com.chwl.library.base.factory.AbstractMvpPresenter
|
||||
|
||||
# BaseAdapter
|
||||
-keep class com.chad.library.adapter.** {
|
||||
*;
|
||||
@@ -204,8 +201,8 @@
|
||||
<init>(...);
|
||||
}
|
||||
|
||||
-dontwarn com.bingchuang.app.bindadapter.**
|
||||
-keep class com.bingchuang.app.bindadapter.** {*;}
|
||||
-dontwarn com.chwl.app.bindadapter.**
|
||||
-keep class com.chwl.app.bindadapter.** {*;}
|
||||
|
||||
# Ping++ 混淆过滤
|
||||
-dontwarn com.pingplusplus.**
|
||||
@@ -236,13 +233,9 @@
|
||||
|
||||
# TODO 网络加载 一些业务bean gson 时候混淆问题
|
||||
-keep class org.json.** {*;}
|
||||
-dontwarn com.bingchuang.core.**
|
||||
-keep class com.bingchuang.core.** {*;}
|
||||
-keep class com.bingchuang.treasure_box.bean.** {*;}
|
||||
-keep class com.bingchuang.app.avroom.bean.** {*;}
|
||||
-keep class com.bingchuang.core2.**.bean.** {*;}
|
||||
-keep class com.bingchuang.**.bean.** {*;}
|
||||
|
||||
-keep class com.chwl.**.bean.** {*;}
|
||||
-keep class com.chwl.**.result.** {*;}
|
||||
-keep class com.chwl.**.entity.** {*;}
|
||||
|
||||
#百度统计
|
||||
-keep class com.baidu.bottom.** { *; }
|
||||
@@ -315,8 +308,8 @@
|
||||
-keep class com.autonavi.aps.amapapi.model.**{*;}
|
||||
|
||||
#暂时keep这个View排查华为oom问题
|
||||
-keep class com.bingchuang.app.avroom.widget.MicroView{*;}
|
||||
-keep class com.bingchuang.app.ui.widget.rollviewpager.RollPagerView{*;}
|
||||
-keep class com.chwl.app.avroom.widget.MicroView{*;}
|
||||
-keep class com.chwl.app.ui.widget.rollviewpager.RollPagerView{*;}
|
||||
|
||||
#linkedMe
|
||||
-keep class com.microquation.linkedme.android.** { *; }
|
||||
@@ -374,7 +367,7 @@
|
||||
-dontwarn com.meizu.cloud.**
|
||||
-keep class com.meizu.cloud.** {*;}
|
||||
|
||||
-keep class com.bingchuang.app.ui.widget.AppBarLayoutBehavior {*;}
|
||||
-keep class com.chwl.app.ui.widget.AppBarLayoutBehavior {*;}
|
||||
|
||||
#ViewBinding使用的反射生成的对应Binding
|
||||
-keepclassmembers class * implements androidx.viewbinding.ViewBinding {
|
||||
@@ -459,7 +452,7 @@
|
||||
}
|
||||
|
||||
## EasyPhotos
|
||||
-keep class com.bingchuang.library.easyphoto.models.** { *; }
|
||||
-keep class com.chwl.library.easyphoto.models.** { *; }
|
||||
|
||||
## 图片裁剪UCrop
|
||||
-dontwarn com.yalantis.ucrop.**
|
||||
@@ -484,4 +477,8 @@
|
||||
}
|
||||
-keep public class com.android.installreferrer.**{ *; }
|
||||
|
||||
-keep public class * extends java.lang.Exception
|
||||
-keep public class * extends java.lang.Exception
|
||||
|
||||
-keep public class com.alibaba.android.arouter.routes.**{*;}
|
||||
-keep public class com.alibaba.android.arouter.facade.**{*;}
|
||||
-keep class * implements com.alibaba.android.arouter.facade.template.ISyringe{*;}
|
@@ -1,28 +0,0 @@
|
||||
package com.yizhuan.erban;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
import androidx.test.ext.junit.runners.AndroidJUnit4;
|
||||
import androidx.test.platform.app.InstrumentationRegistry;
|
||||
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
/**
|
||||
* Instrumented test, which will execute on an Android device.
|
||||
*
|
||||
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
|
||||
*/
|
||||
@RunWith(AndroidJUnit4.class)
|
||||
public class ExampleInstrumentedTest {
|
||||
@Test
|
||||
public void useAppContext() throws Exception {
|
||||
// Context of the app under test.
|
||||
Context appContext = InstrumentationRegistry.getTargetContext();
|
||||
|
||||
assertEquals("com.yizhuan.erban_android_client", appContext.getPackageName());
|
||||
}
|
||||
|
||||
}
|
Before Width: | Height: | Size: 196 B |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_back.webp
Normal file
After Width: | Height: | Size: 156 B |
Before Width: | Height: | Size: 196 B |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_back_white.webp
Normal file
After Width: | Height: | Size: 132 B |
Before Width: | Height: | Size: 683 B |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_charge.webp
Normal file
After Width: | Height: | Size: 254 B |
Before Width: | Height: | Size: 1.1 KiB |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_checked.webp
Normal file
After Width: | Height: | Size: 492 B |
Before Width: | Height: | Size: 310 B |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_close_red.webp
Normal file
After Width: | Height: | Size: 168 B |
Before Width: | Height: | Size: 1.3 KiB |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_help_white.webp
Normal file
After Width: | Height: | Size: 562 B |
Before Width: | Height: | Size: 278 B |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_more.webp
Normal file
After Width: | Height: | Size: 152 B |
Before Width: | Height: | Size: 528 B |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_more_arrow.webp
Normal file
After Width: | Height: | Size: 228 B |
Before Width: | Height: | Size: 1.5 KiB |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_narrow.webp
Normal file
After Width: | Height: | Size: 666 B |
Before Width: | Height: | Size: 1.2 KiB |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_narrow_white.webp
Normal file
After Width: | Height: | Size: 526 B |
Before Width: | Height: | Size: 1.5 KiB |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_search_black.webp
Normal file
After Width: | Height: | Size: 550 B |
Before Width: | Height: | Size: 1.3 KiB |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_setting_grey.webp
Normal file
After Width: | Height: | Size: 472 B |
Before Width: | Height: | Size: 1.3 KiB |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_setting_white.webp
Normal file
After Width: | Height: | Size: 552 B |
Before Width: | Height: | Size: 1.2 KiB |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_share.webp
Normal file
After Width: | Height: | Size: 518 B |
Before Width: | Height: | Size: 1.0 KiB |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_share_white.webp
Normal file
After Width: | Height: | Size: 412 B |
Before Width: | Height: | Size: 1.4 KiB |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_switch_close.webp
Normal file
After Width: | Height: | Size: 600 B |
Before Width: | Height: | Size: 1.7 KiB |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_switch_open.webp
Normal file
After Width: | Height: | Size: 732 B |
Before Width: | Height: | Size: 1.1 KiB |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_team.webp
Normal file
After Width: | Height: | Size: 466 B |
Before Width: | Height: | Size: 916 B |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_team_white.webp
Normal file
After Width: | Height: | Size: 372 B |
Before Width: | Height: | Size: 2.5 KiB |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_tutu_friends.webp
Normal file
After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 2.3 KiB |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_tutu_friends_grey.webp
Normal file
After Width: | Height: | Size: 974 B |
Before Width: | Height: | Size: 690 B |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_unchecked.webp
Normal file
After Width: | Height: | Size: 280 B |
Before Width: | Height: | Size: 642 B |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_unselected.webp
Normal file
After Width: | Height: | Size: 520 B |
Before Width: | Height: | Size: 3.2 KiB |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_wechat.webp
Normal file
After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 2.5 KiB |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_wechat_grey.webp
Normal file
After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 569 B |
BIN
app/src/common/res/mipmap-xhdpi/drawable_checkbox_selected.webp
Normal file
After Width: | Height: | Size: 456 B |
Before Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 534 B |
Before Width: | Height: | Size: 3.3 KiB |
BIN
app/src/common/res/mipmap-xhdpi/ic_private_chat.webp
Normal file
After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 369 B |
BIN
app/src/common/res/mipmap-xhdpi/ic_speedymsg_close.webp
Normal file
After Width: | Height: | Size: 272 B |
Before Width: | Height: | Size: 28 KiB |
BIN
app/src/common/res/mipmap-xhdpi/ic_user_gift_empty.webp
Normal file
After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 767 B |
BIN
app/src/common/res/mipmap-xhdpi/ic_user_new_10dp.webp
Normal file
After Width: | Height: | Size: 596 B |
Before Width: | Height: | Size: 1.4 KiB |
BIN
app/src/common/res/mipmap-xhdpi/ic_user_new_13dp.webp
Normal file
After Width: | Height: | Size: 1006 B |
Before Width: | Height: | Size: 692 B |
BIN
app/src/common/res/mipmap-xhdpi/ic_user_official_10dp.webp
Normal file
After Width: | Height: | Size: 608 B |
Before Width: | Height: | Size: 1.2 KiB |
BIN
app/src/common/res/mipmap-xhdpi/ic_user_official_13dp.webp
Normal file
After Width: | Height: | Size: 898 B |
1
app/src/main/assets/hot_region.json
Normal file
@@ -0,0 +1 @@
|
||||
[{"name":"Taiwan","abbr":"TW","mcc":"466","code":"886"},{"name":"Hong Kong","abbr":"HK","mcc":"454","code":"852"},{"name":"Singapore","abbr":"SG","mcc":"525","code":"65"},{"name":"Malaysia","abbr":"MY","mcc":"502","code":"60"},{"name":"China","abbr":"CN","mcc":"460","code":"86"}]
|
1
app/src/main/assets/region.json
Normal file
@@ -1,17 +0,0 @@
|
||||
{
|
||||
"supplier":{
|
||||
"vivo":{
|
||||
"appid":"100215079"
|
||||
},
|
||||
"xiaomi":{
|
||||
|
||||
},
|
||||
"huawei":{
|
||||
|
||||
},
|
||||
"oppo":{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|