Commit Graph

347 Commits

Author SHA1 Message Date
Lorenzo Pichilli 22ea0091cd Added initialSize property and setSize/getSize methods to the HeadlessInAppWebView class, androidOnScaleChanged event is deprecated - use onZoomScaleChanged event, getScale method is deprecated - use getZoomScale method, Removed final keyword for all HeadlessInAppWebView events, Fixed wrong usage of Android WebView scale property 2021-03-26 21:04:44 +01:00
Lorenzo Pichilli 14d06fad48 Fixed iOS 'Unexpectedly found nil while unwrapping an Optional value: file flutter_inappwebview/WKUserContentController.swift, line 36' error when applePayAPIEnabled iOS-specific WebView option is enabled 2021-03-25 12:01:05 +01:00
Lorenzo Pichilli 522b34f2fa v5.2.1 2021-03-24 10:58:44 +01: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
Lorenzo Pichilli b2d0f3a61d updated docs, Added allowGoBackWithBackButton and shouldCloseOnBackButtonPressed Android-specific InAppBrowser options 2021-03-23 21:53:42 +01:00
Lorenzo Pichilli a3e4da3e61 Added isRunning method to the HeadlessInAppWebView class, Fixed iOS WebMessageListener javascript implementation not calling event listeners when onmessage is set, Fixed onCreateContextMenu event on Android where hitTestResult has always null values, fix #742 2021-03-23 17:13:40 +01:00
Lorenzo Pichilli 3352c9cef0 v5.2.0 2021-03-22 16:39:58 +01:00
Lorenzo Pichilli c22707da49 Added onOverScrolled WebView event, updated tests 2021-03-22 16:21:56 +01:00
Lorenzo Pichilli 97edbe158f Added Android pull-to-refresh setSize method and size option, Updated Android androidx.webkit:webkit to 1.4.0, androidx.browser:browser to 1.3.0, androidx.appcompat:appcompat to 1.2.0, updated docs 2021-03-19 17:34:32 +01:00
Lorenzo Pichilli 6f356be623 Fixed ajax and fetch interceptor when the data/body sent is not a string, fix #724, updated nodejs test server 2021-03-18 17:24:13 +01:00
Lorenzo Pichilli bcc5fc68ba fix #719, Fixed iOS sometimes scrollView.contentSize doesn't fit all the frame.size available, Added canScrollVertically and canScrollHorizontally webview methods 2021-03-13 15:24:31 +01:00
Lorenzo Pichilli a40831087f Added WebMessageChannel and WebMessageListener features, Updated Android Gradle distributionUrl version to 5.6.4, AndroidInAppWebViewController.getCurrentWebViewPackage is available now starting from Android API 21+, Attempt to fix #665, fix #579, Fixed wrong mapping of NavigationAction class on Android for androidHasGesture and androidIsRedirect properties 2021-03-11 22:42:18 +01:00
Lorenzo Pichilli 124d2ae0de code formatting 2021-03-08 10:23:20 +01:00
Lorenzo Pichilli 659c524908 fix #507 again 2021-03-08 10:22:13 +01:00
Lorenzo Pichilli 98d705b9e6 code formatting 2021-03-06 16:13:05 +01:00
Lorenzo Pichilli 237ba6efb4 Added a test for the pull-to-refresh feature when used on Android. 2021-03-06 16:10:31 +01:00
Lorenzo Pichilli 0744743c97 code formatting 2021-03-05 23:32:49 +01:00
Lorenzo Pichilli b6d4fb9596 Added support for pull-to-refresh feature (fix #395), Fixed issue not rendering WebView content when scrolling on iOS (fix #704), Fixed InAppBrowser.openData method, InAppBrowser.initialUserScripts InAppBrowser.id HeadlessInAppWebView.id properties are final now 2021-03-05 23:19:50 +01:00
Lorenzo Pichilli 0301190608 Updated docs for iOS-specific options alwaysBounceVertical and alwaysBounceHorizontal 2021-03-01 20:36:31 +01:00
Lorenzo Pichilli b41eb693a5 new stable version 5.0.5 2021-03-01 16:43:50 +01:00
Lorenzo Pichilli 74550d1186 Removed all the dependencies: uuid, device_info, intl, and mime 2021-03-01 03:21:07 +01:00
Lorenzo Pichilli 82f1dee4a1 fixed flutter analyze warnings 2021-02-26 11:27:29 +01:00
Lorenzo Pichilli de89f2637b Added headers and statusCode properties to IOSURLResponse class #693 2021-02-26 11:22:57 +01:00
Lorenzo Pichilli f92373cb62 Fixed Android screenshot out of memory error, Fixed getFavicons WebView method 2021-02-25 19:48:48 +01:00
Lorenzo Pichilli 1e63238eb8 updated README.md, Added verticalScrollbarThumbColor, verticalScrollbarTrackColor, horizontalScrollbarThumbColor, horizontalScrollbarTrackColor Android-specific WebView options, Fixed some null types and wrong casting 2021-02-25 00:00:46 +01:00
Lorenzo Pichilli 68f98754df code format 2021-02-22 23:54:09 +01:00
Lorenzo Pichilli f886f2f1e5 bug fixes, fix #450, updated integration tests 2021-02-22 23:38:30 +01:00
Lorenzo Pichilli 0b0bce66aa code refactoring, new features, replaced String url to Uri uri everywhere, added URLRequest 2021-02-22 12:16:23 +01:00
Lorenzo Pichilli de9d081af2 fix #679, updated X509Certificate classes, removed androidOnRequestFocus event
because it is never called
2021-02-12 17:14:13 +01:00
Lorenzo Pichilli f94e489ced fix docs 2021-02-10 21:29:45 +01:00
Lorenzo Pichilli 90e5d0a736 added applePayAPIEnabled iOS-specific WebView options, fix #605 2021-02-10 21:22:52 +01:00
Lorenzo Pichilli f01e3c849d updated iosOnNavigationResponse docs 2021-02-10 02:35:07 +01:00
Lorenzo Pichilli 2cd0948620 Added iosShouldAllowDeprecatedTLS iOS-specific WebView event 2021-02-10 02:32:05 +01:00
Lorenzo Pichilli 2aab462702 Added useOnNavigationResponse iOS-specific WebView option, Added iosOnNavigationResponse iOS-specific WebView event, Added new iOS-specific attributes to ShouldOverrideUrlLoadingRequest and CreateWindowRequest classes 2021-02-10 00:15:10 +01:00
Lorenzo Pichilli 0e4e16562d Added scriptHtmlTagAttributes optional argument to injectJavascriptFileFromUrl WebView method, Added cssLinkHtmlTagAttributes optional argument to injectCSSFileFromUrl WebView method 2021-02-09 21:11:50 +01:00
Lorenzo Pichilli 88bfe9036f added createWebArchiveData iOS-specific WebView method, Moved saveWebArchive WebView method from Android-specific to cross-platform 2021-02-09 01:39:35 +01:00
Lorenzo Pichilli b15ae759d5 added createPdf ios webview method, fixed null config takeScreenshot android exception 2021-02-08 18:28:35 +01:00
Lorenzo Pichilli 3f1ed3ba70 added ScreenshotConfiguration class and screenshotConfiguration optional argument to takeScreenshot WebView method 2021-02-08 01:17:12 +01:00
Lorenzo Pichilli 5a4e2fda0f updated CHANGELOG.md, Added iosAnimated optional argument to zoomBy WebView method 2021-02-07 16:37:01 +01:00
Lorenzo Pichilli 7c5931b0f9 Added callAsyncJavaScript WebView method, fix #642, fix #614 2021-02-07 16:05:39 +01:00
Lorenzo Pichilli 55242a35f9 updated management of Content Worlds, updated evaluateJavascript API 2021-02-06 02:30:15 +01:00
Lorenzo Pichilli 37fa32b31e added AndroidWebViewFeature, AndroidServiceWorkerController, AndroidServiceWorkerClient classes 2021-02-04 21:54:09 +01:00
Lorenzo Pichilli a023d34fd9 Added mediaType, pageZoom, limitsNavigationsToAppBoundDomains iOS-specific webview options, Added handlesURLScheme iOS-specific webview method, Added ContentWorld class, minor bug fixes 2021-02-04 01:43:55 +01:00
Lorenzo Pichilli 37546a1dc0 fix #662 2021-02-03 15:17:15 +01:00
Lorenzo Pichilli cf0c2029ff Added addUserScript, addUserScripts, removeUserScript, removeUserScripts, removeAllUserScripts WebView methods, Added initialUserScripts WebView option, Added UserScript and UserScriptInjectionTime classes, updated README.md, fix some wrong iOS swift return value on method call handler, added InAppWebViewMethodHandler native class 2021-02-01 15:55:27 +01:00
Lorenzo Pichilli a04f9eab10 updated ios Cookie Manager, Added IOSCookieManager class and CookieManager.instance().ios.getAllCookies iOS-specific method, updated README.md 2021-01-31 22:08:20 +01:00
Lorenzo Pichilli 77f09dd5b5 fixed iOS getCookies MyCookieManager, Added limited cookies support on iOS below 11.0 using JavaScript 2021-01-30 14:53:32 +01:00
Lorenzo Pichilli dbe713306c
Update chrome_safari_browser.dart 2021-01-29 01:17:50 +01:00
Lorenzo Pichilli 57557407a5
Merge branch 'master' into feature/android-11 2021-01-29 01:15:53 +01:00
Lorenzo Pichilli 9ea8262fce
Merge pull request #645 from omralcrt/fix-method-name
Fix injectStyleFile name to injectCSSFileFromUrl
2021-01-29 00:21:23 +01:00
Lorenzo Pichilli d96ea02876 fix #654, updated README.md 2021-01-28 18:56:04 +01:00
Lorenzo Pichilli c65e72c708 updated README.md 2021-01-28 17:18:02 +01:00
Lorenzo Pichilli 26e63cedee Added support for Dart null-safety feature, Updated integration tests, Fixed missing properties initialization when using InAppWebViewController.fromInAppBrowser, Removed debuggingEnabled WebView option and added AndroidInAppWebViewController.setWebContentsDebuggingEnabled static method 2021-01-28 17:10:15 +01:00
omralcorut 3ceff9b0d7 Fix injectStyleFile name to injectCSSFileFromUrl 2021-01-18 17:08:26 +03:00
Michael Rittmeister 4b24901571
Add support for Android 11
- Reflect package visibility settings in documentation
- Upgrade android projects (lib & example)
- Cleanup ChromeSafariBrowserManager.java
- Upgrade Android dependencies
2020-09-26 11:35:06 +02:00
Lorenzo Pichilli 5476d142f4 fix #507 2020-09-07 10:32:24 +02:00
Lorenzo Pichilli 980a63d36e Merge branch 'master' of github.com:pichillilorenzo/flutter_inappwebview 2020-08-27 17:26:31 +02:00
Lorenzo Pichilli 143eb72760
Merge pull request #490 from Doflatango/master
Added missing field 'headers' which returned by WebResourceResponse.toMap()
2020-08-27 17:26:23 +02:00
Lorenzo Pichilli 093d2cb68c updated android androidx.webkit:webkit:1.3.0, fixed default value for AndroidInAppBrowserOptions.hideTitleBar 2020-08-27 17:05:47 +02:00
Lorenzo Pichilli 3c4bbd604e Added Android Hybrid Composition support, fix #218 2020-08-27 16:41:40 +02:00
Lorenzo Pichilli cb7715149a
Update in_app_webview.dart
Added missing `contextMenu` and `windowId` creation params for Android Hybrid Composition
2020-08-27 15:42:13 +02:00
tanay 9f617d330c Add AndroidInAppWebViewOption for using Hybrid Composition 2020-08-24 11:48:50 -04:00
Doflatango f192294002 Added missing field 'headers' which returned by WebResourceResponse.toMap() 2020-08-18 00:05:27 +08:00
Daniel Kao 21f4838f41 use PlatformViewLink widget for Android WebView 2020-07-27 17:52:37 +08:00
Lorenzo Pichilli b8ec14d6b6 Reverted calling handler.post on Android when a WebView is created, Fixed iOS extra bottom padding when opening the keyboard, fix #429 2020-07-02 17:30:55 +02:00
Lorenzo Pichilli 3bb05cf03b added isAvailable ChromeSafariBrowser static method 2020-06-30 14:29:19 +02:00
Lorenzo Pichilli 710be67894 added disableDefaultErrorPage Android-specific webview option, updated onCreateWindow event implementation 2020-06-30 10:58:59 +02:00
Lorenzo Pichilli 0c71edf8a6 flutter format 2020-06-29 16:37:36 +02:00
Lorenzo Pichilli eea691664b Updated onCreateWindow, onJsAlert, onJsConfirm, and onJsPrompt webview events, added onCloseWindow, onTitleChanged, onWindowFocus, and onWindowBlur webview events, added androidOnRequestFocus, androidOnReceivedIcon, androidOnReceivedTouchIconUrl, androidOnJsBeforeUnload, and androidOnReceivedLoginRequest Android-specific webview events, fix #403 2020-06-29 16:34:29 +02:00
Lorenzo Pichilli 9d92911ab2 flutter format 2020-06-25 00:18:01 +02:00
Lorenzo Pichilli b4364ff5c9 Revert default InAppWebView.gestureRecognizers value to null on Android 2020-06-25 00:16:55 +02:00
Lorenzo Pichilli 9fda80ae15 fix #416 2020-06-23 09:33:26 +02:00
Lorenzo Pichilli 477b94e03f Update README.md, Update missing docs, Fix pub.dev Health suggestions and Analysis suggestions, v3.4.0+1 2020-06-22 01:17:35 +02:00
Lorenzo Pichilli 993c6f60f9 v3.4.0 2020-06-22 00:09:35 +02:00
Lorenzo Pichilli e0b384bcf6 updated ProtectionSpaceHttpAuthCredentials doc 2020-06-20 22:05:16 +02:00
Lorenzo Pichilli 9743687ede Fixed HttpAuthCredentialDatabase.removeHttpAuthCredential on Android, Fixed some cases where takeScreenshot was not working on Android, fix #390, Updated HttpAuthCredentialDatabase.getAllAuthCredentials method return type 2020-06-20 21:58:56 +02:00
Lorenzo Pichilli 64246d84d9 Added 'values' property for all the custom Enums, bug fixes 2020-06-19 21:59:43 +02:00
Lorenzo Pichilli b0c06c6146 updated X509Certificate class 2020-06-16 00:25:29 +02:00
Lorenzo Pichilli 62d14039be Added SslCertificate class and X509Certificate class and parser, updated ServerTrustChallenge class 2020-06-15 02:13:23 +02:00
Lorenzo Pichilli 6c2a60714e Added SslCertificate class and X509Certificate class and parser, updated ServerTrustChallenge class 2020-06-15 02:08:23 +02:00
Lorenzo Pichilli b9d1482887 added getScrollX and getScrollY webview methods, added HttpOnly and SameSite set cookie options, added animated option to scrollTo and scrollBy webview methods, Added error and message to the ServerTrustChallenge class for iOS, added contentInsetAdjustmentBehavior webview iOS-specific option, added getCertificate android-specific webview method, added copy and copyWithValue methods for webview class options 2020-06-13 03:50:19 +02:00
Lorenzo Pichilli 1b2de86375 added new webview methods, added supporZoom webview option on iOS, bug fixes, prepare new version 3.4.0 2020-06-12 04:04:41 +02:00
Lorenzo Pichilli 17d8aa1167 Updated Android build.gradle version and some androidx properties, fix #371, fix #320 2020-06-03 01:45:58 +02:00
Lorenzo Pichilli 0c6a02fff8 release v3.3.0 2020-05-30 23:13:28 +02:00
Lorenzo Pichilli 9f9232e1f3 added clearHistory webview methods on Android, setContextMenu and clearFocus webview methods, added ContextMenuOptions class 2020-05-30 20:23:33 +02:00
Lorenzo Pichilli ad56ca6621 Added 'toString()' method to various classes in order to have a better output instead of simply 'Instance of ...', updated getOptions() method 2020-05-29 19:56:03 +02:00
Lorenzo Pichilli 7d88cd80be updated docs 2020-05-29 14:51:26 +02:00
Lorenzo Pichilli a3e9aa3a4e updated onDownloadStart event API docs 2020-05-29 10:49:08 +02:00
Lorenzo Pichilli 208d6c732c added onPageCommitVisible event, updated dart code for new events and methods, updated docs, fix #367 2020-05-29 01:03:45 +02:00
Lorenzo Pichilli 682c6e2243 added new Android webview events and options, other bug fixes 2020-05-26 00:26:32 +02:00
Lorenzo Pichilli 3731ef5f52 updated README.md, fix #275, fix #353 2020-05-23 19:34:59 +02:00
Lorenzo Pichilli f569e369f4 Updated Android context menu workaround, updated iOS onCreateContextMenu event, Added Android keyboard workaround to hide the keyboard when clicking other HTML elements 2020-05-21 23:02:08 +02:00
Lorenzo Pichilli 5943059b1d v3.2.0, added context menu classes, updated docs, fix #235, fix #337, fix #341 2020-05-21 03:34:39 +02:00
Lorenzo Pichilli 02c3de9280 added HeadlessInAppWebView class, added close, addMenuItem and addMenuItems methods to ChromeSafariBrowser, added ChromeSafariBrowserMenuItem class, fixed InAppWebView.channel null exception on android, fix #305, fix #245, fix #299 2020-05-11 02:48:41 +02:00
Lorenzo Pichilli 6a7963e4fd fixed android zoom, added new ios webview options, added
>  onLongPressHitTestResult event, updated test cases, fixed Promise polyfill, fixed android options
2020-05-09 04:36:07 +02:00
Lorenzo Pichilli 0e30767c15 code refactoring, added InAppBrowserManager and ChromeSafariBrowserManager classes on native code, updated webview options class names 2019-12-18 21:34:40 +01:00
Lorenzo Pichilli 4d752ee9d9 updated ChromeSafariBrowser class, Renamed Chrome Custom Tab addShareButton option to addDefaultShareMenuItem, Renamed ChromeSafariBrowser onLoaded to onCompletedInitialLoad, Renamed all iOS and Android webview options class, fix #229, Added packageName and keepAliveEnabled ChromeCustomTab options for Android 2019-12-18 01:56:21 +01:00
Lorenzo Pichilli b9fb01f177 fix #225, merged #228, updated ios options naming, updated default value for databaseEnabled android option, added new methods and events 2019-12-16 23:58:10 +01:00
Lorenzo Pichilli 5e272c460f fix #182, updated java classes for Flutter 1.12 new Java Embedding API (Android) 2019-12-14 16:08:15 +01:00
Lorenzo Pichilli c05e0e3963 updated DropDown workaround: load it as soon as possible and load also for iframes where possibile (same origin) 2019-12-12 16:31:32 +01:00
Lorenzo Pichilli e4625d5c9a fix name dropDownWorkaroundEnabled 2019-12-11 01:47:10 +01:00
Lorenzo Pichilli ebfd521aa5 Added enableDropDownWorkaroud webview option for Android to enable a temporary workaround for html dropdowns (issue #182) 2019-12-11 01:41:38 +01:00
Lorenzo Pichilli 7f2eea680c
Merge pull request #214 from panndoraBoo/master
Fixes null error when calling getOptions for InAppBrowser class
2019-12-10 00:35:02 +01:00
Lorenzo Pichilli aa20beafb1 updated shouldOverrideUrlLoading event for #146, added print method and event #128, fix #123 javascript handler for Android API <= 22, renamed onTargetBlank to onCreateWindow event, deleted useOnTargetBlank option, added supportMultipleWindows android option, added getDefaultUserAgent static method, Updated default value for domStorageEnabled option to true 2019-12-10 00:29:09 +01:00
Jamie Joost bc55253000
Update in_app_browser.dart 2019-12-09 16:33:54 +01:00
Jamie Joost 5ae9839f70
Update in_app_browser.dart 2019-12-09 16:24:25 +01:00
Lorenzo Pichilli 1df609b789 updated docs 2019-12-03 00:25:31 +01:00
Lorenzo Pichilli 6ba5b0c115 Added pause and resume methods for Android, Added pauseTimers and resumeTimers methods, Added new historyUrl optional parameter only for Android, fix #202, should fix #201 2019-12-03 00:07:29 +01:00
Lorenzo Pichilli ade4480c6d Fixed error 'java.lang.ClassCastException: cannot be cast to android.view.WindowManagerImpl' on Android when using native alert dialogs, updated README.md with Xcode version required 2019-12-01 12:55:06 +01:00
Lorenzo Pichilli 8a356bdef4 renamed plugin to flutter_inappwebview 2019-11-29 16:59:18 +01:00
Lorenzo Pichilli 6677917bc3 Added onPermissionRequest event (available only on Android), new plugin version 2.0.1 2019-11-28 02:39:06 +01:00
Lorenzo Pichilli b0224c748a Added onPermissionRequest event (available only on Android) 2019-11-28 02:32:03 +01:00
Lorenzo Pichilli 08b392e8b1 updated docs, updated README.md 2019-11-25 23:04:17 +01:00
Lorenzo Pichilli ef8d0d1f03 fix #190 keyboard not showing on the second or more created webviews 2019-11-25 12:12:10 +01:00
Lorenzo Pichilli ec47b1918d fixed android content blocker, updated flutter driver tests 2019-11-25 01:42:27 +01:00
Lorenzo Pichilli 64f6995d83 added onLoadHttpError event, fixed InAppWebView handleMethod, updated example, updated driver tests 2019-11-21 02:19:43 +01:00
Lorenzo Pichilli 3106caf437 fix iOS setCookie #196, added iOS shared Process Pool #196, added scrollTo and scrollBy methods 2019-11-19 20:44:06 +01:00
Lorenzo Pichilli 8486cd0427 fixed export 'src/cookie_manager.dart' 2019-11-18 22:32:23 +01:00
Lorenzo Pichilli 651cb656bf added disableVerticalScroll and disableHorizontalScroll webview options, updated example 2019-11-18 22:21:35 +01:00
Lorenzo Pichilli fed2da63ba fixed issue with headers in javascript code for intercepting ajax requests 2019-11-18 02:50:56 +01:00
Lorenzo Pichilli a11936c188 updated ConsoleMessage class, updated evaluateJavascript method, fixed Android JavaScriptBridgeInterface _callHandler method 2019-11-17 18:31:31 +01:00
Lorenzo Pichilli 3869f89326 fixed docs 2019-11-16 13:10:00 +01:00
Lorenzo Pichilli a65909038c fixed ajax interceptor javascript code, re-added flutterInAppBrowserPlatformReady javascript for the window object, tests moved inside example folder using flutter driver 2019-11-16 12:41:30 +01:00
Lorenzo Pichilli 65f2d1061d
Update in_app_localhost_server.dart 2019-11-11 10:01:47 +01:00
Lorenzo Pichilli f89610ae29 updated AjaxRequest class, fixed 'InvalidStateError' ajax error #189, No need to listen to window.addEventListener(flutterInAppBrowserPlatformReady, fuction(){ }) javascript event anymore to use JaaScript message handlers 2019-11-11 00:16:38 +01:00
Lorenzo Pichilli 44c17d1efe updated code docs 2019-11-10 14:11:30 +01:00
Lorenzo Pichilli bb0e7f70c7 fixed InAppWebViewOptions error, fixed javascript error for ajax requests 2019-11-10 11:50:01 +01:00
Lorenzo Pichilli 0c17e03256 updated code docs, fixed javascript code for the ajax and fetch request event handlers 2019-11-09 23:35:18 +01:00
Lorenzo Pichilli a59dee7c5d updated code docs 2019-11-08 22:31:57 +01:00
Lorenzo Pichilli 6c5e314795 updated code docs 2019-11-08 19:12:21 +01:00
Lorenzo Pichilli 971ac889f9
Merge branch 'master' into master 2019-11-08 15:11:28 +01:00
crazecoder c15ee0216b add initialScale in android 2019-11-08 14:39:15 +08:00
Lorenzo Pichilli 31dc73cfce added new webview options 2019-11-08 00:32:29 +01:00
Lorenzo Pichilli b4544c7d98 updated shouldInterceptFetchRequest 2019-11-06 22:55:54 +01:00
Lorenzo Pichilli e4d8b79866 updated locationchange iOS javascript event name, updated javaScriptHandlerForbiddenNames dart variable 2019-11-06 00:37:36 +01:00
Lorenzo Pichilli 16de8b199d added onNavigationStateChange, updated onAjaxProgress and onAjaxReadyStateChange return type 2019-11-06 00:23:24 +01:00
Lorenzo Pichilli 18919576e0 Added shouldInterceptAjaxRequest, onAjaxReadyStateChange, onAjaxProgressEvent and shouldInterceptFetchRequest events, added useShouldInterceptAjaxRequest and useShouldInterceptFetchRequest webview options, updated node.js server test, added injectJavascriptFileFromAsset and injectCSSFileFromAsset methods, renamed some methods 2019-11-05 03:44:22 +01:00
Lorenzo Pichilli 2811fce463 updated webview options classes, fixed debuggingEnabled, added getTRexRunnerHtml and getTRexRunnerCss methods 2019-11-04 01:39:23 +01:00
Lorenzo Pichilli 299042f828 added getHtml method, updated android config, remove block on long press webview android, fixed other issues 2019-11-02 19:58:01 +01:00
Lorenzo Pichilli 6518697e55 added onFindResultReceived event, added findAllAsync, findNext and clearMatches methods 2019-11-02 04:16:47 +01:00
Lorenzo Pichilli 1f67e98213 added onReceivedServerTrustAuthRequest and onReceivedClientCertRequest events to manage SSL requests, added clearSslPreferences and clearClientCertPreferences for Android, added nodejs_server_test_auth_basic_and_ssl for testing auth and ssl requests 2019-10-31 23:09:54 +01:00
Lorenzo Pichilli 68ff79c716 added HttpAuthCredentialDatabase class, clearCache method, onReceivedHttpAuthRequest event 2019-10-31 03:20:07 +01:00
Lorenzo Pichilli fed99ec0e9 added debuggingEnabled option, fixed InputConnection error on Android 2019-10-29 17:51:55 +01:00
Lorenzo Pichilli ab3b5c3935 updated android safe browsing, updated ios browser and SafariViewController options, added onSafeBrowsingHit event for android 2019-10-29 15:27:50 +01:00
Lorenzo Pichilli 153ab6023f Updated javascript popups events 2019-10-29 12:16:31 +01:00
Lorenzo Pichilli ab0a5cc5b5 Added , (available only for Android), Added , and events to manage javascript popup dialogs only for Android now, added support for javascript dialogs popups for iOS 2019-10-29 03:03:50 +01:00
Lorenzo Pichilli bc6bed1891 Added new WebView option minimumFontSize, Added new Android WebView options, Added new iOS WebView options, Added onGeolocationPermissionsShowPrompt event and GeolocationPermissionShowPromptResponse class (available only for Android), updated Android ContentBlocker, updated Android build.gradle compileSdkVersion 29 2019-10-28 04:58:25 +01:00
Lorenzo Pichilli 372b771211 updated webview options, updated content blockers 2019-10-27 04:35:05 +01:00
Lorenzo Pichilli 3ffa1c0a43 Updated onLoadResource event, Updated WebResourceResponse class, Deleted WebResourceRequest class, added useOnDownloadStart option, created webview options classes, added initial content blocking support 2019-10-26 22:11:23 +02:00
Lorenzo Pichilli 49983cfdaf added onDownloadStart event, onLoadResourceCustomScheme event and resourceCustomSchemes option, onTargetBlank event and useOnTargetBlank option, code refactoring 2019-10-26 04:42:50 +02:00
Lorenzo Pichilli f6353b8f72 fix #43, fix #73 2019-06-07 02:13:56 +02:00
pichillilorenzo da99de051a fix #98, fix #93, fix #80 2019-05-23 01:51:42 +02:00
Lorenzo Pichilli 76ffe41d1e
Merge pull request #88 from matthewlloyd/transparent
Adds a transparentBackground option for iOS and Android
2019-05-22 16:20:41 +02:00
Matthew Lloyd 89d2e0b56b Adds a transparentBackground option for iOS and Android
This is useful to prevent a brief white flash on initialization
for apps that use a dark theme.
2019-04-27 04:00:24 -04:00
Matthew Lloyd 98316371d8 The 'open' method requires an options dictionary
Otherwise, SwiftFlutterPlugin.swift throws an exception on line 285
when the InAppBrowser.openWithSystemBrowser(url) method is called:

  let options = (arguments["options"] as? [String: Any])!
2019-04-27 03:57:19 -04:00
Matthew Lloyd 11da457d51 Add null checks around calls to InAppWebView callbacks and InAppBrowser methods
This prevents a crash I've been seeing as of v1.1.2 (for the onScrollChanged callback)
and should also prevent any other similar possible crashes.

Also, suppress an unused_field analyzer warning for InAppWebViewController._id.
2019-04-26 15:12:57 -04:00
pichillilorenzo 36fc04c285 fix #74, merge #81 #83, fix javascript `...args` parameter of `window.flutter_inappbrowser.callHandler()` 2019-04-26 16:55:05 +02:00
pichillilorenzo 219f079a9e Fixed README.md and method documentation 2019-03-15 03:25:46 +01:00
pichillilorenzo 660292f504 updated documentation for addJavaScriptHandler method, updated README.md, updated inline webview example 2019-03-15 02:55:50 +01:00
pichillilorenzo 0c49b45b01 moved json serialization for JavaScriptBridgeInterface to dart side, fix #64, fix #46 2019-03-14 21:59:13 +01:00
pichillilorenzo a480ebf6a1 added return value for JavaScriptHandlerCallback, added flutterInAppBrowserPlatformReady event for javascript, breaking change: javaScriptHandlersMap contains only one callback 2019-03-14 05:43:07 +01:00
Sense545 595625c853 Fixed bug where passing null to expiresDate failed 2019-01-25 17:55:18 +01:00
Joao Paulo Marquesini a9bcbe1f86 fixing a problem in safari webview and adding tabs to examples 2018-12-07 17:52:24 -02:00
pichillilorenzo a5a784dd05 init iOS inline webview implementation 2018-11-13 12:02:20 +01:00
pichillilorenzo f02791f478 v0.5.51 2018-11-07 01:40:16 +01:00
pichillilorenzo b043b435d2 v0.5.5 2018-11-07 01:11:27 +01:00
pichillilorenzo 53e9ecbfa2 v0.5.4, updated docs and README.md 2018-10-30 23:59:17 +01:00
pichillilorenzo 305c726274 added WebHistory and WebHistoryItem class, added getCopyBackForwardList, goBackOrForward, canGoBackOrForward and goTo methods for InAppWebView and InAppBrowser, updated docs 2018-10-30 01:39:07 +01:00
pichillilorenzo ab7b1b68ad added and class, added method for and 2018-10-29 22:02:59 +01:00
pichillilorenzo 098adfc1dd updated README.md, v0.5.3 2018-10-28 01:16:03 +02:00
pichillilorenzo e2b091b22c updated docs 2018-10-27 21:11:10 +02:00
pichillilorenzo ac962a59d7 completed CookieManager class #8 #3 2018-10-27 21:07:00 +02:00
pichillilorenzo 40dccfde53 added getCookies() and getCookie() for Android 2018-10-25 00:25:11 +02:00
pichillilorenzo 35233f09e5 working on CookieManager class (Manage cookies #8) 2018-10-24 01:02:33 +02:00
pichillilorenzo ec348cd8a0 v0.5.2 2018-10-23 01:45:42 +02:00
pichillilorenzo 2c7e3c8cda updated README.md 2018-10-22 02:11:26 +02:00
pichillilorenzo 3668cb4e96 updated README.md 2018-10-22 00:44:59 +02:00
pichillilorenzo 7756aa8622 v0.5.0 2018-10-22 00:41:39 +02:00
pichillilorenzo 99ff84c617 v0.4.1 2018-10-18 01:38:36 +02:00
pichillilorenzo 860a42e2ba v0.4.0 2018-10-16 01:27:58 +02:00
pichillilorenzo c7356f33c8 fixed WebView.storyboard path for iOS, added v0.3.2 2018-10-14 13:58:42 +02:00
pichillilorenzo 88d88bd11d fixed onLoadResource, added InAppBrowser.addJavaScriptHandler() and InAppBrowser.removeJavaScriptHandler() methods, v0.3.0 2018-10-13 21:12:32 +02:00
pichillilorenzo b4e3e73bce updated onLoadResource method, InAppBrowser.open url parameter has the default value: 'about:blank' 2018-10-13 03:16:08 +02:00
pichillilorenzo d696ed1e68 fixed WebView.storyboard to iOS deployment target 8.0, added onLoadResource method 2018-10-12 03:46:33 +02:00
pichillilorenzo f032b7f635 v0.2.1, fixed InAppBrowser.injectScriptCode() method when there is not a return value, added InAppBrowser.onConsoleMessage() method to manage console messages #5 2018-10-10 01:52:27 +02:00
pichillilorenzo db65f7a042 updated README.md and documentation 2018-10-05 13:18:28 +02:00
pichillilorenzo bc47fd2471 added the ability to create multiple instances of browsers 2018-09-30 21:52:56 +02:00
pichillilorenzo 5db9575a6f added initial support of SFSafariViewController for iOS, updated ChromeCustomTabs for android, added initial version of _ChannelManager dart class 2018-09-26 02:56:56 +02:00
pichillilorenzo 4d3a17890e fixed webview closing on android 2018-09-24 01:53:22 +02:00
pichillilorenzo aa583ad68a added shouldOverrideUrlLoading method 2018-09-23 21:38:31 +02:00
pichillilorenzo 5978aba78f fix hidden attribute, added isHidden() method 2018-09-23 18:35:32 +02:00
pichillilorenzo 57e1a86bdc fixed loading error handling for android and iOS 2018-09-22 14:54:21 +02:00
pichillilorenzo 4ebdba09d1 removed download method, injectScriptCode now returns result of the code injected #2, code cleanup 2018-09-22 13:51:07 +02:00
pichillilorenzo 9c30ed7781 updated android code, code cleanup, added new API 2018-09-20 02:48:24 +02:00
pichillilorenzo e0982e369c updating Android 2018-09-19 04:10:00 +02:00
pichillilorenzo 802663abce updated Swift code, using storyboard for iOS, code cleanup, updated iOS options 2018-09-18 03:07:12 +02:00
pichillilorenzo 155ffa8198 first commit 2018-09-14 02:21:51 +02:00