Skip to content

Commit 1d1a468

Browse files
committed
fix the compile errors in the development build
1 parent a90cd09 commit 1d1a468

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

Mixpanel/Controller.cs

-9
Original file line numberDiff line numberDiff line change
@@ -348,12 +348,6 @@ internal static void DoTrack(string eventName, Value properties)
348348
data["properties"] = properties;
349349
data["$mp_metadata"] = Metadata.GetEventMetadata();
350350

351-
#if DEVELOPMENT_BUILD
352-
if (!eventName.StartsWith("$")) {
353-
MixpanelStorage.HasTracked = true;
354-
}
355-
#endif
356-
357351
MixpanelStorage.EnqueueTrackingData(data, MixpanelStorage.FlushType.EVENTS);
358352
}
359353

@@ -366,9 +360,6 @@ internal static void DoEngage(Value properties)
366360
properties["$mp_metadata"] = Metadata.GetPeopleMetadata();
367361

368362
MixpanelStorage.EnqueueTrackingData(properties, MixpanelStorage.FlushType.PEOPLE);
369-
#if DEVELOPMENT_BUILD
370-
MixpanelStorage.HasUsedPeople = true;
371-
#endif
372363
}
373364

374365
internal static void DoClear()

0 commit comments

Comments
 (0)