Commit Graph

409 Commits

Author SHA1 Message Date
Lorenzo Pichilli d57d1aecfb updated android package name to com.pichillilorenzo.flutter_inappwebview_android 2023-11-27 13:03:36 +01:00
Lorenzo Pichilli b99824ee21 created flutter_inappwebview_web, updated web_support.js path 2023-11-27 12:09:17 +01:00
Lorenzo Pichilli e0c03b0891 created flutter_inappwebview_macos 2023-11-27 09:46:37 +01:00
Lorenzo Pichilli f3033b3407 created flutter_inappwebview_ios, fixed web_authenticate_session, fixed default in_app_localhost_server implementation 2023-11-27 00:02:46 +01:00
Lorenzo Pichilli a25c1bd50e fixed last android implementations, updated analysis_options files 2023-11-25 04:56:49 +01:00
Lorenzo Pichilli 0b0869ce2a updated debugLoggingSettings references, dart format 2023-11-23 16:06:50 +01:00
Lorenzo Pichilli 9cb8b3af26 updated chrome_safari_browser implementation, updated WebMessage.ports interface, updated WebViewAssetLoader implementation, force InAppWebViewController type for webview controller events 2023-11-23 16:01:14 +01:00
Lorenzo Pichilli d37de77f36 updated tests, created InAppLocalHostServer platform interface and default implementation, use where possibile the non-Platform prefix class 2023-11-18 01:17:45 +01:00
Lorenzo Pichilli 1486b5af38 first commit federated-plugin 2023-11-17 23:28:11 +01:00
Lorenzo Pichilli 79024b24da updated tests, fixed ios and macos headless to inappwebview conversion 2023-11-15 00:56:10 +01:00
Lorenzo Pichilli acb20fc10a fix #1837 2023-11-14 22:47:54 +01:00
Lorenzo Pichilli 8dfddc2e12 Added ProcessGlobalConfig for Android WebViews, Added disableWebView static method on InAppWebViewController for Android, Added support for Android WebViewFeature.isStartupFeatureSupported, WebViewFeature.STARTUP_FEATURE_SET_DIRECTORY_BASE_PATHS, WebViewFeature.STARTUP_FEATURE_SET_DATA_DIRECTORY_SUFFIX, WebViewFeature.WEB_MESSAGE_ARRAY_BUFFER, Added WebMessage.type property, WebMessage.data property is of type dynamic, JavaScriptReplyProxy.postMessage is of type WebMessage, changed WebMessageListener.onPostMessage and WebMessagePort.setWebMessageCallback methods signature 2023-11-14 18:39:25 +01:00
Lorenzo Pichilli 6119d58951 updated tests 2023-11-12 20:25:36 +01:00
Lorenzo Pichilli 8ee618101b removed print 2023-11-12 19:51:53 +01:00
Lorenzo Pichilli 2ea3bee498 Added getPackageName static method on ChromeSafariBrowser for Android, updated iOS and macOS WebViewChannelDelegate channel self reference 2023-11-12 19:51:33 +01:00
Lorenzo Pichilli 6a486b2fa9 Added requestPostMessageChannel, postMessage, isEngagementSignalsApiAvailable methods on ChromeSafariBrowser for Android, Added onMessageChannelReady, onPostMessage, onVerticalScrollEvent, onGreatestScrollPercentageIncreased, onSessionEnded events on ChromeSafariBrowser for Android 2023-11-12 18:56:11 +01:00
Lorenzo Pichilli 897d404108 updated changelog 2023-11-10 12:07:52 +01:00
Lorenzo Pichilli a7030772be updated InAppWebView.preventGestureDelay native implementation for ios 2023-11-09 19:35:50 +01:00
Lorenzo Pichilli 44e70a3628 Updated androidx.webkit:webkit dependency to 1.8.0, Updated androidx.browser:browser dependency to 1.6.0 2023-09-30 19:53:26 +02:00
Lorenzo Pichilli b00b3781ef updated CHANGELOG.md 2023-06-12 17:39:15 +02:00
Lorenzo Pichilli 7fb030e93d
Merge pull request #1657 from Nirajn2311/fix/decode-asset-url
feat: InAppLocalhostServer decode assets url when loading them
2023-06-12 17:36:03 +02:00
Lorenzo Pichilli 7d49baa8e0 updated in_app_browser_example.screen.dart example 2023-06-11 01:59:43 +02:00
Lorenzo Pichilli 62431838d9 Added InAppBrowser menu items feature, Added hideCloseButton, hideDefaultMenuItems, menuButtonColor InAppBrowser settings 2023-06-11 01:55:42 +02:00
Lorenzo Pichilli 5a113f6e8a Added InAppWebView keep alive feature, Added hasJavaScriptHandler, hasUserScript, hasWebMessageListener InAppWebViewController methods, HeadlessInAppWebView.webViewController could be null, Removed throwIfAlreadyOpened, throwIfNotOpened InAppBrowser methods, Removed throwIfAlreadyOpened, throwIfNotOpened ChromeSafariBrowser methods 2023-05-19 00:45:12 +02:00
Niraj Nandish cabe5e99af
chore: update example 2023-05-18 13:33:00 +04:00
Lorenzo Pichilli 424d1a4c8c removed flutter_export_environment.sh file 2023-05-16 02:27:57 +02:00
Lorenzo Pichilli 6609e5f5a2
Merge branch 'master' into fix-context-menu-ios13 2023-05-15 19:31:16 +02:00
Lorenzo Pichilli 47427044c8
Update in_app_webiew_example.screen.dart 2023-05-15 19:28:08 +02:00
Lorenzo Pichilli 84011566bf Updated androidx.webkit:webkit dependency to 1.6.1, Updated androidx.browser:browser dependency to 1.5.0, Updated androidx.appcompat:appcompat dependency to 1.6.1, Added support for Android WebViewFeature.GET_COOKIE_INFO, Added requestedWithHeaderOriginAllowList WebView setting for Android , Added isInspectable, shouldPrintBackgrounds WebView settings for iOS and macOS , Removed WebViewFeature.REQUESTED_WITH_HEADER_CONTROL, ServiceWorkerController.setRequestedWithHeaderMode(), ServiceWorkerController.getRequestedWithHeaderMode(), InAppWebViewSettings.requestedWithHeaderMode, fix #1643 , fix #1611 , fix #1629 , Fixed some @available checks for macOS 2023-05-15 14:29:56 +02:00
Lorenzo Pichilli ae199f1dc4 Updated window.flutter_inappwebview.callHandler implementation: if there is an error/exception on Flutter/Dart side, the callHandler will reject the JavaScript promise with the error/exception message, so you can catch it also on JavaScript side, Fixed Android Web Storage Manager deleteAllData and deleteOrigin methods implementation, fix #1462, fix #1475 2023-05-15 13:46:42 +02:00
Alexandre Richonnier a7cda8d5b6 fix #1389 #1315 contextMenu ios 13 2023-03-10 11:03:00 +01:00
Lorenzo Pichilli a42b0e4dfd Updated window.flutter_inappwebview.callHandler implementation: if there is an error/exception on Flutter/Dart side, the callHandler will reject the JavaScript promise with the error/exception message, so you can catch it also on JavaScript side, Fixed Android Web Storage Manager deleteAllData and deleteOrigin methods implementation, fix #1462, fix #1475 2022-12-15 17:43:29 +01:00
Lorenzo Pichilli 0f1c7e3029 fix #1455 2022-12-06 02:26:29 +01:00
Lorenzo Pichilli 459875ff2e Updated code docs, Using Android WebViewClientCompat for Chromium-based WebView if the WebView package major version is >= 73 (https://bugs.chromium.org/p/chromium/issues/detail?id=925887), fix #1422 2022-12-03 15:58:12 +01:00
Lorenzo Pichilli fc98712f30 Updated code docs, Fixed some missing macOS asserts, fix #1447 2022-11-30 16:53:10 +01:00
Lorenzo Pichilli 2d32eff3f0 Fixed InAppWebViewSettings automatic infer if initialSettings is null 2022-11-28 15:12:02 +01:00
Lorenzo Pichilli ae4471d4c0 Replaced Uri.encodeFull with Uri.encodeComponent to load html data correctly on Web platform 2022-11-25 12:39:04 +01:00
Lorenzo Pichilli 962fc35ff7 Removed Android Hybrid Composition constraint to use the pull-to-refresh feature, Removed Android com.squareup.okhttp3:okhttp dependency 2022-11-23 17:06:14 +01:00
Lorenzo Pichilli b82baaa061 code formatting 2022-11-22 22:41:18 +01:00
Lorenzo Pichilli 3101b44c37 All PrintJobSettings properties are optionals, All PullToRefreshSettings properties are optionals, All WebAuthenticationSessionSettings properties are optionals, Automatically infer useShouldOverrideUrlLoading, useOnLoadResource, useOnDownloadStart, useShouldInterceptAjaxRequest, useShouldInterceptFetchRequest, useShouldInterceptRequest, useOnRenderProcessGone, useOnNavigationResponse settings if their value is null and the corresponding event is implemented by the WebView (InAppWebView and HeadlessInAppWebView, not InAppBrowser) before it's native initialization 2022-11-22 22:40:45 +01:00
Lorenzo Pichilli 2f8fa22db4 code format 2022-11-02 15:08:44 +01:00
Lorenzo Pichilli 6906763796 fixed tests 2022-11-02 15:08:09 +01:00
Lorenzo Pichilli 06668703c4 Removed willSuppressErrorPage WebView Android setting in favor of disableDefaultErrorPage, Added isMultiProcessEnabled static method on InAppWebViewController for Android, Added onContentSizeChanged WebView event for iOS, Added onPermissionRequestCanceled and onRequestFocus WebView events for Android, Added defaultVideoPoster WebView setting for Android, Added TracingController for Android WebViews 2022-10-31 02:09:00 +01:00
Lorenzo Pichilli fa49616c63 updated some code docs, fix #1405 2022-10-27 20:51:31 +02:00
Lorenzo Pichilli 6037b8964b fixed example/lib/main.dart 2022-10-27 11:04:26 +02:00
Lorenzo Pichilli fa5449a50d Created WebUri class to replace Uri dart core type, fix #1402, fix #1328, fix #1350 2022-10-27 11:02:49 +02:00
Lorenzo Pichilli cfd70fda6e release 6.0.0-beta.9 2022-10-26 17:52:35 +02:00
Lorenzo Pichilli 8e9c10246a Added startAnimations, exitAnimations, navigationBarColor, navigationBarDividerColor, secondaryToolbarColor ChromeSafariBrowser settings for Android, Added getVariationsHeader WebView static method, All ChromeSafariBrowserSettings properties are optionals 2022-10-25 11:18:53 +02:00
Lorenzo Pichilli ebea457b01 initial implementation 6.0.0-beta.9 2022-10-24 12:34:18 +02:00
Lorenzo Pichilli 4973770c1c release 6.0.0-beta.7 2022-10-22 22:00:09 +02:00