expo / config-plugins

Out-of-tree Expo config plugins for packages that haven't adopted the config plugin system yet.
465 stars 99 forks source link

feat(react-native-google-cast): add startDiscoveryAfterFirstTapOnCastButton and physicalVolumeButtonsWillControlDeviceVolume options to iOS #243

Open julianD77 opened 3 months ago

julianD77 commented 3 months ago

Why

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.

Test Plan

Tested on multiple devices locally.