Fix withAnalytics build issues

This commit is contained in:
Moez Bhatti
2018-06-20 17:39:52 -04:00
parent 53e8c01d88
commit aee60a5cae
5 changed files with 13 additions and 11 deletions
@@ -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) {