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) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -