Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
S
swiftcleanerphonehelper
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wanglei
swiftcleanerphonehelper
Commits
c34bd51b
Commit
c34bd51b
authored
Mar 24, 2025
by
Your Name
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
打正式包要添加混淆Gson
parent
1d5d91fa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
2 deletions
+24
-2
proguard-rules.pro
app/proguard-rules.pro
+22
-1
ConfigUtils.kt
...main/java/com/swiftcleaner/chovey/business/ConfigUtils.kt
+2
-1
No files found.
app/proguard-rules.pro
View file @
c34bd51b
...
...
@@ -23,4 +23,25 @@
#病毒扫描
-
keep
class
com
.
trustlook
.
**
{
*
;
}
\ No newline at end of file
}
# 保留 Gson
-
keep
class
com
.
google
.
gson
.
reflect
.
**
{
*
;
}
-
keepattributes
*
Annotation
*
-
keep
class
*
extends
com
.
google
.
gson
.
TypeAdapter
-
keep
class
*
implements
com
.
google
.
gson
.
TypeAdapterFactory
-
keep
class
*
implements
com
.
google
.
gson
.
JsonSerializer
-
keep
class
*
implements
com
.
google
.
gson
.
JsonDeserializer
-
keep
class
com
.
google
.
gson
.
stream
.
**
{
*
;
}
-
keep
class
com
.
google
.
gson
.
**
{
*
;
}
-
keep
class
com
.
alibaba
.
idst
.
**
{
*
;
}
-
keep
class
*
extends
com
.
google
.
gson
.
reflect
.
TypeToken
-
keepclassmembers
,
allowobfuscation
class
*
{
@
com
.
google
.
gson
.
annotations
.
SerializedName
<
fields
>
;
}
-
dontwarn
sun
.
misc
.
**
-
keep
class
com
.
google
.
gson
.
examples
.
android
.
model
.
**
{
<
fields
>
;
}
-
keep
,
allowobfuscation
,
allowshrinking
class
com
.
google
.
gson
.
reflect
.
TypeToken
-
keep
,
allowobfuscation
,
allowshrinking
class
*
extends
com
.
google
.
gson
.
reflect
.
TypeToken
-
keep
class
com
.
swiftcleaner
.
chovey
.
view
.
function
.
weather
.
WeatherBean
{
*
;
}
-
keep
class
com
.
swiftcleaner
.
chovey
.
view
.
function
.
weather
.
ListBean
{
*
;
}
\ No newline at end of file
app/src/main/java/com/swiftcleaner/chovey/business/ConfigUtils.kt
View file @
c34bd51b
...
...
@@ -71,7 +71,8 @@ object ConfigUtils {
val
jsonObject
=
JSONObject
()
jsonObject
.
put
(
"ut"
,
SPUtils
.
getInstance
().
getInt
(
"ut"
))
EventUtils
.
event
(
"user_type"
,
ext
=
jsonObject
)
}
catch
(
_
:
Exception
)
{
}
catch
(
e
:
Exception
)
{
// Log.e("configMap","Exception ${e.message}")
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment