Skip to content

Commit

Permalink
Merge pull request #3 from shankari/restore_hardcoded_jwt
Browse files Browse the repository at this point in the history
Fix compilation issues after restoring hardcoded JWT
  • Loading branch information
shankari committed Feb 12, 2016
2 parents 35a8eda + 09f0f31 commit 338ed8b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/ios/BEMCommunicationHelper.m
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#import "BEMCommunicationHelper.h"
#import "AuthCompletionHandler.h"
#import "BEMConnectionSettings.h"
#import "BEMConstants.h"

#import <GoogleOpenSource/GoogleOpenSource.h>

Expand All @@ -29,6 +30,10 @@
static NSString* kCustomSettingsPath = @"/profile/settings";
static NSString* kRegisterPath = @"/profile/create";

static inline NSString* NSStringFromBOOL(BOOL aBool) {
return aBool? @"YES" : @"NO";
}

@interface CommunicationHelper() <AuthCompletionDelegate> {
}
@end
Expand Down Expand Up @@ -266,7 +271,7 @@ - (void)postToHost {
}
}

- (void)finishedWithAuth:(GTMOAuth2Authentication *)auth error:(NSError *)error {
- (void)finishedWithAuth:(GTMOAuth2Authentication *)auth error:(NSError *)error usingController:(UIViewController *)viewController {
NSLog(@"CommunicationHelper.finishedWithAuth called with auth = %@ and error = %@", auth, error);
if (error != NULL) {
NSLog(@"Got error %@ while authenticating", error);
Expand Down

0 comments on commit 338ed8b

Please sign in to comment.