Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a new method to get cookies #608

Open
wants to merge 297 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
297 commits
Select commit Hold shift + click to select a range
172c27c
Update README.md
lejard-h Apr 27, 2018
d07455b
*started with taking safe areas into account
mclark4386 May 11, 2018
ef00a5d
Never set minSdk and targetSdk in manifest.
long1eu May 13, 2018
27ea093
Merge pull request #1 from dart-flitter/master
long1eu May 13, 2018
9be60d3
Update AndroidManifest.xml
long1eu May 13, 2018
e951bc8
Merge pull request #76 from long1eu/master
lejard-h May 18, 2018
2895745
Fixed bad code format
howardt12345 May 20, 2018
a664715
Commented functions with explanations
howardt12345 May 20, 2018
59d130d
Added comments
howardt12345 May 20, 2018
a90f837
Added comments
howardt12345 May 20, 2018
4e46f67
add comment
ypelud May 23, 2018
d65ea52
Merge remote-tracking branch 'upstream/master'
ypelud May 23, 2018
f1c137d
Merge remote-tracking branch 'upstream/master'
ypelud May 23, 2018
a76adf4
Merge pull request #79 from mclark4386/fixes_for_bottom
lejard-h May 24, 2018
8d9793d
Merge pull request #84 from ypelud/master
lejard-h May 24, 2018
4d64a85
Merge pull request #59 from howardt12345/master
lejard-h May 24, 2018
ac6cbbf
bump version
lejard-h May 24, 2018
2460ff0
fix onStateChanged
lejard-h May 24, 2018
e6b1a59
fix pub requirement
lejard-h May 24, 2018
306ed84
Add hide/show on webview for Android & iOS
ghigh May 26, 2018
0d39a44
Fix typo; test on iOS
ghigh May 26, 2018
0def4df
Add reloadUrl function
ghigh May 27, 2018
bafcaaa
Code formatting
ghigh May 27, 2018
517342a
FMT: Java/Swift; also updates gradle plugin to 3.1.2 to address issue…
ghigh Jun 2, 2018
4971c8f
handle type error in getCookies
jngbng Jun 3, 2018
64c464c
Add scrollbar
lakexyde Jun 20, 2018
c115337
add scrollbar
lakexyde Jun 20, 2018
dc5b753
add scrollbar
lakexyde Jun 20, 2018
9834f5d
add scrollbar
lakexyde Jun 20, 2018
2355e39
add scrollbar
lakexyde Jun 20, 2018
47daf0e
Added scrollbar support
lakexyde Jun 20, 2018
4347dc0
added filechooser open in WebviewManager
Jun 22, 2018
4268941
added activityresult listener
Jun 22, 2018
e9b6466
added filechooser method for android 5+
Jun 22, 2018
c5a35fd
Merge pull request #86 from gerryhigh/master
lejard-h Jun 26, 2018
de00f98
Change return type of getCookies() to Map<String, String>
jngbng Jun 26, 2018
fd324d2
adding and removing resultlistener via method call from flutter appli…
Jun 27, 2018
046fe2e
added un/register methods in base.dart
Jun 27, 2018
d86eec1
check for null in activity result handling
Jun 27, 2018
fce8baa
reverted add/remove attempt, check for null in activity result handling
Jun 27, 2018
0d1240c
Merge remote-tracking branch 'origin/master'
Jun 27, 2018
3446647
Merge remote-tracking branch 'upstream/master'
Jun 29, 2018
2a423ed
Add support of HTTP errors.
romkor Jul 2, 2018
10d3377
Merge branch 'master' into add_http_error_stream
romkor Jul 2, 2018
2ffd9d7
Merge pull request #1 from romkor/add_http_error_stream
romkor Jul 3, 2018
25151c3
Update AndroidManifest.xml
romkor Jul 5, 2018
f45273e
added stop loading method and handling on android
Jul 9, 2018
88285fb
added stopLoading call handling on iOS
Jul 9, 2018
3f61e92
Add headers when loading url
readytopark Jul 13, 2018
7454c63
Updated doc
readytopark Jul 13, 2018
7b41eb9
added webview scroll listener
theblackcat102 Jul 14, 2018
68aa49a
fix android direction mistake
theblackcat102 Jul 14, 2018
bf0aec0
Add default minSdkVersion
sroddy Jul 20, 2018
cb79451
prevent negative webview height in scaffold
Jul 22, 2018
e65a45d
Merge pull request #93 from jngbng/master
lejard-h Jul 26, 2018
c361dd0
Merge pull request #105 from peter9teufel/master
lejard-h Jul 26, 2018
995afb3
Merge pull request #135 from va-andrew/master
lejard-h Jul 26, 2018
36987e0
Merge pull request #130 from sroddy/patch-1
lejard-h Jul 26, 2018
016448f
Merge pull request #117 from lakexyde/master
lejard-h Jul 26, 2018
a125f22
Merge pull request #2 from dart-flitter/master
romkor Jul 26, 2018
bf8a20c
Merge branch 'master' into add_http_error_stream
romkor Jul 26, 2018
c2adea1
Rename onError to more explicit onHttpError
romkor Jul 26, 2018
f11c8b0
Merge branch 'master' into master
readytopark Jul 31, 2018
a4c940a
fix: compile & typo
rickytan Aug 1, 2018
d66f16a
Merge pull request #142 from rickytan/master
lejard-h Aug 1, 2018
1847982
Merge pull request #115 from romkor/add_http_error_stream
lejard-h Aug 1, 2018
4b25f8f
Merge pull request #123 from readytopark/master
lejard-h Aug 1, 2018
4958b02
add linter and bump version to 0.2.0
lejard-h Aug 1, 2018
3244f39
Merge remote-tracking branch 'upstream/master' into stop_loading
Aug 1, 2018
d330b41
added position listener in both x and y axis
theblackcat102 Aug 4, 2018
2afe039
fix bug1
theblackcat102 Aug 4, 2018
323a248
Merge branch 'master' of github.com:dart-flitter/flutter_webview_plugin
theblackcat102 Aug 4, 2018
f884912
update readme with latest value
theblackcat102 Aug 4, 2018
00e6dc9
Merge pull request #125 from theblackcat102/master
lejard-h Aug 5, 2018
ee2b353
Merge pull request #143 from peter9teufel/stop_loading
lejard-h Aug 5, 2018
9b0d5bd
0.2.1
lejard-h Aug 5, 2018
c57479f
fix example
lejard-h Aug 5, 2018
404ca21
fix #150
Aug 7, 2018
f4929d6
Merge pull request #151 from KoheiKanagu/master
lejard-h Aug 7, 2018
7038b22
fix #152
lejard-h Aug 8, 2018
b34d6bd
Add hidden and initialChild parameters to WebviewScaffold to allow th…
js1972 Aug 15, 2018
f3a83f3
Update readme with details on additional params on WebviewScaffold
js1972 Aug 15, 2018
6b922b6
Fix spelling in readme
js1972 Aug 15, 2018
3e1d028
Only setup the state change handler if we want the webview to be init…
js1972 Aug 15, 2018
2c536af
Fix rect capture on WebviewScaffold
slightfoot Aug 27, 2018
f0e8e71
Update pubspec.yaml
jeroen-meijer Sep 11, 2018
3177ec6
Update readme to add the withLocalUrl argument
lo-tp Oct 4, 2018
ffe6b33
add back, forward, reload method on iOS
rydein Oct 29, 2018
9f7a694
Updating gradle and Android SDK version
jordansilva Nov 2, 2018
1da7d05
Merge branch 'development'
jordansilva Nov 2, 2018
76bc671
Do not call onReceiveValue on null reference
Nov 5, 2018
aca88cb
Fixed crash issue on Flutter >= 0.10.2
dinhha Nov 14, 2018
d70cb45
Merge pull request #178 from slightfoot/master
slightfoot Nov 14, 2018
a0ddb95
Merge pull request #236 from dinhha/master
charafau Nov 14, 2018
29db1a9
Update build.gradle
slightfoot Nov 14, 2018
d1f6899
Update build.gradle
slightfoot Nov 14, 2018
cbb2397
Update build.gradle
slightfoot Nov 14, 2018
262b079
Merge pull request #223 from jordansilva/master
charafau Nov 14, 2018
2b646bf
Merge pull request #202 from lo-tp/master
slightfoot Nov 14, 2018
08ca8f0
Merge pull request #217 from rydein/master
slightfoot Nov 14, 2018
5b3c3e1
Merge branch 'master' into progress
charafau Nov 14, 2018
dcff178
Merge pull request #160 from js1972/progress
charafau Nov 14, 2018
efc5d95
Update WebviewManager.java
slightfoot Nov 14, 2018
227ca69
Merge pull request #227 from palbert75/master
slightfoot Nov 14, 2018
a9ed99a
[Android] separate openUrl and reloadUrl to keep WebView settings (#187)
hnvn Nov 15, 2018
bf64045
Allow using "file:///" urls in Android. (#122)
devxpy Nov 15, 2018
83f8db0
Update cleanCookies.
slightfoot Nov 15, 2018
83b6c2c
Formatting and cleaning of code.
slightfoot Nov 15, 2018
bd4d485
Minor cleanup to result handling.
slightfoot Nov 15, 2018
a8ffb95
Fixes #77 (Fix crash on didFailNavigation)
charafau Nov 15, 2018
348038e
Minor changes.
slightfoot Nov 15, 2018
d33f2a8
Release v0.3.0
slightfoot Nov 15, 2018
260601b
Release v0.3.0+2
slightfoot Nov 15, 2018
ea58938
fix exception when intent is null
rydein Nov 18, 2018
f613d94
Merge pull request #243 from rydein/feature/fix-null
charafau Nov 19, 2018
c0bdebf
adding minSdkVersion (#241)
jeffmikels Nov 19, 2018
6ec21b7
Pass hidden state when opening WebViewScaffold
Nov 22, 2018
5d5316f
Merge pull request #251 from acedened/patch-1
charafau Nov 26, 2018
2746094
support for webview’s estimated loading progress
Nov 27, 2018
cf84502
fix: reloadUrl will not return Future
rydein Nov 27, 2018
239ab6c
Fix height of keyboard
Dec 14, 2018
292f608
Fix Hide/Show WebView
Dec 14, 2018
81f378c
fix: Can't load target="_blank" links on iOS
rydein Dec 17, 2018
065524a
Merge pull request #1 from fluttercommunity/master
hnvn Jan 8, 2019
2063c31
enable Javascript on iOS, support abort loading specific URL(s) by us…
Jan 8, 2019
372aaca
update comment
hnvn Jan 8, 2019
d15cf70
fix bug crashing on iOS when regex is null
Jan 10, 2019
caa8f92
add support wide view port in Android
Jan 10, 2019
8b73f04
add resizeToAvoidBottomPadding to WebviewScaffold;
gadfly361 Jan 22, 2019
cf99d11
hotfix widget back to initialChild after tap action and add minSdkVer…
Feb 6, 2019
13c9ac3
Enable geolocation on Android
lucianoiam Feb 24, 2019
ec7248e
Enable geolocation on Android
lucianoiam Feb 24, 2019
8dcaf29
Add missing import in WebviewManager
lucianoiam Feb 24, 2019
59d155a
Merge pull request #328 from iamluciano/master
charafau Mar 13, 2019
5ab2e36
Merge pull request #276 from rydein/open_target_blank
charafau Mar 13, 2019
e6a5cd5
Merge pull request #256 from rydein/fix/reload-url
charafau Mar 13, 2019
1170af8
Update webview_scaffold.dart
charafau Mar 13, 2019
6be3c0a
Merge pull request #272 from awkaw/patch-2
charafau Mar 13, 2019
284b42f
Merge pull request #273 from awkaw/patch-3
charafau Mar 13, 2019
a119a61
Update build.gradle
charafau Mar 13, 2019
46b3fa5
Merge pull request #317 from blackmenthor/master
charafau Mar 13, 2019
2b3d1ec
bumped version to 0.3.1
charafau Mar 17, 2019
271e68b
Merge pull request #353 from charafau/version_bump
charafau Mar 17, 2019
2565d18
Add ability to choose from camera or gallery when uploading files
islxyqwe Mar 22, 2019
0efd246
fix:Cannot get Camera Image on some devices
islxyqwe Mar 22, 2019
f1a41d1
fix: Wrong behavior when cancel
islxyqwe Mar 22, 2019
1c3a9e4
Merge branch 'master' into add_resizeToAvoidBottomPadding
gadfly361 Mar 22, 2019
7753313
merge codes
hnvn Mar 24, 2019
e80cfd2
fix bugs WebView doesn't show in iOS (Add2App)
hnvn Mar 24, 2019
c32f717
Update build.gradle
islxyqwe Mar 26, 2019
e6fc1f2
rename resizeToAvoidBottomPadding to resizeToAvoidBottomInset;
gadfly361 Mar 26, 2019
8f1ad40
Merge pull request #292 from hnvn/master
charafau Mar 28, 2019
1c5b266
Merge branch 'master' into add_resizeToAvoidBottomPadding
charafau Mar 28, 2019
35e04b9
Merge pull request #301 from gadfly361/add_resizeToAvoidBottomPadding
charafau Mar 28, 2019
6e3caad
bumped version to 0.3.2
charafau Mar 28, 2019
2cc5b03
Merge pull request #361 from charafau/version_bump_0_3_2
charafau Mar 28, 2019
466f2e1
added androidX support
charafau Mar 28, 2019
79803e1
Merge pull request #362 from charafau/androidx
charafau Mar 28, 2019
1b4a6db
changed version to 0.3.3, added changelog
charafau Mar 28, 2019
5d634d0
Merge pull request #363 from charafau/version_033
charafau Mar 28, 2019
fe0b54e
modified comparison to use nil rather than null
Apr 17, 2019
d53f952
Merge pull request #1 from fluttercommunity/master
islxyqwe Apr 18, 2019
eccf926
Merge pull request #393 from malloy045/master
charafau Apr 18, 2019
7afa903
bumped version to 0.3.4
charafau Apr 18, 2019
c78651f
Merge pull request #394 from charafau/version_bump_034
charafau Apr 18, 2019
04436ed
androidx migrate
islxyqwe Apr 19, 2019
19f891a
fix bug
islxyqwe Apr 19, 2019
c2d3baf
fix recieving multi files
islxyqwe Apr 19, 2019
2b11870
Merge pull request #359 from islxyqwe/master
charafau Apr 23, 2019
e115303
Fixed spelling in example project
charafau Apr 24, 2019
f3d169e
Merge pull request #255 from florisvdg/loading-progress
charafau Apr 24, 2019
8495514
Exposes displayZoomControls, withOverviewMode and useWideViewPort set…
justsoft Apr 26, 2019
05def7f
Fix back button handler to be compatible with the WillPopScope widget.
cvolzke4 May 6, 2019
38e315b
Fix back button handler to be compatible with the WillPopScope widget.
cvolzke4 May 6, 2019
29f5536
Fix back button handler to be compatible with the WillPopScope widget.
cvolzke4 May 7, 2019
c88e9f2
Merge pull request #408 from cvolzke4/will_pop_scope_support
charafau May 7, 2019
dc8cc64
bumped version to 0.3.5
charafau May 7, 2019
1d1daeb
Merge pull request #410 from charafau/version_bump_0_3_5
charafau May 7, 2019
333fc5c
Allow back button to be pressed on dialog displayed over web view.
cvolzke4 May 9, 2019
2fda5d6
Allow back button to be pressed on dialog displayed over web view.
cvolzke4 May 9, 2019
9c05312
Merge pull request #413 from cvolzke4/back_button_over_dialog
charafau May 20, 2019
fecb370
Update README.md with injection example
May 31, 2019
38f4c88
Allow geolocation and file chooser simultaneously
lucianoiam Jun 5, 2019
32c7f68
Update README.md
charafau Jun 11, 2019
4f31507
Merge pull request #431 from muffinjello/master
charafau Jun 11, 2019
90f1e5a
added github issue templates
charafau Jun 13, 2019
3c9bbe1
feat: allow web contents debugging in Chrome
Srynetix Jun 14, 2019
6aca2b2
Add Flutter Community header.
jeroen-meijer Jun 27, 2019
50ff686
Added minimum sdk requirement on AndroidManifest
lidongze91 Jul 8, 2019
c487c7f
added descriptions for minimum sdk requirement for methods
lidongze91 Jul 8, 2019
760d6bd
Merge pull request #453 from Srynetix/debug-integration
charafau Jul 15, 2019
07fe92a
fix bug android webview httperror #491
Jul 26, 2019
bf76bac
Fix iOS local URL support (fixes #114)
Jul 26, 2019
4ecc3b0
Allow video players in Android WebView to maximize from Widget mode
mschneider Aug 8, 2019
4d15be8
Merge pull request #471 from lidongze91/addMinSdk
charafau Aug 15, 2019
3ed2ada
Merge pull request #441 from iamluciano/master
charafau Aug 15, 2019
46c2f84
Merge pull request #492 from gukeming/master
charafau Aug 15, 2019
b2104ab
fixed ios example for xcode 10
charafau Aug 15, 2019
90f7cf4
Merge pull request #509 from charafau/example_ios_xcode10
charafau Aug 15, 2019
7e2cef1
Merge branch 'master' into master
charafau Aug 15, 2019
1d03c58
Merge pull request #401 from justsoft/master
charafau Aug 15, 2019
45db49e
Merge branch 'master' into mschneider/fullscreen_video
charafau Aug 15, 2019
2f9b2cd
Merge pull request #503 from mschneider/mschneider/fullscreen_video
charafau Aug 15, 2019
f7f110e
Revert "Allow video players in Android WebView to maximize from Widge…
charafau Aug 15, 2019
70ca06c
Merge pull request #510 from fluttercommunity/revert-503-mschneider/f…
charafau Aug 15, 2019
9fa75f4
bumped version to 0.3.6
charafau Aug 15, 2019
771b275
Merge pull request #511 from charafau/version_bump
charafau Aug 15, 2019
24abc82
updated readme
charafau Aug 15, 2019
7e8735b
Merge branch 'master' into master
rafern Aug 15, 2019
0dced49
Added local url instructions to readme
rafern Aug 15, 2019
85e7610
Made instructions more clear
rafern Aug 15, 2019
d351c79
Missing option in webview
rafern Aug 15, 2019
701c3c8
added support for reloading url with headers
charafau Aug 15, 2019
cd0437e
Added reloading url with headers
charafau Aug 15, 2019
9feff62
Merge pull request #513 from charafau/reload_webview_headers
charafau Aug 15, 2019
0ba8d7d
upgraded version and changelog
charafau Aug 15, 2019
9a6646c
add javascriptChannelMessage for android
Aug 16, 2019
4f7aa1f
Return JavascriptMessage object for onPostMessage
Aug 16, 2019
c726f15
add javascriptChannelMessage for ios
Aug 16, 2019
bb020a6
Added google() repository to allprojects
PoojaB26 Aug 16, 2019
ad0bd76
Merge pull request #520 from PoojaB26/master
charafau Aug 19, 2019
c3b3fcf
Merge pull request #493 from rafern/master
charafau Aug 19, 2019
298868c
Add JavascriptChannel abstraction in dart code
ivanasen Aug 19, 2019
7fb61ea
Merge pull request #1 from ivanasen/javascript-channel-dart
rinlv Aug 22, 2019
b662f08
fixed min sdk for android
charafau Sep 13, 2019
2e51b25
removed flutter export enviroment sh
charafau Sep 13, 2019
007f86f
Merge pull request #553 from charafau/min_sdk_fix
charafau Sep 13, 2019
a7986fb
added changelog and version bump
charafau Sep 13, 2019
3062d40
Merge pull request #554 from charafau/version_bump_038
charafau Sep 13, 2019
cc2039e
Revert "fixed ios example for xcode 10"
Sep 16, 2019
8aa9dea
fixed by comment https://github.com/fluttercommunity/flutter_webview_…
Sep 16, 2019
1f4c8fb
Merge branch 'master' into master
charafau Sep 23, 2019
f1f077f
Merge pull request #523 from rinlv/master
charafau Sep 23, 2019
6acf878
fixed ios project
charafau Sep 23, 2019
976454a
Merge pull request #566 from charafau/fix_master
charafau Sep 23, 2019
9c433c2
Unit tests for flutter and android (#558)
charafau Sep 23, 2019
e57aff9
fix: result cleanCookies in iOS (#585)
makepanic Nov 13, 2019
dbe7d11
fixed cleaning cookies for webview (#597)
charafau Nov 13, 2019
abbb4db
ci fix (#598)
charafau Nov 13, 2019
8fa0d60
make plugin work in headless mode when extending FlutterApplication (…
masewo Nov 14, 2019
38776a8
Fixed error methods on iOS (#551)
floorish Nov 14, 2019
af8273b
Added api to check if can navigate back and forward (#600)
charafau Nov 14, 2019
e9a1dae
bumped up version (#601)
charafau Nov 14, 2019
9eef77a
hotfix meta
charafau Nov 14, 2019
70f571d
Compile fix ios (#603)
charafau Nov 15, 2019
480d72c
Merge pull request #1 from fluttercommunity/master
Justwen Nov 23, 2019
5fac9ab
增加一个通过原生方法读取cookie的接口
Justwen Nov 23, 2019
6a70458
增加flutter_webview_plugin本地插件模块
Justwen Nov 24, 2019
a0699b8
修改android webview插件 不允许消费返回事件
Justwen Nov 24, 2019
21120d3
更新插件文件
Justwen Nov 25, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix onStateChanged
  • Loading branch information
lejard-h committed May 24, 2018
commit 2460ff0d8ef05c82a0332628f59d8db642409024
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# 0.1.6

- fix onStateChanged
- Taking safe areas into account for bottom bars
- iOS
+ withLocalUrl option for iOS > 9.0
9 changes: 6 additions & 3 deletions lib/src/base.dart
Original file line number Diff line number Diff line change
@@ -38,7 +38,10 @@ class FlutterWebviewPlugin {
_onUrlChanged.add(call.arguments["url"]);
break;
case "onState":
_onStateChanged.add(new WebViewStateChanged.fromMap(call.arguments));
_onStateChanged.add(
new WebViewStateChanged.fromMap(
new Map<String, dynamic>.from(call.arguments)),
);
break;
case "onError":
_onError.add(call.arguments);
@@ -120,11 +123,11 @@ class FlutterWebviewPlugin {
/// Reloads the WebView.
/// This is only available on Android for now.
Future reload() => _channel.invokeMethod("reload");

/// Navigates back on the Webview.
/// This is only available on Android for now.
Future goBack() => _channel.invokeMethod("back");

/// Navigates forward on the Webview.
/// This is only available on Android for now.
Future goForward() => _channel.invokeMethod("forward");