-
Notifications
You must be signed in to change notification settings - Fork 26.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Webview_flutter canGoBack problem in Separate Window #148536
Comments
Thanks for the report @YashExpert10 |
Thanks for response @darshankawar //Here is minimal code
|
The issue description is describing this as being a problem where calling |
Thanks Sir for your Guidance @stuartmorgan Can u please give me full example code Or Edit my example code so i understand where i am doing wrong ? |
@YashExpert10 |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Steps to reproduce
Two different windows are open in the bottom navigation bar but on pressing the back button both Webview 1 and Webview 2 webpages are going back, whereas only one should be back.
When I do window.history.back(), I get the same result by using runJavaScript.
Controller should be different for different window.
Sample Code.zip
Expected results
Result should be only one window is back when press back button.
Controllers and runJavaScript and other method should not be conflict for different Class.
Actual results
webview.back.problem.mp4
Code sample
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
[Paste your logs here]
Flutter Doctor output
PS D:\All_Projects\start_web> flutter doctor -v
[√] Flutter (Channel stable, 3.19.0, on Microsoft Windows [Version 10.0.19045.1889], locale en-IN)
• Flutter version 3.19.0 on channel stable at C:\Src\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision bae5e49 (3 months ago), 2024-02-13 17:46:18 -0800
• Engine revision 04817c99c9
• Dart version 3.3.0
• DevTools version 2.31.1
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
• Android SDK at C:\Users\Ashish\AppData\Local\Android\sdk
• Platform android-34, build-tools 33.0.0
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[X] Visual Studio - develop Windows apps
X Visual Studio not installed; this is necessary to develop Windows apps.
Download at https://visualstudio.microsoft.com/downloads/.
Please install the "Desktop development with C++" workload, including all of its default components
[√] Android Studio (version 2021.2)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
[√] VS Code (version 1.89.1)
• VS Code at C:\Users\Ashish\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.88.0
[√] Connected device (4 available)
• RMP2106 (mobile) • 12E230831006641 • android-arm64 • Android 11 (API 30)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19045.1889]
• Chrome (web) • chrome • web-javascript • Google Chrome 124.0.6367.207
• Edge (web) • edge • web-javascript • Microsoft Edge 124.0.2478.105
[√] Network resources
• All expected network resources are available.
The text was updated successfully, but these errors were encountered: