Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_fairyland_pro
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
android
android_fairyland_pro
Commits
4b3690a9
Commit
4b3690a9
authored
Mar 29, 2021
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
45e40580
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
28 deletions
+17
-28
build.gradle
app/build.gradle
+11
-11
WnManager.kt
app/src/main/java/com/mints/fairyland/manager/WnManager.kt
+6
-6
ForegroundOrBackground.java
...ava/com/mints/fairyland/utils/ForegroundOrBackground.java
+0
-11
No files found.
app/build.gradle
View file @
4b3690a9
...
...
@@ -9,8 +9,8 @@ android {
applicationId
"com.mints.fairyland"
minSdkVersion
rootProject
.
ext
.
androidMinSdkVersion
targetSdkVersion
rootProject
.
ext
.
androidTargetSdkVersion
versionCode
7
versionName
"1.0.
4
"
versionCode
8
versionName
"1.0.
5
"
flavorDimensions
"default"
// dex突破65535的限制
...
...
@@ -62,17 +62,17 @@ android {
debug
{
// 不显示Log
// buildConfigField "boolean", "LOG_DEBUG", "true"
// buildConfigField "String", "AppKeyPre", "\"abcd\""
// buildConfigField "String", "MainIp", DEBUG_URL
// manifestPlaceholders = [TD_SCHEMA_KEY: DEBUG_TD_SCHEMA_KEY,
// TD_KEY : DEBUG_TD_KEY]
buildConfigField
"boolean"
,
"LOG_DEBUG"
,
"true"
buildConfigField
"String"
,
"AppKeyPre"
,
"\"abcd\""
buildConfigField
"String"
,
"MainIp"
,
RELEASE_URL
manifestPlaceholders
=
[
TD_SCHEMA_KEY:
RELEASE_TD_SCHEMA_KEY
,
TD_KEY
:
RELEASE_TD_KEY
]
buildConfigField
"String"
,
"MainIp"
,
DEBUG_URL
manifestPlaceholders
=
[
TD_SCHEMA_KEY:
DEBUG_TD_SCHEMA_KEY
,
TD_KEY
:
DEBUG_TD_KEY
]
// buildConfigField "boolean", "LOG_DEBUG", "true"
// buildConfigField "String", "AppKeyPre", "\"abcd\""
// buildConfigField "String", "MainIp", RELEASE_URL
// manifestPlaceholders = [TD_SCHEMA_KEY: RELEASE_TD_SCHEMA_KEY,
// TD_KEY : RELEASE_TD_KEY]
//混淆
minifyEnabled
false
...
...
app/src/main/java/com/mints/fairyland/manager/WnManager.kt
View file @
4b3690a9
...
...
@@ -12,13 +12,13 @@ import com.wannuosili.sdk.WNAdSdk
*/
object
WnManager
{
private
const
val
APP_ID
=
"100005
18
"
private
const
val
APP_ID
=
"100005
25
"
const
val
WN_AD_VEDIO_DRINK_POSTID
=
"10000
1462011
"
//喝水打卡
const
val
WN_AD_VEDIO_MAIN_POSTID
=
"10000
1462011
"
//我的界面视频
const
val
WN_AD_VEDIO_ERASE_POSTID
=
"10000
1462011
"
//刮刮乐
const
val
WN_AD_VEDIO_TURNABLE_POSTID
=
"10000
1462011
"
//大转盘
const
val
WN_AD_VEDIO_MOREDIALOG_POSTID
=
"10000
1462011
"
//签到、气泡、离线弹框
const
val
WN_AD_VEDIO_DRINK_POSTID
=
"10000
0622008
"
//喝水打卡
const
val
WN_AD_VEDIO_MAIN_POSTID
=
"10000
0622008
"
//我的界面视频
const
val
WN_AD_VEDIO_ERASE_POSTID
=
"10000
0622008
"
//刮刮乐
const
val
WN_AD_VEDIO_TURNABLE_POSTID
=
"10000
0622008
"
//大转盘
const
val
WN_AD_VEDIO_MOREDIALOG_POSTID
=
"10000
0622008
"
//签到、气泡、离线弹框
/**
* 初始化
...
...
app/src/main/java/com/mints/fairyland/utils/ForegroundOrBackground.java
View file @
4b3690a9
...
...
@@ -73,17 +73,6 @@ public class ForegroundOrBackground implements Application.ActivityLifecycleCall
if
(
activity
==
null
)
return
;
app_activity
=
new
WeakReference
<>(
activity
);
// String simpleName = activity.getClass().getSimpleName();
// if (TextUtils.equals(simpleName, "MainActivity")) {
// // 版本更新
// if (vup == null) {
// vup = new VersionUpdatePresenter();
// }
// if (reference == null) {
// reference = new WeakReference<>(activity);
// }
// vup.updateVersion(reference.get());
// }
}
@Override
...
...
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