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

Gracefully Handle missing or not up-to-date Google Play Services Version #9

Open
joshjhargreaves opened this issue Jul 2, 2018 · 0 comments
Labels

Comments

@joshjhargreaves
Copy link

As mentioned in TODO in the ReadMe, gracefully handing missing or not up-to-date version of Google Play Services desirable. Testing on devices where this is the case, exceptions are thrown when calling CastContext.getSharedInstance.

A rough solution approach might be to not show the cast button in cases where Google Play Services is not up-to-date or available, so something like this: https://github.com/joshyhargreaves/react-native-google-cast/pull/1/files. It might be necessary to handle cases where calls to the native Google Cast module, guard against these exceptions also also.

Any other ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants