Commit 179cc79f authored by mengcuiguang's avatar mengcuiguang

修改umeng sdk 方式

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