Skip to content

Commit 44f6ddd

Browse files
committed
Register js handler
1 parent 17a099a commit 44f6ddd

File tree

122 files changed

+56347
-56243
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

122 files changed

+56347
-56243
lines changed
Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
1-
# Miscellaneous
2-
*.class
3-
*.log
4-
*.pyc
5-
*.swp
6-
.DS_Store
7-
.atom/
8-
.buildlog/
9-
.history
10-
.svn/
11-
12-
# IntelliJ related
13-
*.iml
14-
*.ipr
15-
*.iws
16-
.idea/
17-
18-
# The .vscode folder contains launch configuration and tasks you configure in
19-
# VS Code which you may wish to be included in version control, so this line
20-
# is commented out by default.
21-
#.vscode/
22-
23-
# Flutter/Dart/Pub related
24-
# Libraries should not include pubspec.lock, per https://dart.dev/guides/libraries/private-files#pubspeclock.
25-
/pubspec.lock
26-
**/doc/api/
27-
.dart_tool/
28-
.packages
29-
build/
30-
31-
.fvm
32-
1+
# Miscellaneous
2+
*.class
3+
*.log
4+
*.pyc
5+
*.swp
6+
.DS_Store
7+
.atom/
8+
.buildlog/
9+
.history
10+
.svn/
11+
12+
# IntelliJ related
13+
*.iml
14+
*.ipr
15+
*.iws
16+
.idea/
17+
18+
# The .vscode folder contains launch configuration and tasks you configure in
19+
# VS Code which you may wish to be included in version control, so this line
20+
# is commented out by default.
21+
#.vscode/
22+
23+
# Flutter/Dart/Pub related
24+
# Libraries should not include pubspec.lock, per https://dart.dev/guides/libraries/private-files#pubspeclock.
25+
/pubspec.lock
26+
**/doc/api/
27+
.dart_tool/
28+
.packages
29+
build/
30+
31+
.fvm
32+
3333
.vscode
Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# This file tracks properties of this Flutter project.
2-
# Used by Flutter tool to assess capabilities and perform upgrades etc.
3-
#
4-
# This file should be version controlled and should not be manually edited.
5-
6-
version:
7-
revision: 2f4e3ce5b0154ad918a5ec320090ee2aa83606f1
8-
channel: master
9-
10-
project_type: plugin
1+
# This file tracks properties of this Flutter project.
2+
# Used by Flutter tool to assess capabilities and perform upgrades etc.
3+
#
4+
# This file should be version controlled and should not be manually edited.
5+
6+
version:
7+
revision: 2f4e3ce5b0154ad918a5ec320090ee2aa83606f1
8+
channel: master
9+
10+
project_type: plugin
Lines changed: 99 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -1,87 +1,99 @@
1-
## 0.2.4
2-
3-
* Add backward compatibility with webkit2gtk-4.0 on Linux
4-
5-
## 0.2.3
6-
7-
* fix macOS webview window size not working.
8-
9-
## 0.2.2
10-
11-
* fix memory leak on macOS after close webview window.
12-
* Show and Hide Webview window by [@Iri-Hor](https://github.com/Iri-Hor) in [#268](https://github.com/MixinNetwork/flutter-plugins/pull/268)
13-
14-
## 0.2.1
15-
16-
* add Windows attentions to readme.
17-
* fix linux close sub window cause app exited.
18-
* fix linux webview title bar expanded unexpected.
19-
* More control over webview position and size under windows. [#206](https://github.com/MixinNetwork/flutter-plugins/pull/206) by [Lukas Heinze](https://github.com/Iri-Hor)
20-
* fix zone mismatch [#250](https://github.com/MixinNetwork/flutter-plugins/pull/250) by [CD](https://github.com/459217974)
21-
* fix linux webkit2gtk deprecated error [#246](https://github.com/MixinNetwork/flutter-plugins/pull/246) by [Zhiqiang Zhang](https://github.com/zhangzqs)
22-
23-
## 0.2.0
24-
25-
* BREAK CHANGE: bump linux webkit2gtk version to 4.1
26-
27-
## 0.1.6
28-
29-
* fix WebView render area wrong offset on Windows.
30-
31-
## 0.1.5
32-
33-
* add `close` method for WebView.
34-
* add `onUrlRequest` event for WebView.
35-
36-
## 0.1.4
37-
38-
* support custom userDataFolder on Windows.
39-
* fix open web view failed cause crash on Windows.
40-
41-
## 0.1.3
42-
43-
Remove windows addition import requirements.
44-
45-
## 0.1.2
46-
47-
fix TitleBar reload do not work.
48-
49-
## 0.1.1
50-
51-
fix window title not show on macOS
52-
53-
## 0.1.0
54-
55-
support custom titlebar.
56-
57-
NOTE: contains break change. more details see readme.
58-
59-
## 0.0.7
60-
61-
1. support `isWebviewAvailable` check.
62-
2. fix `clearAll` crash on Linux if no webview created.
63-
64-
## 0.0.6
65-
66-
fix swift definition conflict on macOS. [flutter-plugins#17](https://github.com/MixinNetwork/flutter-plugins/issues/17)
67-
68-
## 0.0.5
69-
70-
add `setApplicationNameForUserAgent` for append application name to webview user agent.
71-
72-
## 0.0.4
73-
74-
1. implement `addScriptToExecuteOnDocumentCreated` on macOS.
75-
2. add hot key `command + w` to close window.
76-
77-
## 0.0.3
78-
79-
fix linux build
80-
81-
## 0.0.2
82-
83-
* rename project to desktop_webview_window
84-
85-
## 0.0.1
86-
87-
* add Windows, Linux, macOS support.
1+
## 0.2.4
2+
3+
* Add support for `registerJavaScriptMessageHandler` and `unregisterJavaScriptMessageHandler` on
4+
linux. Use `window.webkit.messageHandlers.<handlerName>.postMessage(<message>)`
5+
6+
## 0.2.4
7+
8+
* Add backward compatibility with webkit2gtk-4.0 on Linux
9+
10+
## 0.2.3
11+
12+
* fix macOS webview window size not working.
13+
14+
## 0.2.2
15+
16+
* fix memory leak on macOS after close webview window.
17+
* Show and Hide Webview window by [@Iri-Hor](https://github.com/Iri-Hor)
18+
in [#268](https://github.com/MixinNetwork/flutter-plugins/pull/268)
19+
20+
## 0.2.1
21+
22+
* add Windows attentions to readme.
23+
* fix linux close sub window cause app exited.
24+
* fix linux webview title bar expanded unexpected.
25+
* More control over webview position and size under
26+
windows. [#206](https://github.com/MixinNetwork/flutter-plugins/pull/206)
27+
by [Lukas Heinze](https://github.com/Iri-Hor)
28+
* fix zone mismatch [#250](https://github.com/MixinNetwork/flutter-plugins/pull/250)
29+
by [CD](https://github.com/459217974)
30+
* fix linux webkit2gtk deprecated
31+
error [#246](https://github.com/MixinNetwork/flutter-plugins/pull/246)
32+
by [Zhiqiang Zhang](https://github.com/zhangzqs)
33+
34+
## 0.2.0
35+
36+
* BREAK CHANGE: bump linux webkit2gtk version to 4.1
37+
38+
## 0.1.6
39+
40+
* fix WebView render area wrong offset on Windows.
41+
42+
## 0.1.5
43+
44+
* add `close` method for WebView.
45+
* add `onUrlRequest` event for WebView.
46+
47+
## 0.1.4
48+
49+
* support custom userDataFolder on Windows.
50+
* fix open web view failed cause crash on Windows.
51+
52+
## 0.1.3
53+
54+
Remove windows addition import requirements.
55+
56+
## 0.1.2
57+
58+
fix TitleBar reload do not work.
59+
60+
## 0.1.1
61+
62+
fix window title not show on macOS
63+
64+
## 0.1.0
65+
66+
support custom titlebar.
67+
68+
NOTE: contains break change. more details see readme.
69+
70+
## 0.0.7
71+
72+
1. support `isWebviewAvailable` check.
73+
2. fix `clearAll` crash on Linux if no webview created.
74+
75+
## 0.0.6
76+
77+
fix swift definition conflict on
78+
macOS. [flutter-plugins#17](https://github.com/MixinNetwork/flutter-plugins/issues/17)
79+
80+
## 0.0.5
81+
82+
add `setApplicationNameForUserAgent` for append application name to webview user agent.
83+
84+
## 0.0.4
85+
86+
1. implement `addScriptToExecuteOnDocumentCreated` on macOS.
87+
2. add hot key `command + w` to close window.
88+
89+
## 0.0.3
90+
91+
fix linux build
92+
93+
## 0.0.2
94+
95+
* rename project to desktop_webview_window
96+
97+
## 0.0.1
98+
99+
* add Windows, Linux, macOS support.

0 commit comments

Comments
 (0)