react-native-pip-android
react-native-pip-android copied to clipboard
onClose pip listener and detect lack of PIP permission
I noticed that if the user disables PIP permission, the app would crash when enterPipMode
is called.
Also added a listener for when the PIP window is closed.