Commit 4b3690a9 authored by mengcuiguang's avatar mengcuiguang

代码优化

parent 45e40580
......@@ -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
......
......@@ -12,13 +12,13 @@ import com.wannuosili.sdk.WNAdSdk
*/
object WnManager {
private const val APP_ID = "10000518"
private const val APP_ID = "10000525"
const val WN_AD_VEDIO_DRINK_POSTID = "100001462011" //喝水打卡
const val WN_AD_VEDIO_MAIN_POSTID = "100001462011" //我的界面视频
const val WN_AD_VEDIO_ERASE_POSTID = "100001462011" //刮刮乐
const val WN_AD_VEDIO_TURNABLE_POSTID = "100001462011" //大转盘
const val WN_AD_VEDIO_MOREDIALOG_POSTID = "100001462011" //签到、气泡、离线弹框
const val WN_AD_VEDIO_DRINK_POSTID = "100000622008" //喝水打卡
const val WN_AD_VEDIO_MAIN_POSTID = "100000622008" //我的界面视频
const val WN_AD_VEDIO_ERASE_POSTID = "100000622008" //刮刮乐
const val WN_AD_VEDIO_TURNABLE_POSTID = "100000622008" //大转盘
const val WN_AD_VEDIO_MOREDIALOG_POSTID = "100000622008" //签到、气泡、离线弹框
/**
* 初始化
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment