Commit Graph

191 Commits

Author SHA1 Message Date
Lorenzo Pichilli 5858f2f666 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:52 +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
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 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 3dd7d17574 fixed Android InAppBrowserActivity crash 2019-11-25 12:51:10 +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 2a1e0b8204 updated driver tests, updated onTargetBlank event for Android 2019-11-20 02:30:16 +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 e2bd307664 updated flutter driver tests, fixed javascript code for fetch request interception 2019-11-16 19:54:03 +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 8894ae1b1e fixed shouldInterceptRequest String url Android, added initial tests using custom classes and functions 2019-11-12 02:13:20 +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 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 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 5fc1d405d3 updated plugin version, added new options to hide/show scrollbars #165, initial support for DownloadManager in Android and iOS 2019-10-25 03:21:03 +02:00
Lorenzo Pichilli 10b42f20c3 fix migration to Swift 5, updated README.md, fix #149 2019-10-24 18:27:28 +02:00
wyy c316c4791f migrating to swift 5.0 2019-09-23 10:29:13 +08:00
Lorenzo Pichilli f6353b8f72 fix #43, fix #73 2019-06-07 02:13:56 +02:00
robsonfingo eaf6e4abd5
Remove headers_build_phase from example's Podfile
Fixes #106
2019-05-30 16:26:12 -07: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 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
pichillilorenzo f3f0876f28 fix #56, some code cleanup 2019-03-12 02:14:30 +01:00
pichillilorenzo 8db2a6b22a added support for AndroidX, version 1.0.0 2019-03-11 15:52:09 +01:00
pichillilorenzo 1dfa6323c6 added support for iOS inline native WebView integrated in the flutter widget tree (#18, #45), fix #54 #38 #26 #32 #33 #29 #15 2019-03-11 03:34:58 +01:00
pichillilorenzo c34cdf55d5 added test.dart 2018-12-20 09:25:31 +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 8b5a634715 working on iOS inline webview implementation 2018-11-27 17:34:44 +01:00
pichillilorenzo a5a784dd05 init iOS inline webview implementation 2018-11-13 12:02:20 +01:00
pichillilorenzo b043b435d2 v0.5.5 2018-11-07 01:11:27 +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 456be7d7f7 updated example 2018-10-28 01:16:29 +02:00
pichillilorenzo 098adfc1dd updated README.md, v0.5.3 2018-10-28 01:16:03 +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 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 ea6134d1f6 v0.4.1 2018-10-18 01:22:47 +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 5366078e5b updated example/lib/main.dart 2018-10-13 21:14:31 +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 b3cdd8bfc8 updated ios Podfile (#4 possible fix) 2018-10-04 15:13:42 +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 c4afea9191 added initial support for Chrome Custom Tabs in android 2018-09-25 03:26:31 +02:00
pichillilorenzo 195fd9b759 v0.1.0 2018-09-24 02:02:12 +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 d89cd5df2d updated android and ios options, added downloader on android, fixed back-button webview android 2018-09-21 03:41:04 +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 7482e809ae updated README.md 2018-09-14 02:41:43 +02:00
pichillilorenzo 155ffa8198 first commit 2018-09-14 02:21:51 +02:00