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
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
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
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
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
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
3dd7d17574
fixed Android InAppBrowserActivity crash
2019-11-25 12:51:10 +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
48b5aaf172
fixed injectDeferredObject java method on android
2019-11-18 22:26:00 +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
crazecoder
7c5b1a1cec
Merge remote-tracking branch 'origin/master'
2019-11-13 16:11:30 +08:00
crazecoder
b389760d46
add proguard
2019-11-13 16:11:02 +08:00
crazecoder
ffb36fa966
Fix bugs when selecting a file crash when a webview widget is reopened
2019-11-13 16:02:19 +08: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
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
f80bf8879d
Merge pull request #183 from crazecoder/master
...
handle choose file callback in android
2019-11-08 00:43:15 +01:00
Lorenzo Pichilli
e18e6910bb
Update InAppWebChromeClient.java
2019-11-08 00:42:05 +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
crazecoder
c0c3fdeea5
fix crash
2019-11-04 17:37:48 +08:00