Swipe Gestures

📘

Add swipe gestures to your app to enable swiping to go back and forward in the navigation history. On Android arrow indicators will show on the screen to indicate when there is a page available to go back to or to go forward to.

Enable/Disable Swipe Gestures on runtime

To enable/disable Swipe Gestures on runtime, run the following command:

↔️GoNative JavaScript Bridge

// enable swipe gestures
gonative.android.swipeGestures.enable();

// disable swipe gestures
gonative.android.swipeGestures.disable();