Mengganti perilaku backswipe di iOS dan android bereaksi asli

useEffect(() => {
  const gestureEndListener = () => {
    console.log('iOS back gesture ended');
  };
  // https://reactnavigation.org/docs/3.x/navigation-events
  const gestureHandler = navigation.addListener('didBlur', gestureEndListener);
  return () => {
    gestureHandler.remove();
  };
}, []);
Thor