Skip to content

Commit

Permalink
[BUG] app crashes when attempting to play a second video while anothe…
Browse files Browse the repository at this point in the history
…r is playing (#88)

* make view lifecycle aware. pass lifecycle to player object. Fix cast bug

* Format RNJWPlayerModule.java

* Add check for if service is running before binding. Add warning and comments

* add helper script for easier reinstall of library into Example

---------

Co-authored-by: Erin Dougher <[email protected]>
  • Loading branch information
Jmilham21 and edougher authored Nov 27, 2024
1 parent 5f03880 commit 671724d
Show file tree
Hide file tree
Showing 3 changed files with 603 additions and 518 deletions.
2 changes: 2 additions & 0 deletions Example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
"version": "0.0.1",
"private": true,
"scripts": {
"reinstall": "yarn purge-modules && yarn",
"purge-modules":"rm -rf node_modules",
"android": "react-native run-android",
"ios": "react-native run-ios",
"start": "react-native start",
Expand Down
Loading

0 comments on commit 671724d

Please sign in to comment.