objective c - Mixpanel disable tracking in certain environment for iOS app -


i disable tracking mixpanel when app in development profile. can done in google analytics ios calling method disable tracking . mixpanel ios ,i couldn't find similar method. idea how implement ?

thanks

you can not initialize mixpanel, using debug define like:

#ifndef deugb // debug not defined     [mixpanel sharedinstancewithtoken:mixpanel_token]; #ednif 

Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

xcode - Swift Playground - Files are not readable -

jboss7.x - JBoss AS 7.3 vs 7.4 and differences -