question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Suggestion: implement .back() and .forward() methods for WebView widget

See original GitHub issue

I want to have a simple browser in my app, but I require basic browser navigation functionality. Since users may end up on an arbitrary site by following links, I can’t implement back and forward navigation using window.postMessage().

We need to have a back and forward method implemented on the WebView widget itself.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
patrykmolcommented, Apr 7, 2017

That’s fine with me as well.

2reactions
mpostcommented, Apr 7, 2017

Both Android an iOS support the methods

  • goBack()
  • goForward()
  • canGoBack()
  • canGoForward()

@ralfstx @patrykmol Should we add those methods on the WebView?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Build web apps in WebView - Android Developers
The shouldOverrideUrlLoading() API is primarily intended for launching intents for specific URLs. When implementing it, make sure to return ...
Read more >
WebView and Android back button navigation - LogRocket Blog
Let's explore some solutions to common problems that Android developers often encounter when using WebView, such as back button navigation.
Read more >
Using flutter webview as home and pressing back button ...
Have you tried using WebViewController class? Check if there is a back history using canGoBack method , and then use goBack method to...
Read more >
Tutorials & Guides — Implementing a Web View Integration
The Web View Integration API was designed to allow an external system to post information back to a bot. ... getConversationId() method in...
Read more >
Building Web Apps in WebView | Android Developers
For example, your JavaScript code can call a method in your Android code to display a Dialog , instead of using JavaScript's alert()...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found