betterplayer icon indicating copy to clipboard operation
betterplayer copied to clipboard

useRootNavigator parameter utilized when pushing fullscreen

Open Colton127 opened this issue 3 years ago • 2 comments

By default, betterplayer always uses rootNavigator when pushing full screen. This can cause trouble for those of us with nested routes, as it tends to dispose of previous routes. This simple change utilizes the already supplied "useRootNavigator" parameter during the fullscreen navigator push.

Colton127 avatar Jan 12 '22 03:01 Colton127

Updated better_player_controller to always call playerVisibilityChangedBehavior if supplied, regardless of if handleLifecycle is enabled.

Colton127 avatar Feb 04 '22 03:02 Colton127

@Colton127 can you share which part has the full screen route code?

krishaajtak avatar Aug 05 '22 08:08 krishaajtak