Commit Graph

140 Commits

Author SHA1 Message Date
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 a7030772be updated InAppWebView.preventGestureDelay native implementation for ios 2023-11-09 19:35:50 +01:00
Lorenzo Pichilli 424d1a4c8c removed flutter_export_environment.sh file 2023-05-16 02:27:57 +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
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 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 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 cfd70fda6e release 6.0.0-beta.9 2022-10-26 17:52:35 +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
Lorenzo Pichilli 92eba92a6c Added InAppWebView.headlessWebView property to convert an HeadlessWebView to InAppWebView widget 2022-10-20 16:34:37 +02:00
Lorenzo Pichilli 8955cd2433 fixed web_authentication_session_example 2022-10-14 02:57:41 +02:00
Lorenzo Pichilli 1a1f582ab3 fixed ios findInteractionController.activeFindSession on onFindResultReceived, updated README 2022-10-14 02:14:46 +02:00
Lorenzo Pichilli 48d8f73b23 fixed integration tests, fixed android evaluation javascript with content world 2022-10-14 01:55:54 +02:00
Lorenzo Pichilli 17bdf84362 updated find interaction controller get and set search text implementation 2022-10-12 12:23:15 +02:00
Lorenzo Pichilli b4558d356a added FindSession to Android 2022-10-12 10:13:05 +02:00
Lorenzo Pichilli b790039696 fixed WebResourceError iOS, updated code docs 2022-10-12 00:37:06 +02:00
Lorenzo Pichilli a3c20be1e7 fixed loadSimulatedRequest test 2022-10-11 16:15:51 +02:00
Lorenzo Pichilli 924022686d fixed flutter web sandbox enum 2022-10-11 10:34:09 +02:00
Lorenzo Pichilli 1791b8202b updated minimum android and iOS SDK versions 2022-10-06 17:10:08 +02:00
Lorenzo Pichilli fd17bd4624 fixed ios tests 2022-10-06 16:43:19 +02:00
Lorenzo Pichilli caf8ae915b fixed nativeValue in case of null, updated log debug settings for flutter test cases 2022-10-05 19:48:34 +02:00
Lorenzo Pichilli d3cdc784b2 applied v5.4.3+8 fixes 2022-10-03 14:29:30 +02:00
Lorenzo Pichilli 88e89bd102 fixed iOS nil exception on URLRequest url property, update some iOS classes to use ChannelDelegate class and Disposable protocol, added some more null checks on Android 2022-05-05 20:19:16 +02:00
Lorenzo Pichilli 55f3b64a24 fixed tests, added android webview EventChannelDelegate, fixed some enum native values based on target platform 2022-05-04 02:17:33 +02:00
Lorenzo Pichilli 17ed6c881a added onCameraCaptureStateChanged and onMicrophoneCaptureStateChanged webview events 2022-05-02 16:54:34 +02:00
Lorenzo Pichilli 449bfd06ef added isInFullscreen method 2022-05-01 04:03:17 +02:00
Lorenzo Pichilli f728248dbd fixed web support, updated tests 2022-04-30 21:22:31 +02:00
Lorenzo Pichilli abcc3a3415 updated tests 2022-04-29 21:48:17 +02:00
Lorenzo Pichilli 96259a782e updated tests 2022-04-29 13:39:28 +02:00
Lorenzo Pichilli 9a6934cc67 merge 2022-04-28 13:56:48 +02:00
Lorenzo Pichilli ad04812a6e fix #1159 2022-04-28 13:39:59 +02:00
Lorenzo Pichilli 55a2a41a04 Updated tests 2022-04-27 18:59:19 +02:00
Lorenzo Pichilli 5fb73dae1e starting to update tests 2022-04-27 02:23:59 +02:00
Lorenzo Pichilli 176d41d328 added initial web support 2022-04-21 23:14:51 +02:00
Lorenzo Pichilli fca1ed94df Added pauseAllMediaPlayback, setAllMediaPlaybackSuspended, closeAllMediaPresentations, requestMediaPlaybackState WebView controller methods 2022-04-20 19:10:49 +02:00
Lorenzo Pichilli 83dae97fda updated integration tests 2022-04-18 02:59:46 +02:00
Lorenzo Pichilli 66e2844d03 Updated changelog 2022-04-18 01:15:11 +02:00
Lorenzo Pichilli 710fc1e021 Added singleInstance option for Android ChromeSafariBrowser implementation, updated android compileSdkVersion to 31 2022-04-15 23:18:54 +02:00
Lorenzo Pichilli f074b7a011 created android InAppWebViewInterface to implement other android webview engines, getOriginalUrl method is cross-platform now, Fixed requestImageRef method always null on iOS 2022-04-15 19:20:35 +02:00
Lorenzo Pichilli f06bcdf695 Added onLoad and onError callbacks in ScriptHtmlTagAttributes class used by InAppWebViewController.injectJavascriptFileFromUrl, InAppWebViewController.injectJavascriptFileFromAsset returns a Future<dynamic> type now 2021-04-07 18:34:35 +02:00
Lorenzo Pichilli 539ff0dedc Removed duplicate lib exports, Fixed some rare cases when iOS WKWebView scrollViewDidEndDragging event blocks the scroll gesture 2021-04-06 11:54:42 +02:00
Lorenzo Pichilli ffaa28a250 fix #776, fix #748, Added support of allowingReadAccessTo iOS-specific WebView option for the WebView initialData parameter, Added iosAllowingReadAccessTo iOS-specific parameter to the loadData WebView method 2021-04-02 15:18:28 +02:00
Lorenzo Pichilli 825cf3d88e Added isRunning method to the InAppLocalhostServer class, Fixed Android js error in some very rare case where window.flutter_inappwebview is undefined when loading plugin scripts 2021-03-24 10:57:26 +01:00