forked from upstream-mirrors/quik
Fix withAnalytics build issues
This commit is contained in:
+4
-5
@@ -16,15 +16,14 @@
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with QKSMS. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package com.moez.QKSMS.common.util
|
||||
package com.moez.QKSMS.manager
|
||||
|
||||
import android.content.Context
|
||||
import com.amplitude.api.Amplitude
|
||||
import com.amplitude.api.AmplitudeClient
|
||||
import com.amplitude.api.Identify
|
||||
import com.mixpanel.android.mpmetrics.MixpanelAPI
|
||||
import com.moez.QKSMS.BuildConfig
|
||||
import com.moez.QKSMS.manager.AnalyticsManager
|
||||
import com.moez.QKSMS.data.BuildConfig
|
||||
import org.json.JSONArray
|
||||
import org.json.JSONObject
|
||||
import timber.log.Timber
|
||||
@@ -48,9 +47,9 @@ class AnalyticsManagerImpl @Inject constructor(context: Context) : AnalyticsMana
|
||||
|
||||
amplitude.logEvent(event, propertiesJson)
|
||||
|
||||
synchronized(mixpanel, {
|
||||
synchronized(mixpanel) {
|
||||
mixpanel.track(event, propertiesJson)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
override fun setUserProperty(key: String, value: Any) {
|
||||
Reference in New Issue
Block a user