2
0

Don't use Localytics or Crashlytics when disabled.

This commit is contained in:
Maarten Billemont
2013-08-25 18:49:13 -04:00
parent 2399156ee4
commit 72f0d69a71
11 changed files with 205 additions and 372 deletions

View File

@@ -139,7 +139,7 @@ static NSDictionary *keyQuery(MPUserEntity *user) {
[Crashlytics setObjectValue:user.userID forKey:@"username"];
[Crashlytics setUserName:user.userID];
#endif
#if TARGET_OS_IPHONE
#ifdef LOCALYTICS
[[LocalyticsSession sharedLocalyticsSession] setCustomerName:user.userID];
#endif
}