Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sivaprasadkv opened this issue Mar 24, 2022 · 0 comments

Comments

@sivaprasadkv
Copy link

sivaprasadkv commented Mar 24, 2022

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

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

No branches or pull requests

1 participant