diff --git a/src/ios/BEMCommunicationHelper.m b/src/ios/BEMCommunicationHelper.m index 6782b9f..004159f 100644 --- a/src/ios/BEMCommunicationHelper.m +++ b/src/ios/BEMCommunicationHelper.m @@ -201,6 +201,7 @@ - (void)postToHost { myFetcher.allowLocalhostRequest = YES; myFetcher.retryEnabled = YES; myFetcher.bodyData = jsonData; + myFetcher.allowedInsecureSchemes = @[ @"http" ]; [myFetcher beginFetchWithCompletionHandler:^(NSData * _Nullable data, NSError * _Nullable error) { self.mCompletionHandler(data, myFetcher.response, error); }];