You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Use flutter_inappwebview instead to support windows, macos, and web #33
Hi @Osama-Al-Fawaz thanks for the suggestion, and sorry it took us a while to get back to you 🙏
We looked into moving to flutter_inappwebview and wanted to share what we found before deciding anything:
webview_flutter, which the SDK uses today, is maintained by the Flutter team and gets regular releases. The last stable release of flutter_inappwebview was in October 2024.
The switch alone wouldn't give full support on the new platforms. On web, flutter_inappwebview doesn't support JavaScript handlers, which the SDK needs to hear back from the survey (display, response, close). On Windows, it can't intercept navigation, which the SDK uses to decide which links stay in the survey and which open in the browser.
So the package itself may not be what gets you there, but we'd like to support the platforms you need:
macOS:webview_flutter already supports it, so we could turn it on in the SDK without changing packages.
Web: Flutter web already runs in the browser, so loading the survey script straight into the page may work better than a WebView.
Windows: this needs a Windows-specific WebView. We'd look into the options if it's important for you.
Could you tell us which of these platforms you need, and which one matters most? And if there's something in flutter_inappwebview you rely on that we've missed, please let us know. That will help us plan the work.
Hi @Osama-Al-Fawaz thanks for the suggestion, and sorry it took us a while to get back to you 🙏
We looked into moving to flutter_inappwebview and wanted to share what we found before deciding anything:
webview_flutter, which the SDK uses today, is maintained by the Flutter team and gets regular releases. The last stable release of flutter_inappwebview was in October 2024.
The switch alone wouldn't give full support on the new platforms. On web, flutter_inappwebview doesn't support JavaScript handlers, which the SDK needs to hear back from the survey (display, response, close). On Windows, it can't intercept navigation, which the SDK uses to decide which links stay in the survey and which open in the browser.
So the package itself may not be what gets you there, but we'd like to support the platforms you need:
macOS:webview_flutter already supports it, so we could turn it on in the SDK without changing packages.
Web: Flutter web already runs in the browser, so loading the survey script straight into the page may work better than a WebView.
Windows: this needs a Windows-specific WebView. We'd look into the options if it's important for you.
Could you tell us which of these platforms you need, and which one matters most? And if there's something in flutter_inappwebview you rely on that we've missed, please let us know. That will help us plan the work.
Hello, sorry for the late response. As for the platforms we currently need with flutter we have ios, android, macos, windows. We will support linux in the future but web is not a consideration.
As for your concerns with flutter_inappwebview i dont believe there are technical limitations but i understand the concerns:
it has indeed been a while since last update but the package is very stable. As long as the platform is supported (windows) and your package handles things internally it is fine for us regardless of the solution used.
Navigation interception: this is also supported out of the box and you can find the docs here: https://inappwebview.dev/docs/webview/in-app-webview (look for "Handle page navigation") onLoadStart and onLoadStop will help you here but if the navigation is triggered in the webview through javascript you can use onUpdateVisitedHistory and To cancel or allow the navigation requests, you should use the navigation event shouldOverrideUrlLoading, which gives the host application a chance to take control when a URL is about to be loaded in the current WebView using NavigationActionPolicy.
This is all mentioned in the docs with greater detail.
Hi @Osama-Al-Fawaz thanks for the suggestion, and sorry it took us a while to get back to you 🙏
We looked into moving to flutter_inappwebview and wanted to share what we found before deciding anything:
webview_flutter, which the SDK uses today, is maintained by the Flutter team and gets regular releases. The last stable release of flutter_inappwebview was in October 2024.
The switch alone wouldn't give full support on the new platforms. On web, flutter_inappwebview doesn't support JavaScript handlers, which the SDK needs to hear back from the survey (display, response, close). On Windows, it can't intercept navigation, which the SDK uses to decide which links stay in the survey and which open in the browser.
So the package itself may not be what gets you there, but we'd like to support the platforms you need:
macOS:webview_flutter already supports it, so we could turn it on in the SDK without changing packages.
Web: Flutter web already runs in the browser, so loading the survey script straight into the page may work better than a WebView.
Windows: this needs a Windows-specific WebView. We'd look into the options if it's important for you.
Could you tell us which of these platforms you need, and which one matters most? And if there's something in flutter_inappwebview you rely on that we've missed, please let us know. That will help us plan the work.
Hello, sorry for the late response. As for the platforms we currently need with flutter we have ios, android, macos, windows. We will support linux in the future but web is not a consideration. As for your concerns with flutter_inappwebview i dont believe there are technical limitations but i understand the concerns:
* it has indeed been a while since last update but the package is very stable. As long as the platform is supported (windows) and your package handles things internally it is fine for us regardless of the solution used.
* JavaScript handlers: these are supported and mentioned in the docs https://inappwebview.dev/docs/webview/javascript/communication in fact we utilize these handlers ourselves.
* Navigation interception: this is also supported out of the box and you can find the docs here: https://inappwebview.dev/docs/webview/in-app-webview (look for "Handle page navigation") `onLoadStart` and `onLoadStop` will help you here but if the navigation is triggered in the webview through javascript you can use `onUpdateVisitedHistory` and To cancel or allow the navigation requests, you should use the navigation event `shouldOverrideUrlLoading`, which gives the host application a chance to take control when a URL is about to be loaded in the current WebView using `NavigationActionPolicy`.
This is all mentioned in the docs with greater detail.
Hi @Osama-Al-Fawaz, thanks for the detailed reply and the doc links.
You're right about navigation thatflutter_inappwebview does support shouldOverrideUrlLoading on Windows. My earlier comment was wrong there, sorry about that. I'd also like to correct one thing that I said about macOS. webview_flutter can't make the WebView see-through on macOS, and our survey overlay needs that, so macOS also isn't as simple as getting support out of the box.
Supporting macOS and Windows therefore would mean adding flutter_inappwebview alongside webview_flutter, then testing and maintaining both. We talked it through as a team and decided not to take that on for now. For the time being, the Flutter SDK will stay on iOS and Android.
If desktop support turns out to be a blocker for you, please let us know here. We're happy to look at it again, and it would help to hear how it affects your plans.
Thanks again for taking the time to dig into this with us 🙏
Activity
jobenjada commentedon Aug 20, 2026
Thanks for raising this issue, it got a bit lost here. We'll look into it.
pandeymangg commentedon Sep 28, 2026
Hi @Osama-Al-Fawaz thanks for the suggestion, and sorry it took us a while to get back to you 🙏
We looked into moving to
flutter_inappwebviewand wanted to share what we found before deciding anything:webview_flutter, which the SDK uses today, is maintained by the Flutter team and gets regular releases. The last stable release offlutter_inappwebviewwas in October 2024.flutter_inappwebviewdoesn't support JavaScript handlers, which the SDK needs to hear back from the survey (display, response, close). On Windows, it can't intercept navigation, which the SDK uses to decide which links stay in the survey and which open in the browser.So the package itself may not be what gets you there, but we'd like to support the platforms you need:
webview_flutteralready supports it, so we could turn it on in the SDK without changing packages.Could you tell us which of these platforms you need, and which one matters most? And if there's something in
flutter_inappwebviewyou rely on that we've missed, please let us know. That will help us plan the work.Osama-Al-Fawaz commentedon Oct 14, 2026
Hello, sorry for the late response. As for the platforms we currently need with flutter we have ios, android, macos, windows. We will support linux in the future but web is not a consideration.
As for your concerns with flutter_inappwebview i dont believe there are technical limitations but i understand the concerns:
onLoadStartandonLoadStopwill help you here but if the navigation is triggered in the webview through javascript you can useonUpdateVisitedHistoryand To cancel or allow the navigation requests, you should use the navigation eventshouldOverrideUrlLoading, which gives the host application a chance to take control when a URL is about to be loaded in the current WebView usingNavigationActionPolicy.This is all mentioned in the docs with greater detail.
pandeymangg commentedon Oct 16, 2026
Hi @Osama-Al-Fawaz, thanks for the detailed reply and the doc links.
You're right about navigation that
flutter_inappwebviewdoes supportshouldOverrideUrlLoadingon Windows. My earlier comment was wrong there, sorry about that. I'd also like to correct one thing that I said about macOS.webview_fluttercan't make the WebView see-through on macOS, and our survey overlay needs that, so macOS also isn't as simple as getting support out of the box.Supporting macOS and Windows therefore would mean adding
flutter_inappwebviewalongsidewebview_flutter, then testing and maintaining both. We talked it through as a team and decided not to take that on for now. For the time being, the Flutter SDK will stay on iOS and Android.If desktop support turns out to be a blocker for you, please let us know here. We're happy to look at it again, and it would help to hear how it affects your plans.
Thanks again for taking the time to dig into this with us 🙏