Skip to content

Cannot find Smart TV  #9

@rangav

Description

@rangav

Hi

The software provided in sdk cannot find the tv (2014 model)

I testing with pod 'smart-view-sdk', "2.5.8"

But the TV is found with Samsung Smart View iOS app.

The library doesn't work well with Xcode 11 and iOS 13.

Can you please update the example to support laster version.

Sample Code Used:

class ViewController: UIViewController, ServiceSearchDelegate, ConnectionDelegate{

    private var ss:ServiceSearch!;
    override func viewDidLoad() {
         super.viewDidLoad()
            self.ss = Service.search();
            self.ss.delegate = self;
            self.ss.start(true)
    }
    
    @objc func onServiceFound(_ service: Service)
    {
        print("Samsung found");
    }
    
    @objc func onServiceLost(_ service: SmartView.Service) -> Void
    {
        print("Samsung device lost");
    }
}

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