Skip to content

Commit

Permalink
Merge pull request #26 from gooichi/hotfix-1.1.6
Browse files Browse the repository at this point in the history
Hotfix 1.1.6
  • Loading branch information
baztokyo committed Oct 24, 2013
2 parents 699ff39 + d6b9e9a commit 6f30b21
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions BZFoursquare/BZFoursquare.m
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
#error This file does not support Objective-C Automatic Reference Counting (ARC)
#endif

#define kMinSupportedVersion @"20120609"
#define kAuthorizeBaseURL @"https://foursquare.com/oauth2/authorize"

@interface BZFoursquare ()
Expand Down Expand Up @@ -61,6 +62,7 @@ - (id)initWithClientID:(NSString *)clientID callbackURL:(NSString *)callbackURL
if (self) {
self.clientID = clientID;
self.callbackURL = callbackURL;
self.version = kMinSupportedVersion;
}
return self;
}
Expand Down
4 changes: 2 additions & 2 deletions FSQDemo/FSQDemo/FSQMasterViewController.m
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2011 Ba-Z Communication Inc. All rights reserved.
* Copyright (C) 2011-2013 Ba-Z Communication Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
Expand Down Expand Up @@ -81,7 +81,7 @@ - (id)initWithCoder:(NSCoder *)aDecoder {
self = [super initWithCoder:aDecoder];
if (self) {
self.foursquare = [[BZFoursquare alloc] initWithClientID:kClientID callbackURL:kCallbackURL];
foursquare_.version = @"20111119";
foursquare_.version = @"20120609";
foursquare_.locale = [[NSLocale currentLocale] objectForKey:NSLocaleLanguageCode];
foursquare_.sessionDelegate = self;
}
Expand Down

0 comments on commit 6f30b21

Please sign in to comment.