Quantcast
Channel: How do I go back in webview? I am using the react-navigation package in react-native - Stack Overflow
Browsing latest articles
Browse All 4 View Live

Answer by Nazim.A for How do I go back in webview? I am using the...

Here is a simple solution using the magic of React's State.Hope this helps.import React, { useRef, useState } from 'react'export default function Component () { // This is used to save the reference of...

View Article


Answer by Pedro Garbim for How do I go back in webview? I am using the...

The response above was perfect. I set the state true for canGoBack though; I was getting a null error, so:constructor(props) { super(props); this.startingUrl =...

View Article

Answer by Lukasz for How do I go back in webview? I am using the...

Following the official webview documnentation you could try to do this: https://github.com/react-native-community/react-native-webview/blob/master/docs/Guide.md#intercepting-hash-url-changesIn general...

View Article

How do I go back in webview? I am using the react-navigation package in...

I installed the react-navigation package in react-nativeI have implemented tab navigation and one of them is implemented in webview format.My problem is that if I press the back physical button on...

View Article
Browsing latest articles
Browse All 4 View Live