Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
S
scanqrwhite2copy1
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
scanqrwhite2copy1
Commits
c30ad4d7
Commit
c30ad4d7
authored
Feb 17, 2025
by
wanglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
...
parent
c25c318b
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
9 deletions
+10
-9
GlobalConfig.kt
app/src/main/java/com/base/scanqrclear/GlobalConfig.kt
+4
-4
MyApplication.kt
app/src/main/java/com/base/scanqrclear/MyApplication.kt
+3
-3
AlarmUtils.kt
...rc/main/java/com/base/scanqrclear/fcm/alarm/AlarmUtils.kt
+1
-1
MyNotificationManager.kt
...ase/scanqrclear/fcm/notification/MyNotificationManager.kt
+1
-1
InstallHelper.kt
...rc/main/java/com/base/scanqrclear/helper/InstallHelper.kt
+1
-0
No files found.
app/src/main/java/com/base/scanqrclear/GlobalConfig.kt
View file @
c30ad4d7
...
...
@@ -5,18 +5,18 @@ package com.base.scanqrclear
*/
object
GlobalConfig
{
//包名
const
val
PACKAGE_NAME
=
"com.
clearscan.
code.deeplink"
const
val
PACKAGE_NAME
=
"com.
scan.bar
code.deeplink"
// 域名
/**
* Url Event 上报接口
*/
const
val
URL_EVENT
=
"https://rp.
sekanderali32
.xyz"
const
val
URL_EVENT
=
"https://rp.
gamexzonerk
.xyz"
/**
* Url Api 业务接口
*/
const
val
URL_API
=
"https://api.
sekanderali32
.xyz"
const
val
URL_API
=
"https://api.
gamexzonerk
.xyz"
/**
* Url Privacy 隐私链接
...
...
@@ -31,7 +31,7 @@ object GlobalConfig {
/**
* Key Aes 加密key
*/
const
val
KEY_AES
=
"
tv8zigh4pjym2kjo
"
const
val
KEY_AES
=
"
o3yb8vzeptlki1ve
"
/**
* Key solar 归因key
...
...
app/src/main/java/com/base/scanqrclear/MyApplication.kt
View file @
c30ad4d7
...
...
@@ -34,7 +34,6 @@ import com.base.scanqrclear.utils.AppPreferences
import
com.base.scanqrclear.utils.LogEx
import
com.base.scanqrclear.utils.SolarEngineUtils.initSolarEngine
import
com.base.scanqrclear.utils.SolarEngineUtils.solarkey
import
com.base.scanqrclear.utils.WriteLogEx.writeLogFile
import
com.facebook.FacebookSdk
import
com.google.android.gms.ads.identifier.AdvertisingIdClient
import
com.google.gson.Gson
...
...
@@ -172,6 +171,7 @@ class MyApplication : Application() {
}
InstallHelps
.
init
{
LogEx
.
logDebug
(
TAG
,
"InstallHelps initRemoteConfig"
)
initRemoteConfig
()
}
}.
start
()
...
...
@@ -246,8 +246,8 @@ class MyApplication : Application() {
}
private
fun
initRemoteConfig
()
{
LogEx
.
logDebug
(
TAG
,
"initRemoteConfig"
)
NewComUtils
.
requestCfg
{
config
->
LogEx
.
logDebug
(
TAG
,
"initRemoteConfig config=$config"
)
if
(
config
!=
null
)
{
AppPreferences
.
getInstance
().
put
(
"config"
,
config
)
LogEx
.
logDebug
(
"requestCfg"
,
"config=$config"
)
...
...
@@ -280,7 +280,7 @@ class MyApplication : Application() {
//通知
PopupConfigBean
.
popupConfigBean
=
configBean
.
popupConfigBean
LogEx
.
logDebug
(
"initConfig"
,
"popupConfigBean=${PopupConfigBean.popupConfigBean.
timerInterval
}"
)
LogEx
.
logDebug
(
"initConfig"
,
"popupConfigBean=${PopupConfigBean.popupConfigBean.
popupHoverStatus
}"
)
//启动定时器
changeTimer
()
...
...
app/src/main/java/com/base/scanqrclear/fcm/alarm/AlarmUtils.kt
View file @
c30ad4d7
...
...
@@ -28,7 +28,7 @@ object AlarmUtils {
val
oneHour
=
60
*
60
*
1000L
var
delay
=
oneHour
*
hour
if
(
BuildConfig
.
DEBUG
)
{
delay
=
1
*
60
*
1000L
//
delay = 1 * 60 * 1000L
}
alarmManager
.
setRepeating
(
AlarmManager
.
RTC_WAKEUP
,
calendar
.
timeInMillis
,
delay
,
pendingIntent
...
...
app/src/main/java/com/base/scanqrclear/fcm/notification/MyNotificationManager.kt
View file @
c30ad4d7
...
...
@@ -91,7 +91,7 @@ object MyNotificationManager {
val
next
=
actionIdList
[
0
]
actionIdList
.
removeAt
(
0
)
if
(
BuildConfig
.
DEBUG
)
{
return
ACTION_ID_EARTHQUAKE
//
return ACTION_ID_EARTHQUAKE
}
return
next
}
...
...
app/src/main/java/com/base/scanqrclear/helper/InstallHelper.kt
View file @
c30ad4d7
...
...
@@ -65,6 +65,7 @@ object InstallHelps {
}
override
fun
onInstallReferrerServiceDisconnected
()
{
requestCfg
()
}
})
}
...
...
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