Skip to content

Commit

Permalink
Ensure that connecting to localhost is still supported
Browse files Browse the repository at this point in the history
So that we can continue our testing using the emulator
  • Loading branch information
shankari committed Mar 6, 2016
1 parent 686941e commit 5f96579
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 5f96579

Please sign in to comment.