-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VEX-6324: Hardening Google Cast session handling (#10)
Wraps all RN methods in try/catch and propagates the errors back to JS for handling them there instead. Jira: VEX-6324 https://jira.tenkasu.net/browse/VEX-6324 There are instances where Google Cast can have no active session but we request some information, this caused a crash. To prevent this from crashing outright all native methods that need session were wrapped in try catch and now reject the promise which moves the error handling to JS for a better user experience and potential recovery.
- Loading branch information
1 parent
2a31248
commit 255bc77
Showing
3 changed files
with
343 additions
and
200 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.