Closed lorenc-tomasz closed 3 years ago
Hi @lorenc-tomasz , Sorry for the late response. you can use initWithToken:launchOptions:flushInterval:trackCrashes: or set flushInterval
after calling sharedInstance. like self.mixpanel.flushInterval = 20;
When using
+ (Mixpanel *)sharedInstanceWithToken:(NSString *)apiToken launchOptions:(NSDictionary *)launchOptions trackCrashes:(BOOL)trackCrashes automaticPushTracking:(BOOL)automaticPushTracking optOutTrackingByDefault:(BOOL)optOutTrackingByDefault
flushInterval param is set either to 1 or to 60 seconds if no instace is exist. Maybe it's good to consider exposing this param on that methids?