Suggestion: implement .back() and .forward() methods for WebView widget
See original GitHub issueI 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:
- Created 6 years ago
- Comments:6 (6 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That’s fine with me as well.
Both Android an iOS support the methods
goBack()
goForward()
canGoBack()
canGoForward()
@ralfstx @patrykmol Should we add those methods on the
WebView
?