|
|
@@ -10,7 +10,7 @@ import com.appsflyer.AppsFlyerLib
|
|
|
object AppFlyReporter : IReport {
|
|
|
|
|
|
override fun report(eventId: String, action: String?, event: HashMap<String, String>) {
|
|
|
- if (!statConfig.skipReport) {
|
|
|
+ if (statConfig.skipReport) {
|
|
|
return
|
|
|
}
|
|
|
action?.let {
|
|
|
@@ -20,7 +20,7 @@ object AppFlyReporter : IReport {
|
|
|
}
|
|
|
|
|
|
override fun report(eventId: String, event: Bundle) {
|
|
|
- if (!statConfig.skipReport) {
|
|
|
+ if (statConfig.skipReport) {
|
|
|
return
|
|
|
}
|
|
|
val params = hashMapOf<String, Any>()
|
|
|
@@ -33,7 +33,7 @@ object AppFlyReporter : IReport {
|
|
|
}
|
|
|
|
|
|
override fun report(eventId: String, events: MutableMap<String, Any>, immediate: Boolean) {
|
|
|
- if (!statConfig.skipReport) {
|
|
|
+ if (statConfig.skipReport) {
|
|
|
return
|
|
|
}
|
|
|
AppsFlyerLib.getInstance().logEvent(AppUtil.appContext, "af_$eventId", events.toMap())
|