I've seen a couple other questions from others having the same problem: in my sample application I've registered a callback as follows:
cast_api.addReceiverListener(appId, onReceiverList);
When I use appId = 'YouTube'
I see my Cast, but when I use the whitelisted app ID here I get an empty list. I have rebooted the Cast and also done a factory reset to make sure the "Send this Chromecast's serial number to Google when checking for updates" is checked; it is.
I am able to connect to the Cast over the debug port.
I am not sure what else I could be missing, besides perhaps:
- mis-spelling the serial number (mine was 7 numbers and 5 letters, does that make sense?)
- device has not updated the whitelisted app IDs
Any thoughts? It's really hard to try to figure out what's going on, since there is no way to ensure the device has registered the whitelisted app IDs.