Skip to content

Discovered devices are not updating after TV / Wi-Fi is toggled Off and back On #28

@sivaprasadkv

Description

@sivaprasadkv

Launch iOS ConnectSDK Sampler app with wifi connection, all the available devices are listed on picker view. There are 2 scenarios as follows:
Scenario-1: Power off the TV or turn off Wi-Fi, listed devices are not refreshing based on the connectivity in between TV & app.
Scenario-2: Connect to the listed device, iOS app allows to do all the controls like display photos, remote control actions etc. Now power off the TV or turn off Wi-Fi, still app is allowing to do all actions. App should navigate back to disconnected screen.

In both scenarios, ConnectSDK listeners / delegate methods are not getting called to refresh the app.

Issue: ConnectSDK delegate methods are not firing actively upon disconnection of device or loosing the device connectivity with TV. I observed few times it is calling didLoseDevice delegate method upon powering off TV.

  • (void)discoveryManager:(DiscoveryManager *)manager didLoseDevice:(ConnectableDevice *)device

Please confirm that the ConnectableDeviceDelegate method (below one) is getting called while already connected device get lost the connectivity:

  • (void) connectableDeviceDisconnected:(ConnectableDevice *)device withError:(NSError *)error

Attached the screenshots of the issue. Please have a look.

Tested with latest iOS connectSDK Sampler app with:
iOS SDK - 15.2.1,
Device - iPhone XS Max.

Kindly fix this issue. Thanks.

ConnectSDK-iOS-Sampler-App-Connected-Wifi-Off
ConnectSDK-iOS-Sampler-App-Devices-Discovered-Wifi-Off
ConnectSDK-iOS-Sampler-App-Devices-Discovered-Wifi-On

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