To support configuring the iOS startDiscoveryAfterFirstTapOnCastButton and physicalVolumeButtonsWillControlDeviceVolume options.
There are known issues regarding Cast device discovery with recent google-cast-sdk versions (v4.8.0/1) and react-native-google-cast libraries. The advice to mitigate these issues is to set startDiscoveryAfterFirstTapOnCastButton to false and allow device discovery to take place when the App launches. More information here
How
The two options have been added to the plugin configuration options.
Why
To support configuring the iOS
startDiscoveryAfterFirstTapOnCastButton
andphysicalVolumeButtonsWillControlDeviceVolume
options.There are known issues regarding Cast device discovery with recent
google-cast-sdk
versions (v4.8.0/1) andreact-native-google-cast
libraries. The advice to mitigate these issues is to setstartDiscoveryAfterFirstTapOnCastButton
to false and allow device discovery to take place when the App launches. More information hereHow
The two options have been added to the plugin configuration options.
Test Plan
Tested on multiple devices locally.