I have following code and I think unloadSync() is causing an error:
useFocusEffect( React.useCallback(() => { ShowVideo(true); return () =>