shaun-chiang / rn-android-pip

React Native Android Picture-in-Picture Library.
MIT License
17 stars 24 forks source link

Route pip in app #8

Open astroana opened 3 years ago

astroana commented 3 years ago

Currently when I enable pip in any component or page it will minimize the whole app, how do i minimize just the component only for example I have a video call screen and when I route to another page it will only minimize the video call screen and I can still navigate through the app?

freeboub commented 3 years ago

This cannot be supported, the resize act on the whole android app. you should handle this feature in you react application states: ie: If in pip, display only your component