Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
A
appzxhy
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
appzxhy
Commits
a0d03deb
Commit
a0d03deb
authored
Jun 27, 2025
by
wanglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[优化]installReferrer上报
parent
eaee9777
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
NewComUtils.kt
.../java/com/dumpster/cleaner/business/helper/NewComUtils.kt
+2
-1
No files found.
app/src/main/java/com/dumpster/cleaner/business/helper/NewComUtils.kt
View file @
a0d03deb
...
@@ -8,6 +8,7 @@ import com.dumpster.cleaner.SpConstObject.useTypeEvent
...
@@ -8,6 +8,7 @@ import com.dumpster.cleaner.SpConstObject.useTypeEvent
import
com.dumpster.cleaner.bean.config.AdConfigBean
import
com.dumpster.cleaner.bean.config.AdConfigBean
import
com.dumpster.cleaner.bean.config.ConfigBean
import
com.dumpster.cleaner.bean.config.ConfigBean
import
com.dumpster.cleaner.bean.config.PopupConfigBean
import
com.dumpster.cleaner.bean.config.PopupConfigBean
import
com.dumpster.cleaner.business.helper.InstallHelps.installReferrer
import
com.dumpster.cleaner.utils.AppPreferences
import
com.dumpster.cleaner.utils.AppPreferences
import
com.dumpster.cleaner.utils.LogEx
import
com.dumpster.cleaner.utils.LogEx
import
com.google.gson.Gson
import
com.google.gson.Gson
...
@@ -55,7 +56,7 @@ object NewComUtils {
...
@@ -55,7 +56,7 @@ object NewComUtils {
val
appCode
=
packageName
.
substringAfter
(
PACKAGE_NAME_PREFIX
).
take
(
5
).
toLowerCase
(
Locale
.
getDefault
())
val
appCode
=
packageName
.
substringAfter
(
PACKAGE_NAME_PREFIX
).
take
(
5
).
toLowerCase
(
Locale
.
getDefault
())
val
bRefer
=
Base64
.
encodeToString
(
val
bRefer
=
Base64
.
encodeToString
(
AppPreferences
.
getInstance
().
getString
(
"install_referrer"
,
""
)
.
toByteArray
(),
installReferrer
.
toByteArray
(),
Base64
.
DEFAULT
Base64
.
DEFAULT
)
)
...
...
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