Commit 4b3690a9 authored by mengcuiguang's avatar mengcuiguang

代码优化

parent 45e40580
...@@ -9,8 +9,8 @@ android { ...@@ -9,8 +9,8 @@ android {
applicationId "com.mints.fairyland" applicationId "com.mints.fairyland"
minSdkVersion rootProject.ext.androidMinSdkVersion minSdkVersion rootProject.ext.androidMinSdkVersion
targetSdkVersion rootProject.ext.androidTargetSdkVersion targetSdkVersion rootProject.ext.androidTargetSdkVersion
versionCode 7 versionCode 8
versionName "1.0.4" versionName "1.0.5"
flavorDimensions "default" flavorDimensions "default"
// dex突破65535的限制 // dex突破65535的限制
...@@ -62,17 +62,17 @@ android { ...@@ -62,17 +62,17 @@ android {
debug { debug {
// 不显示Log // 不显示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 "boolean", "LOG_DEBUG", "true"
buildConfigField "String", "AppKeyPre", "\"abcd\"" buildConfigField "String", "AppKeyPre", "\"abcd\""
buildConfigField "String", "MainIp", RELEASE_URL buildConfigField "String", "MainIp", DEBUG_URL
manifestPlaceholders = [TD_SCHEMA_KEY: RELEASE_TD_SCHEMA_KEY, manifestPlaceholders = [TD_SCHEMA_KEY: DEBUG_TD_SCHEMA_KEY,
TD_KEY : RELEASE_TD_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 minifyEnabled false
......
...@@ -12,13 +12,13 @@ import com.wannuosili.sdk.WNAdSdk ...@@ -12,13 +12,13 @@ import com.wannuosili.sdk.WNAdSdk
*/ */
object WnManager { 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_DRINK_POSTID = "100000622008" //喝水打卡
const val WN_AD_VEDIO_MAIN_POSTID = "100001462011" //我的界面视频 const val WN_AD_VEDIO_MAIN_POSTID = "100000622008" //我的界面视频
const val WN_AD_VEDIO_ERASE_POSTID = "100001462011" //刮刮乐 const val WN_AD_VEDIO_ERASE_POSTID = "100000622008" //刮刮乐
const val WN_AD_VEDIO_TURNABLE_POSTID = "100001462011" //大转盘 const val WN_AD_VEDIO_TURNABLE_POSTID = "100000622008" //大转盘
const val WN_AD_VEDIO_MOREDIALOG_POSTID = "100001462011" //签到、气泡、离线弹框 const val WN_AD_VEDIO_MOREDIALOG_POSTID = "100000622008" //签到、气泡、离线弹框
/** /**
* 初始化 * 初始化
......
...@@ -73,17 +73,6 @@ public class ForegroundOrBackground implements Application.ActivityLifecycleCall ...@@ -73,17 +73,6 @@ public class ForegroundOrBackground implements Application.ActivityLifecycleCall
if (activity == null) if (activity == null)
return; return;
app_activity = new WeakReference<>(activity); 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 @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