chaimPaneth / react-native-jw-media-player

React-Native Android/iOS bridge for JWPlayer SDK (https://www.jwplayer.com/)
MIT License
190 stars 91 forks source link

Whole Android app goes to PIP mode #312

Open Drashti-Gabani opened 1 year ago

Drashti-Gabani commented 1 year ago

In the current library version, on click of the home button of android device, full app goes to PIP mode even after closing the player.

scenario is - when I launch app for the first time and try to click system's home button, it works fine. when I start player, it also works as expected but after closing player if I click on home button, whole app reacts as PIP mode. i want single activity which contains video player to be reacted as PIP, not the full App.

basically, PIP mode should be restricted once we close the player and should be enabled again when playing video.