Skip to content

Commit

Permalink
Fix for IOS-40, now always updating configuration if the app configur…
Browse files Browse the repository at this point in the history
…ation is debug.
  • Loading branch information
wooster committed Jun 2, 2012
1 parent 976c427 commit df7aa47
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -847,7 +847,10 @@
);
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = DEBUG;
GCC_PREPROCESSOR_DEFINITIONS = (
DEBUG,
"APPTENTIVE_DEBUG=1",
);
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
GCC_THUMB_SUPPORT = NO;
"GCC_THUMB_SUPPORT[arch=armv6]" = NO;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@
NSString *const ATAppConfigurationMetricsEnabledPreferenceKey = @"ATAppConfigurationMetricsEnabledPreferenceKey";

// Interval, in seconds, after which we'll update the configuration.
#if APPTENTIVE_DEBUG
#define kATAppConfigurationUpdateInterval (3)
#else
#define kATAppConfigurationUpdateInterval (60*60*24)
#endif


@interface ATAppConfigurationUpdater (Private)
- (void)processResult:(NSDictionary *)jsonRatingConfiguration;
Expand Down

0 comments on commit df7aa47

Please sign in to comment.