Can't find Chromecast devices using API 28

时间:2019-05-31 11:33:34

标签: java android chromecast android-9.0-pie

I'm having an issues with the Chromecast implementation for my app. I'm having an option to cast videos to a nearby device. This works fine for all Android version except Android 9 (API 28). The Chromecast icon is not visible on multiple Android 9 devices where I did a test. It is working perfectly fine with other apps though.

I reviewed the changes for the new Android version but I was unable to find a solution. I do have FOREGROUND_SERVICE in my AndroidManifest so that should not be the problem.

My app is using version 16.1.2 of the play-services Google Cast (framework). And media router v7:26.1.

Is there an obvious change between the old Android versions and Android 9 that I'm missing here? Thanks for helping.

0 个答案:

没有答案