Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

Bridge Link Process blocked by ATS #117

Open
ghost opened this issue Dec 28, 2016 · 0 comments
Open

Bridge Link Process blocked by ATS #117

ghost opened this issue Dec 28, 2016 · 0 comments

Comments

@ghost
Copy link

ghost commented Dec 28, 2016

Hi,

I am not able to link with the bridge because after calling:

// Start search
self.phBridgeSearch = [[PHBridgeSearching alloc] initWithUpnpSearch:YES andPortalSearch:YES andIpAdressSearch:YES];
[self.phBridgeSearch startSearchWithCompletionHandler:^(NSDictionary *bridgesFound) { ... }];

I got this error in the XCode console: "App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file."

and, even if I am able to get the bridge...

[self.dependencies.philipsSDKUseCase.phHueSDK startPushlinkAuthentication]

is not working because neither PUSHLINK_LOCAL_AUTHENTICATION_SUCCESS_NOTIFICATION nor PUSHLINK_LOCAL_AUTHENTICATION_FAILED_NOTIFICATION notifications are triggered unless AllowsArbitraryLoads has been set to YES.

Has anyone the same problem with ATS configuration? Am I missing something?

Thanks,
David

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants