Commit Graph

1283 Commits

Author SHA1 Message Date
Ben Bieker a7100ae0cc
Fix config options for Android release builds
Using reflection was not a good idea because when the Android App is
compiled for release mode, some code optimizations are executed. The
fields of the configuration classes were then renamed and the mapping
via reflections did not work again. Now everything has an explicit
mapping form the untyped HashMap to the class fields and vice versa.
2020-03-09 13:48:48 +01:00
AlexVincent525 86b05967e7 Update parsed uri into string to avoid wrong type match. 2020-01-29 21:19:17 +08:00
AlexVincent525 bf322c836b Fix crash when `prompt` was called on Android Q. 2020-01-17 14:29:53 +08:00
AlexVincent525 b2ad0a2944 Parse url before create platform view. 2020-01-17 13:49:03 +08:00
AlexVincent525 1f3318bed8 Fix crash on nil/invalid url. 2020-01-17 13:35:16 +08:00
phamnhuvu-dev eb2a465e17 fix scrollbar on iOS always show if not disable scroll 2020-01-14 14:57:41 +07:00
Lorenzo Pichilli 7d9f9f56a4 fix #213 2019-12-18 21:42:34 +01: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 9c7ac0da8f updated .gitignore 2019-12-17 00:11:02 +01:00
Lorenzo Pichilli 7d5cc7f050 deleted workspace.xml 2019-12-17 00:10:34 +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 63f77cf18f Updated for Flutter 1.12 new Java Embedding API (Android), updated DropDown Workaround 2019-12-14 12:15:19 +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 9b85ae9c01 updated dropDownWorkaround 2019-12-12 14:55:48 +01:00
Lorenzo Pichilli ee4d016253 updated dropDownWorkaround 2019-12-11 21:25:49 +01:00
Lorenzo Pichilli a7e0f33b08 updated dropDownWorkaround 2019-12-11 21:21:21 +01:00
Lorenzo Pichilli 2ae07055c3 fix name dropDownWorkaroundEnabled 2019-12-11 01:50:42 +01:00
Lorenzo Pichilli e4625d5c9a fix name dropDownWorkaroundEnabled 2019-12-11 01:47:10 +01:00
Lorenzo Pichilli 26546e57fa updated CHANGELOG.md 2019-12-11 01:45:45 +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 9d5e1f5b89 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:31:32 +01:00
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
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 3fd1f9552b updated README.md and issue templates, added WebStorage.getInstance().deleteAllData() to clearAllCache on Android 2019-12-03 23:32:45 +01:00
Lorenzo Pichilli d66e5ca773 updated README.md 2019-12-03 00:35:56 +01:00
Lorenzo Pichilli 16ec6ac49f updated docs 2019-12-03 00:26:03 +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 a56b21282f renamed plugin to flutter_inappwebview 2019-11-29 16:59:48 +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 992bf4647c updated README.md 2019-11-25 23:12:49 +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 cab5338f3d Merge branch 'crazecoder-master' 2019-11-25 12:24:50 +01:00
Lorenzo Pichilli e05f366637 Merge branch 'master' of https://github.com/crazecoder/flutter_inappbrowser into crazecoder-master 2019-11-25 12:23:55 +01:00
Lorenzo Pichilli 7a57f80f29
Update InAppWebChromeClient.java 2019-11-25 12:19:47 +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