Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

julianD77
Copy link

@julianD77 julianD77 commented Jul 19, 2024

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.

@julianD77 julianD77 changed the title feat(react-native-google-cast): add startDiscoveryAfterFirstTapOnCastButton and physicalVolumeButtonsWillControlDeviceVolume options to IOS feat(react-native-google-cast): add startDiscoveryAfterFirstTapOnCastButton and physicalVolumeButtonsWillControlDeviceVolume options to iOS Jul 19, 2024
…ase 4.8.2 of the iOS google-cast-sdk you no longer specify to use the no-bluetooth variant of the SDK so all permissions seem to be required

Set version to 8.0.3
@julianD77 julianD77 marked this pull request as ready for review August 13, 2024 13:36
@julianD77 julianD77 marked this pull request as draft August 13, 2024 13:52
…e not required if we are correctly linking agains the latest iOS google-cast-sdk 4.8.1
@julianD77 julianD77 marked this pull request as ready for review August 13, 2024 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant