Skip to content

Commit

Permalink
Merge pull request #10 from shankari/restore_get_jwt
Browse files Browse the repository at this point in the history
Ensure that connecting to localhost is still supported
  • Loading branch information
shankari committed Mar 6, 2016
2 parents 4496bc0 + 5f96579 commit 05ed190
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ios/BEMCommunicationHelper.m
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ - (void)postToHost {
I have run this through xcode and refreshed multiple times, and the memory consumption does not appear to increase.
*/
GTMSessionFetcher *myFetcher = [_fetcherService fetcherWithRequest:request];
myFetcher.allowLocalhostRequest = YES;
myFetcher.retryEnabled = YES;
myFetcher.bodyData = jsonData;
[myFetcher beginFetchWithCompletionHandler:^(NSData * _Nullable data, NSError * _Nullable error) {
Expand Down

0 comments on commit 05ed190

Please sign in to comment.