Commit 179cc79f authored by mengcuiguang's avatar mengcuiguang

修改umeng sdk 方式

parent 5c5e4664
......@@ -222,9 +222,8 @@ dependencies {
// 应用管理中心分包
implementation(name: 'humesdk-1.0.0', ext: 'aar')
// umeng
implementation 'com.umeng.umsdk:common:9.3.8' // (必选)
implementation 'com.umeng.umsdk:asms:1.2.2' // asms包依赖(必选)
implementation 'com.umeng.umsdk:crash:0.0.4' // native crash包依赖(必选)
implementation(name: 'umeng-asms-armeabi-v1.2.2', ext: 'aar')
implementation(name: 'umeng-apm-armeabi-v1.2.0', ext: 'aar')
// TalkingDada(已集成)
// 一览视频
implementation("com.yilan.sdk:ui:3.3.3.0") {
......
......@@ -297,15 +297,27 @@
# ===================== umeng START ================
-keep class com.umeng.** {*;}
-keepclassmembers class * {
public <init> (org.json.JSONObject);
}
-keepclassmembers enum * {
public static **[] values();
public static ** valueOf(java.lang.String);
}
-keep public class com.mints.camera.R$*{
public static final int *;
}
-keepclassmembers class * {
public <init> (org.json.JSONObject);
}
-keepclassmembers enum * {
public static **[] values();
public static ** valueOf(java.lang.String);
}
-keep class com.uc.crashsdk.** { *; }
-keep interface com.uc.crashsdk.** { *; }
-keep class com.efs.** { *; }
-keep interface com.efs.** { *; }
# ======================= umeng END ================
......
......@@ -403,8 +403,8 @@ public class TrackPresenter extends BaseTrackPresenter {
public void cmtGroMoreInfo(HashMap<String, Object> vo) {
AppHttpManager.getInstance(loanApplication)
.call(loanService.reportErrornterface(vo),
new BaseSubscriber<BaseResponse<JsonObject>>() {
.call(loanService.reportAdIncome(vo),
new BaseSubscriber<BaseResponse<Object>>() {
@Override
public void onCompleted() {
}
......@@ -415,7 +415,7 @@ public class TrackPresenter extends BaseTrackPresenter {
}
@Override
public void onNext(BaseResponse<JsonObject> baseResponse) {
public void onNext(BaseResponse<Object> baseResponse) {
}
});
}
......
......@@ -653,10 +653,21 @@ public interface LoanService {
* @return
*/
@POST("api/getRollDiceMsg")
Observable<BaseResponse<ShaiziBean>> getRollDiceMsg(@Body Map<String,Object> vo);
/**
* 默认http工厂
*/
Observable<BaseResponse<ShaiziBean>> getRollDiceMsg(@Body Map<String, Object> vo);
/**
* groMore数据提交
*
* @return
*/
@POST("api/reportAdIncome")
Observable<BaseResponse<Object>> reportAdIncome(@Body Map<String, Object> vo);
/**
* 默认http工厂
*/
class Factory {
public static LoanService create() {
......
......@@ -42,7 +42,6 @@ buildscript {
repositories {
google()
jcenter()
maven { url 'https://dl.bintray.com/umsdk/release' }
maven { url "https://jitpack.io" }
//添加一览视频 maven地址
......@@ -52,14 +51,6 @@ buildscript {
maven {
url 'http://maven.aliyun.com/nexus/content/repositories/releases/'
}
// 添加小满科技
// maven { url 'http://maven.aliyun.com/nexus/content/repositories/jcenter' }
// maven { url "https://maven.google.com"}
// maven { url "https://maven.linzhuxin.com/repository/lzoom_read_sdk_prd/"}
// maven { url "http://39.97.65.143:8082/repository/maven-public/" }
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.1'
......@@ -80,7 +71,6 @@ allprojects {
repositories {
google()
jcenter()
maven { url 'https://dl.bintray.com/umsdk/release' }
maven { url "https://jitpack.io" }
//添加一览 maven地址
......@@ -90,14 +80,6 @@ allprojects {
maven {
url 'http://maven.aliyun.com/nexus/content/repositories/releases/'
}
//小满
// maven { url "http://47.97.184.214:8081/nexus/content/groups/public" }
//芒果联盟
// maven { url "https://dl.bintray.com/openppeace/maven" }
// maven { url "http://39.97.65.143:8082/repository/maven-public/" }
}
}
......
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