Sanfar29, being able to use your smartphone as a TV remote is a pretty neat feature. The Samsung Galaxy S8 does not have the IR (Infra Red) hardware. But, there are third-party applications in the Google Play Store that would allow you use the device WiFi to discover and control devices. I hope this is helpful information.
Follow us on Twitter @VZWSupport
If my response answered your question please click the ?Correct Answer? button under my response. This ensures others can benefit from our conversation. Thanks in advance for your help with this!