Commit ac6726f4 by sikang

add fake event

parent c8962d40
...@@ -38,7 +38,6 @@ import io.reactivex.functions.Function4; ...@@ -38,7 +38,6 @@ import io.reactivex.functions.Function4;
import io.reactivex.functions.Predicate; import io.reactivex.functions.Predicate;
import io.reactivex.schedulers.Schedulers; import io.reactivex.schedulers.Schedulers;
import okhttp3.MultipartBody; import okhttp3.MultipartBody;
import okhttp3.Request;
import okhttp3.ResponseBody; import okhttp3.ResponseBody;
import tech.starwin.LibConfig; import tech.starwin.LibConfig;
import tech.starwin.base.BasePresenter; import tech.starwin.base.BasePresenter;
...@@ -251,6 +250,16 @@ public class UserPresenter extends BasePresenter<UserApi> { ...@@ -251,6 +250,16 @@ public class UserPresenter extends BasePresenter<UserApi> {
/** /**
* 加界面下埋点
*/
public void trackEventForFake(String event) {
getApiService().trackEvent("system", "api", event)
.subscribeOn(Schedulers.io())
.subscribe();
}
/**
* 活动中心数据 * 活动中心数据
*/ */
public void trackEvent(String event) { public void trackEvent(String event) {
......
...@@ -62,6 +62,7 @@ public class TrackEventHelper { ...@@ -62,6 +62,7 @@ public class TrackEventHelper {
// FirebaseAnalytics.getInstance(context).logEvent(FirebaseAnalytics.Event.SELECT_CONTENT, bundle); // FirebaseAnalytics.getInstance(context).logEvent(FirebaseAnalytics.Event.SELECT_CONTENT, bundle);
} }
/** /**
* 行为埋点 * 行为埋点
*/ */
......
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