Skip to content

Commit

Permalink
app extension now uses main ios target. uses bundle identifier to che…
Browse files Browse the repository at this point in the history
…ck if is app extension, and hides UIApplication sharedApplication behind perform selector to avoid compile errors. should maintain same functionality as before for app extension (#715)
  • Loading branch information
pchien committed Oct 20, 2017
1 parent ef4a608 commit 52634ae
Show file tree
Hide file tree
Showing 18 changed files with 260 additions and 365 deletions.
1 change: 0 additions & 1 deletion HelloMixpanel/HelloMixpanel/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString]];
}]];
[self.window.rootViewController presentViewController:alertController animated:YES completion:nil];

#endif
} else {
// Initialize the MixpanelAPI object
Expand Down
24 changes: 0 additions & 24 deletions Mixpanel-AppExtension-Info.plist

This file was deleted.

17 changes: 0 additions & 17 deletions Mixpanel-AppExtension.podspec

This file was deleted.

138 changes: 0 additions & 138 deletions Mixpanel.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@
513243441D1B473100CBA9AA /* WatchKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 513243431D1B473100CBA9AA /* WatchKit.framework */; };
513583971BD1BE50008EEDF1 /* UIView+MPHelpers.h in Headers */ = {isa = PBXBuildFile; fileRef = 513583951BD1BE50008EEDF1 /* UIView+MPHelpers.h */; };
513583981BD1BE50008EEDF1 /* UIView+MPHelpers.m in Sources */ = {isa = PBXBuildFile; fileRef = 513583961BD1BE50008EEDF1 /* UIView+MPHelpers.m */; };
513B0BB81C73CA6D008EEE6E /* Mixpanel.m in Sources */ = {isa = PBXBuildFile; fileRef = 7C170C4C1A4A035F00D9E0F2 /* Mixpanel.m */; };
513B0BB91C73CA87008EEE6E /* MPLogger.h in Headers */ = {isa = PBXBuildFile; fileRef = 7C170C7F1A4A035F00D9E0F2 /* MPLogger.h */; };
513B0BBC1C73CA94008EEE6E /* MPFoundation.h in Headers */ = {isa = PBXBuildFile; fileRef = 37F9F7F11C2B8BFC00783DDB /* MPFoundation.h */; };
513B0BBD1C73CBA0008EEE6E /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7C170D451A4A05A000D9E0F2 /* Foundation.framework */; };
513B0BBE1C73CBA4008EEE6E /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7C170D411A4A059400D9E0F2 /* UIKit.framework */; };
514733BD1CD7CCDB0098B23A /* MPResources.h in Headers */ = {isa = PBXBuildFile; fileRef = 514733BB1CD7CCDB0098B23A /* MPResources.h */; };
514733BE1CD7CCDB0098B23A /* MPResources.m in Sources */ = {isa = PBXBuildFile; fileRef = 514733BC1CD7CCDB0098B23A /* MPResources.m */; };
514733D21CD7D6EC0098B23A /* MPArrowLeft.png in Resources */ = {isa = PBXBuildFile; fileRef = 514733C71CD7D6EC0098B23A /* MPArrowLeft.png */; };
Expand All @@ -40,7 +35,6 @@
519AD7A61CB706A9005411A5 /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 519AD7A51CB706A9005411A5 /* CFNetwork.framework */; };
519C548C1D131E6500407F56 /* MixpanelPeople.h in Headers */ = {isa = PBXBuildFile; fileRef = 519C548A1D131E6500407F56 /* MixpanelPeople.h */; settings = {ATTRIBUTES = (Public, ); }; };
519C548E1D131E6500407F56 /* MixpanelPeople.m in Sources */ = {isa = PBXBuildFile; fileRef = 519C548B1D131E6500407F56 /* MixpanelPeople.m */; };
519C548F1D131E6500407F56 /* MixpanelPeople.m in Sources */ = {isa = PBXBuildFile; fileRef = 519C548B1D131E6500407F56 /* MixpanelPeople.m */; };
51C3B23A1CA5B2D3004CE37C /* UIViewController+AutomaticTracks.m in Sources */ = {isa = PBXBuildFile; fileRef = 51C3B2301CA5B2D3004CE37C /* UIViewController+AutomaticTracks.m */; };
51C3B23B1CA5B2D3004CE37C /* UIViewController+AutomaticTracks.h in Headers */ = {isa = PBXBuildFile; fileRef = 51C3B2311CA5B2D3004CE37C /* UIViewController+AutomaticTracks.h */; };
51C3B23C1CA5B2D3004CE37C /* UIApplication+AutomaticTracks.m in Sources */ = {isa = PBXBuildFile; fileRef = 51C3B2321CA5B2D3004CE37C /* UIApplication+AutomaticTracks.m */; };
Expand Down Expand Up @@ -166,13 +160,10 @@
7C170D4A1A4A05AF00D9E0F2 /* CoreTelephony.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7C170D491A4A05AF00D9E0F2 /* CoreTelephony.framework */; };
7C170D4C1A4A05B400D9E0F2 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7C170D4B1A4A05B400D9E0F2 /* CoreGraphics.framework */; };
7C170D4E1A4A05BE00D9E0F2 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7C170D4D1A4A05BE00D9E0F2 /* QuartzCore.framework */; };
E115E0151CCAEDFD0026CFC0 /* Mixpanel+AutomaticTracks.h in Headers */ = {isa = PBXBuildFile; fileRef = 51C3B2381CA5B2D3004CE37C /* Mixpanel+AutomaticTracks.h */; };
E115E0161CCAEE060026CFC0 /* AutomaticTracksConstants.h in Headers */ = {isa = PBXBuildFile; fileRef = 51C3B2391CA5B2D3004CE37C /* AutomaticTracksConstants.h */; };
E123C47F1D1342150015B425 /* MixpanelPeople.m in Sources */ = {isa = PBXBuildFile; fileRef = 519C548B1D131E6500407F56 /* MixpanelPeople.m */; };
E12CE4361EA68A3C0023AA2D /* AutomaticEvents.h in Headers */ = {isa = PBXBuildFile; fileRef = E12CE4341EA68A3C0023AA2D /* AutomaticEvents.h */; };
E12CE4371EA68A3C0023AA2D /* AutomaticEvents.m in Sources */ = {isa = PBXBuildFile; fileRef = E12CE4351EA68A3C0023AA2D /* AutomaticEvents.m */; };
E12FA3B31D4C0F2B009DF414 /* MPAbstractABTestDesignerMessage.h in Headers */ = {isa = PBXBuildFile; fileRef = E12FA3B21D4C0F2B009DF414 /* MPAbstractABTestDesignerMessage.h */; };
E143ABBF1D51496800513BDE /* MPNetwork.m in Sources */ = {isa = PBXBuildFile; fileRef = 517ABB691D14AD6F00FF8061 /* MPNetwork.m */; };
E14FA8071F44DF17009B4533 /* UserNotifications.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E14FA8061F44DF17009B4533 /* UserNotifications.framework */; };
E163D08E1EA69B4500DA4BF6 /* StoreKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E163D08D1EA69B4500DA4BF6 /* StoreKit.framework */; };
E19087C21E53B51200023FCC /* placeholder-image.png in Resources */ = {isa = PBXBuildFile; fileRef = E19087C11E53B51200023FCC /* placeholder-image.png */; };
Expand Down Expand Up @@ -203,11 +194,6 @@
E1F1618D1E68C55E00391AE3 /* MixpanelPrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = 519C54901D131EC800407F56 /* MixpanelPrivate.h */; settings = {ATTRIBUTES = (Private, ); }; };
E1F1618E1E68C56100391AE3 /* MixpanelPeoplePrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = 519C54931D131F4F00407F56 /* MixpanelPeoplePrivate.h */; settings = {ATTRIBUTES = (Private, ); }; };
E1F1618F1E68C56300391AE3 /* MPNetworkPrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = 517ABB721D14B87C00FF8061 /* MPNetworkPrivate.h */; settings = {ATTRIBUTES = (Private, ); }; };
E1F161901E68C56B00391AE3 /* Mixpanel.h in Headers */ = {isa = PBXBuildFile; fileRef = 7C170C4B1A4A035F00D9E0F2 /* Mixpanel.h */; settings = {ATTRIBUTES = (Public, ); }; };
E1F161911E68C56E00391AE3 /* MixpanelPrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = 519C54901D131EC800407F56 /* MixpanelPrivate.h */; settings = {ATTRIBUTES = (Private, ); }; };
E1F161921E68C57100391AE3 /* MixpanelPeoplePrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = 519C54931D131F4F00407F56 /* MixpanelPeoplePrivate.h */; settings = {ATTRIBUTES = (Private, ); }; };
E1F161931E68C57900391AE3 /* MixpanelPeople.h in Headers */ = {isa = PBXBuildFile; fileRef = 519C548A1D131E6500407F56 /* MixpanelPeople.h */; settings = {ATTRIBUTES = (Public, ); }; };
E1F161941E68C57F00391AE3 /* MPNetworkPrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = 517ABB721D14B87C00FF8061 /* MPNetworkPrivate.h */; settings = {ATTRIBUTES = (Private, ); }; };
E1F161951E68C58700391AE3 /* Mixpanel.h in Headers */ = {isa = PBXBuildFile; fileRef = 7C170C4B1A4A035F00D9E0F2 /* Mixpanel.h */; settings = {ATTRIBUTES = (Public, ); }; };
E1F161961E68C58B00391AE3 /* MixpanelPrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = 519C54901D131EC800407F56 /* MixpanelPrivate.h */; settings = {ATTRIBUTES = (Private, ); }; };
E1F161971E68C59400391AE3 /* MixpanelPeoplePrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = 519C54931D131F4F00407F56 /* MixpanelPeoplePrivate.h */; settings = {ATTRIBUTES = (Private, ); }; };
Expand Down Expand Up @@ -240,8 +226,6 @@
513243431D1B473100CBA9AA /* WatchKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WatchKit.framework; path = Platforms/WatchOS.platform/Developer/SDKs/WatchOS2.2.sdk/System/Library/Frameworks/WatchKit.framework; sourceTree = DEVELOPER_DIR; };
513583951BD1BE50008EEDF1 /* UIView+MPHelpers.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIView+MPHelpers.h"; sourceTree = "<group>"; };
513583961BD1BE50008EEDF1 /* UIView+MPHelpers.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIView+MPHelpers.m"; sourceTree = "<group>"; };
513B0BB61C73CA35008EEE6E /* MixpanelAppExtension.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = MixpanelAppExtension.framework; sourceTree = BUILT_PRODUCTS_DIR; };
513B0BFB1C73D5DA008EEE6E /* Mixpanel-AppExtension-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "Mixpanel-AppExtension-Info.plist"; sourceTree = "<group>"; };
514733BB1CD7CCDB0098B23A /* MPResources.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MPResources.h; sourceTree = "<group>"; };
514733BC1CD7CCDB0098B23A /* MPResources.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MPResources.m; sourceTree = "<group>"; };
514733C71CD7D6EC0098B23A /* MPArrowLeft.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = MPArrowLeft.png; sourceTree = "<group>"; };
Expand Down Expand Up @@ -438,15 +422,6 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
513B0B6B1C73CA35008EEE6E /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
513B0BBE1C73CBA4008EEE6E /* UIKit.framework in Frameworks */,
513B0BBD1C73CBA0008EEE6E /* Foundation.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
7C170C261A4A02F500D9E0F2 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
Expand Down Expand Up @@ -770,7 +745,6 @@
children = (
7C170C2A1A4A02F500D9E0F2 /* Mixpanel.framework */,
511FC39D1C2B74BD00DC4796 /* Mixpanel.framework */,
513B0BB61C73CA35008EEE6E /* MixpanelAppExtension.framework */,
E1C2BEB61CFD6A010052172F /* Mixpanel.framework */,
E1F160B01E677D2200391AE3 /* Mixpanel.framework */,
);
Expand Down Expand Up @@ -801,7 +775,6 @@
E1C2C0BA1CFDD53B0052172F /* tvos.modulemap */,
E1F160B81E6783C400391AE3 /* macos.modulemap */,
7C170C2E1A4A02F500D9E0F2 /* Info.plist */,
513B0BFB1C73D5DA008EEE6E /* Mixpanel-AppExtension-Info.plist */,
E1C2BDFB1CFD61030052172F /* Mixpanel-watchOS-Info.plist */,
E1C2BE061CFD616A0052172F /* Mixpanel-tvOS-Info.plist */,
E1F160B91E6791F900391AE3 /* Mixpanel-macOS-info.plist */,
Expand Down Expand Up @@ -901,22 +874,6 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
513B0B741C73CA35008EEE6E /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
E1F161901E68C56B00391AE3 /* Mixpanel.h in Headers */,
E1F161931E68C57900391AE3 /* MixpanelPeople.h in Headers */,
E1F161911E68C56E00391AE3 /* MixpanelPrivate.h in Headers */,
E1F161921E68C57100391AE3 /* MixpanelPeoplePrivate.h in Headers */,
E1F161941E68C57F00391AE3 /* MPNetworkPrivate.h in Headers */,
513B0BBC1C73CA94008EEE6E /* MPFoundation.h in Headers */,
E115E0161CCAEE060026CFC0 /* AutomaticTracksConstants.h in Headers */,
E115E0151CCAEDFD0026CFC0 /* Mixpanel+AutomaticTracks.h in Headers */,
513B0BB91C73CA87008EEE6E /* MPLogger.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
7C170C271A4A02F500D9E0F2 /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
Expand Down Expand Up @@ -1041,23 +998,6 @@
productReference = 511FC39D1C2B74BD00DC4796 /* Mixpanel.framework */;
productType = "com.apple.product-type.framework";
};
513B0B281C73CA35008EEE6E /* MixpanelAppExtension */ = {
isa = PBXNativeTarget;
buildConfigurationList = 513B0BB31C73CA35008EEE6E /* Build configuration list for PBXNativeTarget "MixpanelAppExtension" */;
buildPhases = (
513B0B291C73CA35008EEE6E /* Sources */,
513B0B6B1C73CA35008EEE6E /* Frameworks */,
513B0B741C73CA35008EEE6E /* Headers */,
);
buildRules = (
);
dependencies = (
);
name = MixpanelAppExtension;
productName = MixpanelFramework;
productReference = 513B0BB61C73CA35008EEE6E /* MixpanelAppExtension.framework */;
productType = "com.apple.product-type.framework";
};
7C170C291A4A02F500D9E0F2 /* Mixpanel */ = {
isa = PBXNativeTarget;
buildConfigurationList = 7C170C401A4A02F500D9E0F2 /* Build configuration list for PBXNativeTarget "Mixpanel" */;
Expand Down Expand Up @@ -1144,7 +1084,6 @@
targets = (
7C170C291A4A02F500D9E0F2 /* Mixpanel */,
511FC3101C2B74BD00DC4796 /* Mixpanel_watchOS */,
513B0B281C73CA35008EEE6E /* MixpanelAppExtension */,
E1C2BE0A1CFD6A010052172F /* Mixpanel_tvOS */,
E1F160AF1E677D2200391AE3 /* Mixpanel_macOS */,
);
Expand Down Expand Up @@ -1211,16 +1150,6 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
513B0B291C73CA35008EEE6E /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
E143ABBF1D51496800513BDE /* MPNetwork.m in Sources */,
513B0BB81C73CA6D008EEE6E /* Mixpanel.m in Sources */,
519C548F1D131E6500407F56 /* MixpanelPeople.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
7C170C251A4A02F500D9E0F2 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
Expand Down Expand Up @@ -1393,64 +1322,6 @@
};
name = Release;
};
513B0BB41C73CA35008EEE6E /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
APPLICATION_EXTENSION_API_ONLY = YES;
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
GCC_PREFIX_HEADER = "";
GCC_PREPROCESSOR_DEFINITIONS = (
"$(inherited)",
"DEBUG=1",
"MIXPANEL_APP_EXTENSION=1",
);
GCC_TREAT_WARNINGS_AS_ERRORS = NO;
INFOPLIST_FILE = "Mixpanel-AppExtension-Info.plist";
INSTALL_PATH = "@rpath";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
LIBRARY_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Mixpanel",
);
MODULEMAP_FILE = Mixpanel/app_extension_module.modulemap;
PRODUCT_BUNDLE_IDENTIFIER = com.mixpanel.Mixpanel.extension;
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Debug;
};
513B0BB51C73CA35008EEE6E /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
APPLICATION_EXTENSION_API_ONLY = YES;
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
GCC_PREFIX_HEADER = "";
GCC_PREPROCESSOR_DEFINITIONS = "MIXPANEL_APP_EXTENSION=1";
GCC_TREAT_WARNINGS_AS_ERRORS = NO;
INFOPLIST_FILE = "Mixpanel-AppExtension-Info.plist";
INSTALL_PATH = "@rpath";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
LIBRARY_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Mixpanel",
);
MODULEMAP_FILE = Mixpanel/app_extension_module.modulemap;
PRODUCT_BUNDLE_IDENTIFIER = com.mixpanel.Mixpanel.extension;
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Release;
};
7C170C3E1A4A02F500D9E0F2 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
Expand Down Expand Up @@ -1788,15 +1659,6 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
513B0BB31C73CA35008EEE6E /* Build configuration list for PBXNativeTarget "MixpanelAppExtension" */ = {
isa = XCConfigurationList;
buildConfigurations = (
513B0BB41C73CA35008EEE6E /* Debug */,
513B0BB51C73CA35008EEE6E /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
7C170C241A4A02F500D9E0F2 /* Build configuration list for PBXProject "Mixpanel" */ = {
isa = XCConfigurationList;
buildConfigurations = (
Expand Down
3 changes: 2 additions & 1 deletion Mixpanel/MPABTestDesignerConnection.m
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Copyright (c) 2014 Mixpanel. All rights reserved.

#import "Mixpanel.h"
#import "MixpanelPrivate.h"
#import "MPABTestDesignerChangeRequestMessage.h"
#import "MPABTestDesignerClearRequestMessage.h"
#import "MPABTestDesignerConnection.h"
Expand Down Expand Up @@ -256,7 +257,7 @@ - (void)webSocket:(MPWebSocket *)webSocket didCloseWithCode:(NSInteger)code reas

- (void)showConnectedViewWithLoading:(BOOL)isLoading {
if (!self.connectivityIndicatorWindow) {
UIWindow *mainWindow = [[UIApplication sharedApplication] delegate].window;
UIWindow *mainWindow = [[Mixpanel sharedUIApplication] delegate].window;
self.connectivityIndicatorWindow = [[UIWindow alloc] initWithFrame:CGRectMake(0, 0, mainWindow.frame.size.width, 4.f)];
self.connectivityIndicatorWindow.backgroundColor = [UIColor clearColor];
self.connectivityIndicatorWindow.windowLevel = UIWindowLevelAlert;
Expand Down
3 changes: 2 additions & 1 deletion Mixpanel/MPABTestDesignerSnapshotRequestMessage.m
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//
// Copyright (c) 2014 Mixpanel. All rights reserved.

#import "MixpanelPrivate.h"
#import "MPABTestDesignerConnection.h"
#import "MPABTestDesignerSnapshotRequestMessage.h"
#import "MPABTestDesignerSnapshotResponseMessage.h"
Expand Down Expand Up @@ -53,7 +54,7 @@ - (NSOperation *)responseCommandWithConnection:(MPABTestDesignerConnection *)con
[connection setSessionObject:objectIdentityProvider forKey:kObjectIdentityProviderKey];
}

MPApplicationStateSerializer *serializer = [[MPApplicationStateSerializer alloc] initWithApplication:[UIApplication sharedApplication]
MPApplicationStateSerializer *serializer = [[MPApplicationStateSerializer alloc] initWithApplication:[Mixpanel sharedUIApplication]
configuration:serializerConfig
objectIdentityProvider:objectIdentityProvider];

Expand Down
Loading

0 comments on commit 52634ae

Please sign in to comment.