Preserve existing profile connections when opening more pages

This commit is contained in:
Levi committed 2026-09-14 00:43:50 +08:00
1 parent ca98806dcc
commit c47b735fc4
8 files changed
+46 -11

No files matched your search

@@ -97,6 +97,7 @@ Future<void> checkProfiles() async {
final target = WebUri('https://profiles.invalid/');
final pages = <HeadlessInAppWebView>[];
Future<InAppWebViewController> open(WebViewProfile profile) async {
await profile.prepare(proxyUrl);
final ready = Completer<InAppWebViewController>();
final page = HeadlessInAppWebView(
onReceivedServerTrustAuthRequest: (_, _) async =>