这是indexloc提供的服务,不要输入任何密码
Skip to content
This repository was archived by the owner on Aug 11, 2021. It is now read-only.
This repository was archived by the owner on Aug 11, 2021. It is now read-only.

Bridge Link Process blocked by ATS #117

@ghost

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions