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

NOTICE: Changes to Scanning with Custom Device Pickers in 4.5.0 #16

Open
bradoutlaw opened this issue Sep 19, 2020 · 0 comments
Open

NOTICE: Changes to Scanning with Custom Device Pickers in 4.5.0 #16

bradoutlaw opened this issue Sep 19, 2020 · 0 comments

Comments

@bradoutlaw
Copy link

If you built a custom device picker in your app, this is a known issue that can happen when upgrading to v4.5.0 of the Cast SDK. In version 4.4.8 of the Cast SDK and earlier, device scanning was automatic. Beginning in version 4.5.0, you will need to explicitly call the startDiscovery method on the GCKDiscoveryManager class to initiate device discovery.

The reason for this change is because the Local Network Access (LNA) permissions prompt will appear after the app has scanned for the first time. This could result in permissions dialogs appearing at unexpected places in your app.

Developers who build a custom device picker for their app will be expected to provide an one-time interstitial prior to initiating device scanning for the first time in iOS 14.

@bradoutlaw bradoutlaw pinned this issue Sep 19, 2020
@googlecast googlecast locked as off-topic and limited conversation to collaborators Sep 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant