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
The issue occurred only in ios when the InAppWebView is integrated inside a page with appBar and a dialog/popup is opened when an icon button is pressed from that page's app bar and then the dialog/popup is closed, then the button components inside the website the InAppWebView loaded will not respond or work.
Expected Behavior
The website should respond even after closing any dialog/popup in the page where InAppWebView is integrated
Steps with code example to reproduce
Steps with code example to reproduce
InAppWebView(
initialSettings:InAppWebViewSettings(
clearCache:true,
javaScriptEnabled:true,
clearSessionCache:true,
cacheMode:CacheMode.LOAD_NO_CACHE,
allowUniversalAccessFromFileURLs:true,
allowFileAccessFromFileURLs:true,
javaScriptCanOpenWindowsAutomatically:true,
mediaPlaybackRequiresUserGesture:false,
allowsInlineMediaPlayback:true,
allowsBackForwardNavigationGestures:true,
suppressesIncrementalRendering:false, // Ensure rendering isn't pause
),
initialUrlRequest:URLRequest(
url:WebUri(loadUrl),
cachePolicy:URLRequestCachePolicy.RELOAD_IGNORING_LOCAL_AND_REMOTE_CACHE_DATA,
),
onWebViewCreated: (InAppWebViewController inAppWebViewController) {
localInAppWebViewController = inAppWebViewController;
},
onProgressChanged: (InAppWebViewController inAppWebViewController, int progressFromServer) {
setState(() {
progress = progressFromServer /100;
});
},
onPermissionRequest: (InAppWebViewController controller, PermissionRequest request) async {
// Check which permissions are being requestedif (request.resources.contains("android.webkit.resource.VIDEO_CAPTURE")) {
debugPrint("🎥 Camera access requested.");
}
if (request.resources.contains("android.webkit.resource.AUDIO_CAPTURE")) {
debugPrint("🎤Microphone access requested.");
}
// Automatically grant permission for all requested resourcesreturnPermissionResponse (
resources: request.resources,
action:PermissionResponseAction.GRANT
);
},
)
Stacktrace/Logs
Stacktrace/Logs
No logs
Flutter version
v3.26.0-1.0.pre.257
Operating System, Device-specific and/or Tool
iOS 18.2
Plugin version
v6.1.5
Additional information
No response
Self grab
I'm ready to work on this issue!
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Current Behavior
The issue occurred only in ios when the InAppWebView is integrated inside a page with appBar and a dialog/popup is opened when an icon button is pressed from that page's app bar and then the dialog/popup is closed, then the button components inside the website the InAppWebView loaded will not respond or work.
Expected Behavior
The website should respond even after closing any dialog/popup in the page where InAppWebView is integrated
Steps with code example to reproduce
Steps with code example to reproduce
Stacktrace/Logs
Stacktrace/Logs
Flutter version
v3.26.0-1.0.pre.257
Operating System, Device-specific and/or Tool
iOS 18.2
Plugin version
v6.1.5
Additional information
No response
Self grab
The text was updated successfully, but these errors were encountered: