From 5f965790b9b3400538a20abcf13c14ba8f1cc6bd Mon Sep 17 00:00:00 2001 From: "K. Shankari" Date: Sun, 6 Mar 2016 00:48:32 -0800 Subject: [PATCH] Ensure that connecting to localhost is still supported So that we can continue our testing using the emulator --- src/ios/BEMCommunicationHelper.m | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ios/BEMCommunicationHelper.m b/src/ios/BEMCommunicationHelper.m index 0cd5b76..6782b9f 100644 --- a/src/ios/BEMCommunicationHelper.m +++ b/src/ios/BEMCommunicationHelper.m @@ -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) {