ConnectSDK / Connect-SDK-iOS

iOS source project for Connect SDK
Apache License 2.0
169 stars 129 forks source link

Key Control and TV Control capabilities missing on Android TV #254

Open theCanabrava opened 1 year ago

theCanabrava commented 1 year ago

I've been working on a TV Remote app and was able to successfully connect to an Android TV.

However, the following necessary controls are missing:  - Key control  - TV control  - Power control   All I could get working was the volume control, and the remaining buttons are without functionality. The TV model is a Xiaomi TV.

Did anyone else have similar problems? Does anyone know if there is a way to fix this?

Kanagizhe commented 6 months ago

I also encountered this problem on Xiaomi TV. When I printed device.capabilities, I found that keyControl, powerControl, and TVControl are not supported. Have you solved this problem?

HarshadTechmero commented 3 months ago

Hi @theCanabrava @Kanagizhe

i am also working on TV Connect App, I am able to fetch list SmartTV but after connect connectable device not shown pairing code,I have code but device not show any pairing code

self.connectedDevice = obj self.connectedDevice?.delegate = self self.connectedDevice?.setPairingType(DeviceServicePairingTypeMixed) self.connectedDevice?.connect()

Try with pairingType DeviceServicePairingTypeMixed, DeviceServicePairingTypePinCode and DeviceServicePairingTypeFirstScreen but no luck

Can you please help if possible

is there any capability or permission require for pairing?